-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser Cannot Conntect to Zotero/BBT Hangs during startup #2887
Comments
For people joining this issue, you can submit a log either by going to Help => Better BibTeX Debug log, or Help => Send log to fle.io. I really need logs because I cannot yet reproduce the problem, and I need clues to the cause. If those don't work, and you're on a Mac or Linux, there's another way to capture a debug log (see below). On MacOS, you can get a log by starting Zotero with
or on Linux
Let Zotero start to the point where you have reproduced the problem, then you can shut Zotero down. In both cases, there will be a file Another option, if you're on Linux or Mac and willing to share a full copy of your Zotero profile, I could try to reproduce the problem with that. I don't have access to a Windows machine unfortunately. And I really need a way to reproduce this. To get this copy:
and mail that to emiliano.heyns@iris-advies.com What I know so farThere is a Zotero method BBT must call. I call it at a time that Zotero has declared it safe to call it. Yet that Zotero method hangs when I do, hanging BBT in the process. Calling it also appears to take down the connector, when these two things have nothing to do with each other. I currently have a workaround in place that helps for some people, not for others, and I cannot reproduce this problem myself, and it's pretty goddamn hard to fix a ghost bug that I cannot see, and that given where it happens, just shouldn't be able to happen. related Zotero forums threadshttps://forums.zotero.org/discussion/comment/463327#Comment_463327 |
Debug log ID4TUBZVQC-refs-euc/6.7.192-6 What happened?A couple days ago, I couldn't import references via my zotero browser extension. It was working just a couple weeks before. I disabled, enabled, and upgraded BBT a couple times, and it worked. You asked me to try version ...190, which worked, but I tried ...192, too, which reproduced the problem. So, I'm here reporting it. Naturally, it worked this time, but I only tried 192. Next, I tried to recreate my procedure more carefully: Install 190, disable it, restart, install 192 without removing 190, enable the plugin, restart --> bingo. It's not too hard to test, so let me know if I can be of more help. But, I'm going to upgrade in the meantime. |
Yeah, my reproducing procedure suggests more to do with the upgrade process than a bug in a particular addon version. I already upgraded to 200. So far so good. |
Can you upgrade to .201 and see if the connector problem is still fixed for you? |
I'm also having this issue, and my 'add-on' window in the zotero desktop app appears to say I'm on .201. My desktop app's version is 6.0.35. My zotero connector's version is 5.0.123. Disabling the better bibtex extension does restore the zotero connector's function. I'm using firefox for kubuntu 22.04 LTS, version 122.0. What other information can I provide to help? |
Oh man I hope a log will say something here. Does debug log submission work? Is this reliably reproducible for you? |
I don't know about that. How do I do it? I can attach a log if you tell me where to find it on my filesystem... |
Oh, very interesting. It's broken again after the update to 201. I went to Tools > Add-ons, and BBT was showing an update was available, so I clicked on "restart". Now, I'm getting the same error as before about connecting not working. I see a suck spinner icon next to the words "better bibtex: translators" in the right pane of Zotero desktop app. |
I tried to disable BBT and restart. But I got this on the command line:
|
Okay, I started Zotero again, enabled the plugin and clicked "restart". It started up and finished initializing BBT. It works, again. |
Help menu, Better bibtex debug log |
If the aforementioned debug log doesn't work, there will be an entry "send to file.io" in the Help menu. Please send that. Wonder what's broken now. I must call a method in Zotero before start, and it just hangs sometimes since recently. |
A core dump is always a Zotero problem. I'll add it to the report I filed with the Zotero crew. |
If you do see any of these problems again, please try one of the debug log methods. I am traveling tomorrow so I may not always respond immediately. |
When I restarted to activate logging I stopped seeing this issue. I'm not sure what 'moved' underneath me, but I seem to have something that works now on my laptop. On my workstation for work, the issue is still present even with the .201 upgrade. In fact it's behaving how my laptop was behaving yesterday. In any case, I managed to send this debug report from my workstation (but not sure that it has anything useful in it): |
Man I had people for which the start issue and the connector issue were linked and I had hoped I had killed two birds with one stone... does the better bibtex debug log or the file.io log from the help menu work? I can forward |
I don't think so. I clicked on it, and nothing happened. But, I don't know if that is correct behavior or not. |
Oh, interesting. It's broken again. Maybe that's why the "Send debug log" didn't work. |
Hmm, looks like there was another update. It was automatic; I didn't do anything to initiate the update. I'm at .202 now. It's petty clear that the bug I'm reporting is that BBT hangs or crashes on start up, and Zotero doesn't notice. It shows up as enabled in the Add-ons window, but, in the right pane, I again see the stuck spinner icon and the words "better bibtex: translators". Perhaps I should change the name of this issue to something like "BBT Hangs after Update, No Logged Errors, Breaks Connector, Zotero Works Fine Otherwise". |
Yes, I have tested the "5 minutes" procedure with all plugins disabled, included BBT, and doing a Restart with Logging Enabled. It still takes around 3 minutes after stopping to press I can provide more testing to the devs if they think it is useful. To see the influence of the automatic sync during loading, I just performed the "Normal" procedure: I just restart without doing anything else.
|
I have no access to those, but if you have the debug log plugin (which does nothing except add a menu entry) you can submit a log to file.io, which I can access.
That's strictly a Zotero problem then.
There are, but they take seconds at most.
BBT startup took 00:00:07.163 after waiting 00:00:17.911 for Zotero
BBT startup took 00:00:10.721 after waiting 00:00:19.585 for Zotero so the sync is not the issue then (assuming something was actually syncing). The tab-switching wedges something in Zotero, and since BBT waits for that to clear, it will start up very late. I've not heard back from the devs, so if you could post this disabled-plugins scenario on their forums, that would be really appreciated. |
Here it is with more details: The crazy RAM ramp up for more than 10 minutes after releasing the shortcut is what I meant by "operations still running in the background after that". |
Blegh another thing that dropped out of 7 then. That problem is easy to fix though. I'll get a new version out when I'm home. |
Nope, that still works on beta 84. I don't know why FormData is undefined for you. A new build will drop soon that will confirm whether it actually is. Please try a new log from that (either BBT or file.io) |
🤖 this is your friendly neighborhood build bot announcing test build 6.7.203.2887.6397 ("FormData not defined?") This update may name other issues, but the build just dropped here is for you; it just means problems already fixed in other issues have been folded into the work we are doing here. Install in Zotero by downloading test build 6.7.203.2887.6397, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...". |
I had this already before: #2886 (comment) |
But I do not understand why a new BBT version would help understanding the problem with the Debug Log plugin? |
They use a common module to put up the file.io menu entry, so it's surprising to me that it works for BBT but not for debug log. It also just works for me, for both BBT and debug log. |
Is it also working for you on Windows? |
I don't know, I haven't installed the system yet. |
Sorry I haven't tried your debug pkgs. Zotero/BBT has been working well, in the sense that BBT isn't hanging for me after auto update. That's the issue I noticed, originally. If I can find some time next week, though, I'll try your debug pkg. I also want to say that Zotero doesn't take very long to start up for me. I'm surprised by some of the numbers you are reporting here. I would say maybe 30 seconds at most. |
No need to test these packages, the changes have been rolled into the new release. These extreme startup times need further diagnosis by the Zotero team. |
For people joining this issue, you can submit a log either by going to Help => Better BibTeX Debug log, or Help => Send log to fle.io. I really need logs because I cannot yet reproduce the problem, and I need clues to the cause.
If those don't work, and you're on a Mac or Linux, there's another way to capture a debug log
On MacOS, you can get a log by starting Zotero with
or on Linux
Let Zotero start to the point where you have reproduced the problem, then you can shut Zotero down. In both cases, there will be a file
BBT.txt
in your home directory. You can attach it here, or email it to emiliano.heyns@iris-advies.com`.Another option, if you're on Linux or Mac and willing to share a full copy of your Zotero profile, I could try to reproduce the problem with that. I don't have access to a Windows machine unfortunately. And I really need a way to reproduce this. To get this copy:
and mail that to emiliano.heyns@iris-advies.com
What I know so far
There is a Zotero method BBT must call. I call it at a time that Zotero has declared it safe to call it. Yet that Zotero method hangs when I do, hanging BBT in the process. Calling it also appears to take down the connector, when these two things have nothing to do with each other. I currently have a workaround in place that helps for some people, not for others, and I cannot reproduce this problem myself, and it's pretty goddamn hard to fix a ghost bug that I cannot see, and that given where it happens, just shouldn't be able to happen.
related Zotero forums threads
https://forums.zotero.org/discussion/comment/463327#Comment_463327
https://forums.zotero.org/discussion/comment/463326#Comment_463326
https://forums.zotero.org/discussion/comment/463324#Comment_463324
The text was updated successfully, but these errors were encountered: