Right click context menu doesn't appear on Windows for certain entries

Hi

When I right click on reference items in the main window the context menu does not appear at all for certain entries - those that have a valid pdf file attached. All the other entries right clicking brings up the menu - including those without a pdf attachment (no pdf icon) or those with a broken pdf file link (greyed out pdf icon) .

Double clicking on the entries that fail to bring up context menu does however successfully display the pdf in the viewer so the file link does not seem to be the problem.

I have removed some path details below but these I suspect are the broken link errors to missing files that doesn't appear to relate to this problem as it only affects references with a valid working pdf attachment.

bug # 2047494047 submitted

log
===

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value 'C:\/Users/[removed private path]'" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value [removed private path]'" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value 'C:\/Users/tcp86/[removed private path]" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value 'C:\/Users/[removed private path]'" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value 'C:\/Users/[removed private path]'" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value 'C:\/Users[removed private path]f'" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value 'C:\/Users[removed private path]'" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value 'C:\/Users/[removed private path]" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value 'C:\/Users/[removed private path'" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

[JavaScript Error: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" {file: "chrome://zotero/content/xpcom/file.js" line: 47}]

[JavaScript Error: "Error: Unexpected path value 'C:\/Users/[removed private path]'" {file: "chrome://zotero/content/xpcom/file.js" line: 56}]

version => 6.0.6, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 6.0.6, extensions => ZotFile (5.1.1, extension), Zotero LibreOffice Integration (6.0.0.SA.6.0.6, extension), Zotero Word for Windows Integration (6.0.0.SA.6.0.6, extension)

(3)(+0075127): itemTree.render(). Displaying Item Tree

(3)(+0000016): Viewing item in pane 0

(4)(+0000016): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [926, '']

(3)(+0000002): Refreshing item box

(4)(+0000055): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [926, '']

(4)(+0000005): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [926, '']

(4)(+0000002): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [926, '']

(4)(+0000003): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [926, '']

(1)(+0000004): NS_ERROR_FILE_UNRECOGNIZED_PATH Exception: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath] Zotero.File</this.pathToFile@chrome://zotero/content/xpcom/file.js:47:16 Zotero_LocateMenu</ViewOptions.externalViewer</_getBestNonNativeAttachment<@chrome://zotero/content/locateMenu.js:523:48

(4)(+0000073): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [926, '']
Sign In or Register to comment.