psederberg
About
- Username
- psederberg
- Joined
- Roles
- Member
Comments
-
Never mind! I looked into it and gregsharp's solution is correct and works. Could it be an extra space in dir.append (filename);? was messing it up? I don't know js, but it works for me now without the space between append and (filename). P
-
So, it turns out that the moveTo nsIFile method might be broken on linux because, although it moves the file it fails to update its path information in the object. Then when you make the call to Zotero.Attachments.importFromFile the filename inform…
-
I, too, tried the change outlined above to address the import error on linux and now the file doesn't move and it is not imported (I'm not trying to link.) I also receive no errors, it just doesn't work. Does anyone have any other suggestions …