[5.0 Beta] 'Show file' not working since latest update
The right click menu 'Show file' option was broken with the latest update. The issue appears to be that the path Zotero tries to open contains the name of the PDF itself, when it clearly shouldn't.
version => 5.0-beta.206+ad37741fd, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Zotero, appVersion => 5.0-beta.206+ad37741fd, extensions => ZotFile (5.0.0b2, extension), Shockwave Flash (25.0.0.171, plugin), Zotero LibreOffice Integration (5.0.2.SA.5.0-beta.206+ad37741fd, extension, disabled)
version => 5.0-beta.206+ad37741fd, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Zotero, appVersion => 5.0-beta.206+ad37741fd, extensions => ZotFile (5.0.0b2, extension), Shockwave Flash (25.0.0.171, plugin), Zotero LibreOffice Integration (5.0.2.SA.5.0-beta.206+ad37741fd, extension, disabled)
The problem is clear: the name of the PDF file is added to the path so Zotero tells the file manager to access '/home/user/ZoteroFolder/nameofPDF.pdf/' instead of just '/home/user/ZoteroFolder/'
[JavaScript Error: "item ID '8634' is not an integer (string)"]
[JavaScript Error: "item ID '8634' is not an integer (string)"]
[JavaScript Error: "item ID '8634' is not an integer (string)"]
version => 5.0-beta.207+0495f2920, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Zotero, appVersion => 5.0-beta.207+0495f2920, extensions => ZotFile (5.0.0b2, extension), Shockwave Flash (25.0.0.171, plugin), Zotero LibreOffice Integration (5.0.3.SA.5.0-beta.207+0495f2920, extension, disabled)
=========================================================
(3)(+0008125): Viewing item in pane 0
(3)(+0000000): Refreshing item box
[…]
(3)(+0000008): MIME type application/pdf cannot be handled internally
[…]
(3)(+0000024): Notifier.trigger('open', 'file', [8637]) called [observers: 2]
If I click on 'Open containing folder' (right click menu on the downloaded file) within the 'Library' window, the correct folder is shown (where the PDF exists)
Anything else I should test?
If there's anything I can do to help solve this issue, please let me know.
version => 5.0-beta.231+f7c1c56d7, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Zotero, appVersion => 5.0-beta.231+f7c1c56d7, extensions => ZotFile (5.0.0b2, extension), Shockwave Flash (26.0.0.131, plugin), Zotero LibreOffice Integration (5.0.3.SA.5.0-beta.231+f7c1c56d7, extension, disabled)
/home/gabriel/Zotero/storage/RFXEHLUS/Gaia_media_kit_v20160921.pdf/
In spite of this, the folder that contains this file is correctly opened, even when this (wrong?) path is used.
Now I'm thinking that this could be related to the Zotfile 5.0 Beta add-on? I have it set up to manage the location of files and store them in a custom location. I'll open an issue in the add-on's Github to see if this could be the reason.
1. Create a test article and add the PDF using Zotero's 'Add attachment/Add stored copy of file'. 'Show file' tries to open the link:
/home/gabriel/Zotero/storage/YHAXZIPL/Smith020180-0test.pdf/
Notice the '0's instead of spaces in the link.
2. Create a test article and add a link to the PDF using Zotero's 'Add attachment/Add link to file'. 'Show file' tries to open the link:
/home/gabriel/Descargas/Smith020180-0test.pdf/
Again, '0's instead of spaces.
3. Create a test article and add a PDF with Zotfile's 'Attach new file' feature (which monitors my 'Descargas' folder). The link I get is:
/home/gabriel/Dropbox/apps_sync/Zot/2018/Smith020180-0test.pdf/
Again, '0's instead of spaces in the link.
@dstillman I'm running Loki 0.4.1 64 bit, it's the latest version. There's nothing I could configure from 'Files' (the file explorer app), since there's no option to do so.
A filename with spaces works fine for me as well.
Stored vs. linked shouldn't make a difference. The same code is run on both.
How can I check (assuming it is something in my system) *what* is different in my system?