retopoflow icon indicating copy to clipboard operation
retopoflow copied to clipboard

Bug: Updating RF when folder contains a dash causes problems

Open vxlcoder opened this issue 2 years ago • 0 comments

Whenever RetopoFlow's add-on folder contains a dash (-) or a period (.), updating using the Updater System causes problems.

The dashes are usually due to the artist installing from an unofficial zip file. Possible source: GitHub's "Source code (zip)" link under releases and the "Download Zip" link under the main page "Code" dropdown will create a zip file where the main RF folder has a dash (ex: "RetopoFlow-master" or "RetopoFlow-3.2.6"). Note: the "RetopoFlow_v3.2.6.zip" link under GH Releases is what we uploaded, and it uses the correctly named folder "RetopoFlow".

Screen Shot 2022-05-07 at 9 25 21 AM Screen Shot 2022-05-07 at 9 26 03 AM

I'm not sure how to correct this. Python really does not like folders with dashes or periods in them. Maybe adding a simple warning to the RF start menu would prompt the artist to use official zips?

vxlcoder avatar May 07 '22 13:05 vxlcoder