Operation breaks if an actor's measurements only include the first part, for example "32A".
For some reason, the parser I wrote fails to recognize if only parts of the measurement field are available.
This issue breaks operation if a new folder is added, and it makes it impossible to re-add the folder because I introduced a feature to not allow a user to add the same folder twice.
The only way to remedy this is to manually edit the database.
Therefore, KEEP BACKUPS for now.
To Reproduce
Steps to reproduce the behavior:
Go to 'Add Folders/Actors/Tags'
Add a new folder
Let YAPO work through the directory structure, allowing it to add new actors.
At some point, you may get this error:
03:07:35 [ERROR] local variable 'measurements' referenced before assignment while trying to add (folder) to folder list
Expected behavior
The measurements data should be parsed correctly, and only the first part added if that's the only part available. This worked earlier, but stopped working after I modified the scraper to work with XPATHs.
As this is a bug that will potentially make it impossible to re-add the same folder (without renaming it), this is a priority issue and will be fixed very soon.
Operation breaks if an actor's measurements only include the first part, for example "32A". For some reason, the parser I wrote fails to recognize if only parts of the measurement field are available.
This issue breaks operation if a new folder is added, and it makes it impossible to re-add the folder because I introduced a feature to not allow a user to add the same folder twice. The only way to remedy this is to manually edit the database.
Therefore, KEEP BACKUPS for now.
To Reproduce Steps to reproduce the behavior:
03:07:35 [ERROR] local variable 'measurements' referenced before assignment while trying to add (folder) to folder list
Expected behavior The measurements data should be parsed correctly, and only the first part added if that's the only part available. This worked earlier, but stopped working after I modified the scraper to work with XPATHs.
As this is a bug that will potentially make it impossible to re-add the same folder (without renaming it), this is a priority issue and will be fixed very soon.