Problems syncing from one of my computers to the online library
Report ID: 2036589002
I'm having trouble with syncing on one of my computers to the online library - I've done some work at finding the problem, and my files from one computer will sync, but not from my laptop. This is only one of the problems I have been having. I've started using a different computer to import because on my main computer, zotero keeps crashing, won't sync, etc. I was also unable to use the debug function after doing a sync. Zotero froze when I did. But I was able to get the following after start up:
[JavaScript Error: "The connection to wss://stream.zotero.org/ has terminated unexpectedly. Some data may have been transferred."]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIConverterOutputStream.writeString]" {file: "chrome://zotero/content/xpcom/server.js" line: 603}]
[JavaScript Error: "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIConverterOutputStream.writeString]" {file: "chrome://zotero/content/xpcom/server.js" line: 603}]
[JavaScript Error: "NS_ERROR_FAILURE: Failure arg 0 [mozIStorageResultSet.getNextRow]" {file: "resource://gre/modules/Sqlite.jsm" line: 768}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncConnection.createAsyncStatement]" {file: "resource://gre/modules/Sqlite.jsm" line: 506}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncConnection.createAsyncStatement]" {file: "resource://gre/modules/Sqlite.jsm" line: 474}]
version => 6.0.22, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 6.0.22, extensions => Zotero LibreOffice Integration (6.0.4.SA.6.0.22, extension), Zotero Word for Windows Integration (6.0.2.SA.6.0.22, extension)
I'm having trouble with syncing on one of my computers to the online library - I've done some work at finding the problem, and my files from one computer will sync, but not from my laptop. This is only one of the problems I have been having. I've started using a different computer to import because on my main computer, zotero keeps crashing, won't sync, etc. I was also unable to use the debug function after doing a sync. Zotero froze when I did. But I was able to get the following after start up:
[JavaScript Error: "The connection to wss://stream.zotero.org/ has terminated unexpectedly. Some data may have been transferred."]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIConverterOutputStream.writeString]" {file: "chrome://zotero/content/xpcom/server.js" line: 603}]
[JavaScript Error: "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIConverterOutputStream.writeString]" {file: "chrome://zotero/content/xpcom/server.js" line: 603}]
[JavaScript Error: "NS_ERROR_FAILURE: Failure arg 0 [mozIStorageResultSet.getNextRow]" {file: "resource://gre/modules/Sqlite.jsm" line: 768}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncConnection.createAsyncStatement]" {file: "resource://gre/modules/Sqlite.jsm" line: 506}]
[JavaScript Error: "Failure arg 1 [mozIStorageAsyncConnection.createAsyncStatement]" {file: "resource://gre/modules/Sqlite.jsm" line: 474}]
version => 6.0.22, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 6.0.22, extensions => Zotero LibreOffice Integration (6.0.4.SA.6.0.22, extension), Zotero Word for Windows Integration (6.0.2.SA.6.0.22, extension)
But you're getting some weird errors there. If you're having other problems, can you Can you provide a Debug ID for Zotero startup through reproducing those errors, using the "Restart with Logging Enabled…" option?
I have since then tried to get a new debug number by using the Restart with Logging Enabled function again. But I can't seem to get it to send. When I clicked on help - it took about 20 minutes or so for the menu to display and then when I clicked again on the submit option nothing happened and eventually that menu disappeared - with no success. That was about a half an hour ago. So I tried to click on the menu again, and now it says Zotero is not responding (note: this happened before when I tried the Restart with Logging Enabled function and I let it completely sync). And just now, I see that there is a pop up Zotero window - I imagine it is the debug info window - but it too says not responding. Do I just wait it out and see if it responds eventually? We are at about 4-5 hours to get this far....
What exactly happens when you just start up Zotero and let it auto-sync, without using the debug function?
The only change that I have made on my computer while trying to get this library ready for my team is adding Forticlient to login to one of my institutions remotely. I only need it when I run SPSS? Would uninstalling it make sense?
Or should I uninstall Zotero and reinstall it? It's only my newest library that hasn't synced with my online library - there are alot of records in this new library (approx 87,000) but only 41 (out of about 70,000) of the ones imported using this computer synced to the online library. If I do, can I have one of my team members import the records to the library - would I still be the owner? They use free accounts but I pay for unlimited storage. And I'll want access much longer then them.
There are also 12K existing items in the online library that it needs to download.
So to start, collapse the tag selector, which should temporarily avoid some of the freezes you're seeing and speed up other operations.
Then make sure the trash is empty so it's not doing work it doesn't need to do.
It might also be interesting to go to Tools → Developer → Run JavaScript and run this:
return await Zotero.DB.valueQueryAsync("SELECT COUNT(*) FROM tags JOIN itemTags USING (tagID) JOIN items USING (itemID) WHERE libraryID=3")
That should show you how many tags are in the library.
If you don't need all of the tags, we could help you clear those before syncing. The tag selector may not be usable with the number of tags in the library, but let's see the number to start.
In any case, if you then wanted to sync, you could restart Zotero and just let the sync go, and with any luck it will finish. It might take quite a while with that many items to upload.
I can see all of the items in my existing online library in the app though.
They're not technically automatic tags because they're from a file import. RIS/BibTeX/etc. don't have any sort of distinction between different tag types, so Zotero just imports them as regular tags.
You'd be OK just removing all of these tags? If so, we can give you code to do so.
var items = ZoteroPane.getSelectedItems();
for (let item of items) {
item.removeAllTags();
await item.saveTx({
skipDateModifiedUpdate: true
});
}
You might want to start with a small number of items so you can see it working.
Again, if you have items in the trash, you'll want to empty the trash as well.