wshanks / Zutilo

Zotero plugin providing some additional editing features
Other
1.53k stars 72 forks source link

attachment paths not getting modified #147

Open annargrs opened 4 years ago

annargrs commented 4 years ago

Zutilo v3.4.0 Zotero 5.0.87 on Ubuntu 18.04

1) The plugin worked initially to modify several paths, but seems to have produced paths with duplicate folders in the end: /path/to/target/target instead of /path/to/target/

2) These paths, or any other paths, do not get modified anymore, i.e. using zutilo to modify any attachment path to anything does not result in any changes.

The app was restarted several times, no effect.

wshanks commented 4 years ago

That is strange. So does it happen for all items that you try it on? I will try to test it myself and see if something has changed with Zotero. If possible, please open Tools->Developer->"Error console" and see if any error messages appear when you try to modify attachment paths.

wshanks commented 4 years ago

I tried modifying a path /home/user/Downloads/file.pdf with old path /home and new path/foam, then /foam -> /foam/foo, and then /foam/foo -> /home and it all seemed to work for me. Are you changing the beginning of paths or all instances of a string? At the moment, I am not sure how to reproduce the problem, so any clues about the items or how you are modifying them would be helpful.

captainfffsama commented 3 years ago

I meet same problem...

I try use zutilo changing the beginning of paths like change /home/chiebotgpuhq/Documents to /home/chiebotgpuhq/MEGAsync...but nothing happened. Error console show that:

[JavaScript Warning: "Error in parsing value for 'width'.  Declaration dropped." {file: "chrome://zotero/content/standalone/standalone.xul" line: 0}]
[JavaScript Warning: "Error in parsing value for 'max-width'.  Declaration dropped." {file: "chrome://zotero/content/standalone/standalone.xul" line: 0}]