SyntaxError: illegal character
I just installed Zotero with Windows 10. When starting Zotero, the error message appears. Any idea to solve this issue?
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Warning: unreachable code after return statement
Source File: resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/util.js
Line: 201, Column: 4
Source Code:
eval(obj);
Error: illegal character
Source File: chrome://zotero/content/xpcom/dataDirectory.js
Line: 406
Source Code:
Error: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getIntPref]
Source File: chrome://global/content/bindings/findbar.xml
Line: 376
Does your Windows username include extended characters?
Warning: unreachable code after return statement
Source File: resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/util.js
Line: 201, Column: 4
Source Code:
eval(obj);
Warning: unreachable code after return statement
Source File: resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/util.js
Line: 201, Column: 4
Source Code:
eval(obj);
Error: illegal character
Source File: chrome://zotero/content/xpcom/dataDirectory.js
Line: 406
Source Code:
Error: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getIntPref]
Source File: chrome://global/content/bindings/findbar.xml
Line: 376
[error removed — D.S.]
So the file this error says contains an illegal character is unchanged from what it should be, so something else is going on here. I'm not sure how this would cause problems, but can you try creating a new Zotero profile and seeing if that helps? You can follow the same steps as for Firefox, but use C:\Program Files (x86)\Zotero\zotero.exe instead of the firefox.exe line. See if you can at least start up to an empty Zotero library in a new profile.