Skip to content
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

Export no longer working in BBT 6.7.263 #3102

Open
dmkaplan2000 opened this issue Dec 8, 2024 · 14 comments
Open

Export no longer working in BBT 6.7.263 #3102

dmkaplan2000 opened this issue Dec 8, 2024 · 14 comments

Comments

@dmkaplan2000
Copy link

Debug log ID

F9QHGSJR-euc/6.7.263-7

What happened?

I recently update to zotero-better-bibtex-6.7.263.xpi to try to fix other issues I am having with BBT. Now I notice that export links are no longer working. For example, when I try to download an export I get:

$ wget http://127.0.0.1:23119/better-bibtex/export/collection?/1/books.biblatex
--2024-12-08 17:27:05--  http://127.0.0.1:23119/better-bibtex/export/collection?/1/books.biblatex
Connecting to 127.0.0.1:23119... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2024-12-08 17:27:05 ERROR 500: Internal Server Error.
@dmkaplan2000
Copy link
Author

After some digging, I noticed that if I deactivate the plugin and then reactivate it, I can sometimes get download of some libraries and some collections to randomly work, but eventually it breaks again and no downloading works. In case it is useful, I made another BBT debug log after doing this - 7HC7T5LD-refs-euc/6.7.263-7

Copy link

github-actions bot commented Dec 9, 2024

🤖 this is your friendly neighborhood build bot announcing test build 6.7.263.7434 ("the webserver does not like the export queue")

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.263.7434, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@dmkaplan2000
Copy link
Author

I tried this update, but it didn't fix my export issues. I also have independent confirmation from someone else in my group using Windows instead of Linux that they also have issues with this. Just in case it is useful, I restarted Zotero with logging enabled and created a new debug log: TSB9BS9K-euc/6.7.263.7434-7

When I made this log, I executed the following BBT download requests from the terminal:

$ wget http://127.0.0.1:23119/better-bibtex/export/collection?/19/quarto.bibtex
--2024-12-17 10:36:43--  http://127.0.0.1:23119/better-bibtex/export/collection?/19/quarto.bibtex
Connecting to 127.0.0.1:23119... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-17 10:36:43 ERROR 404: Not Found.

$ wget http://127.0.0.1:23119/better-bibtex/export/library?/19/library.bibtex
--2024-12-17 10:37:19--  http://127.0.0.1:23119/better-bibtex/export/library?/19/library.bibtex
Connecting to 127.0.0.1:23119... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: ‘library?%2F19%2Flibrary.bibtex’

library?%2F19%2Flibrary.     [ <=>                              ]  19.13K  --.-KB/s    in 0s      

2024-12-17 10:37:19 (224 MB/s) - ‘library?%2F19%2Flibrary.bibtex’ saved [19592]

Note that the first attempt at downloading a collection within a group library fails, but downloading the entire group library succeeds. I see this throughout my Zotero collection, but some collections are randomly downloadable (perhaps because I have previously downloaded them prior to this problem???).

@retorquere
Copy link
Owner

That's a different error though. In TSB9BS9K-euc it just says

Collection '/19/quarto' does not exist

and if that is correct, a 404 error is the right response. The initial error was a 500 error which is an actual failure.

@dmkaplan2000
Copy link
Author

Yeah, I noticed that, but they are both errors to do with downloading that appeared very recently. All the links I have given come directly from BBT in Zotero itself, so they should be valid. I just tried downloading another randomly-selected collection within a group library (it appears to be group libraries that are having the problem with the 6.7.263.7434 build, but I haven't systematically checked), and I got the 500 error when using the "cryptic" link for the collection, but the 404 error when using the readable link:

$ wget http://127.0.0.1:23119/better-bibtex/export/collection?/8/Beckensteiner2019_ChileanTURFs.bibtex
--2024-12-20 09:25:17--  http://127.0.0.1:23119/better-bibtex/export/collection?/8/Beckensteiner2019_ChileanTURFs.bibtex
Connecting to 127.0.0.1:23119... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-20 09:25:17 ERROR 404: Not Found.

$ wget http://127.0.0.1:23119/better-bibtex/export/collection?/8/3I5T3KCJ.bibtex
--2024-12-20 09:25:27--  http://127.0.0.1:23119/better-bibtex/export/collection?/8/3I5T3KCJ.bibtex
Connecting to 127.0.0.1:23119... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2024-12-20 09:25:27 ERROR 500: Internal Server Error.

Both the links above are for exactly the same collection taken directly from the BBT export dialogue...

@fmeeusen
Copy link

Hi, maybe a simple question, but I have a very similar issue and wanted to see if I can solve it by using the test built 6.7.263.7434. However, I cannot download it (it just directs me to the "web page not found" page). How can I download this test-built version?

retorquere added a commit that referenced this issue Dec 20, 2024
Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.263.7452 ("Merge branch 'master' into gh-3102")

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.263.7452, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@retorquere
Copy link
Owner

Debug builds expire, try 7452

@retorquere
Copy link
Owner

Yes, I also cannot download this version anymore. You can download my own copy that I previously downloaded

Please don't share debug builds. It makes my life harder not knowing what versions people are testing on. The debug builds expire deliberately.

@dmkaplan2000
Copy link
Author

dmkaplan2000 commented Dec 20, 2024

I tried the 7452 build and at least I think I understand the 500 error better. If I go to a collection and then right-click and then Better bibtexDownload better bibtex report..., copy whichever cryptic link and then close the download dialogue, then the download works. But if I leave the dialogue open, then I get the 500 error. This is repeatable by opening and closing the dialogue:

$ wget http://127.0.0.1:23119/better-bibtex/export/collection?/8/3I5T3KCJ.bibtex #### dialogue OPEN
--2024-12-20 16:33:40--  http://127.0.0.1:23119/better-bibtex/export/collection?/8/3I5T3KCJ.bibtex
Connecting to 127.0.0.1:23119... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2024-12-20 16:33:40 ERROR 500: Internal Server Error.

$ wget http://127.0.0.1:23119/better-bibtex/export/collection?/8/3I5T3KCJ.bibtex #### dialogue CLOSED
--2024-12-20 16:33:46--  http://127.0.0.1:23119/better-bibtex/export/collection?/8/3I5T3KCJ.bibtex
Connecting to 127.0.0.1:23119... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: ‘collection?%2F8%2F3I5T3KCJ.bibtex.10’

collection?%2F8%2F3I5T3KCJ.bibtex.10               [ <=>                                                                                               ] 106.27K  --.-KB/s    in 0s      

2024-12-20 16:33:46 (540 MB/s) - ‘collection?%2F8%2F3I5T3KCJ.bibtex.10’ saved [108825]

$ wget http://127.0.0.1:23119/better-bibtex/export/collection?/8/3I5T3KCJ.bibtex #### dialogue OPEN AGAIN
--2024-12-20 16:36:31--  http://127.0.0.1:23119/better-bibtex/export/collection?/8/3I5T3KCJ.bibtex
Connecting to 127.0.0.1:23119... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2024-12-20 16:36:31 ERROR 500: Internal Server Error.

The "readable" links for the exact same collection always fail as far as I can tell with the 404 error:

$ wget http://127.0.0.1:23119/better-bibtex/export/collection?/8/Beckensteiner2019_ChileanTURFs.bibtex
--2024-12-20 16:38:25--  http://127.0.0.1:23119/better-bibtex/export/collection?/8/Beckensteiner2019_ChileanTURFs.bibtex
Connecting to 127.0.0.1:23119... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-20 16:38:25 ERROR 404: Not Found.

@dmkaplan2000
Copy link
Author

I tried the 7452 build and at least I think I understand the 500 error better. If I go to a collection and then right-click and then Better bibtexDownload better bibtex report..., copy whichever cryptic link and then close the download dialogue, then the download works. But if I leave the dialogue open, then I get the 500 error. This is repeatable by opening and closing the dialogue:

And this was undoubtedly the behavior from the beginning as I noticed from the start that certain collections I had previously downloaded did not have a problem downloading now. This was because I already had the appropriate URL copied into a script somewhere and so I didn't need to open the download dialogue...

@dmkaplan2000
Copy link
Author

dmkaplan2000 commented Dec 20, 2024

I just did some more testing on the 404 error. For collections within my primary library, if I use the readable links, then the download works if the download dialogue is closed, but fails with the 500 error if the dialogue is open.

On the other hand, for collections in group libraries, the readable links fail with the 404 error regardless of whether the dialogue is open or not.

@fmeeusen
Copy link

For me installing the 7452 version solved the problem. Thank you so much @retorquere for your work :)

Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.263.7460 ("library resolution logging")

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.263.7460, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

Repository owner deleted a comment from github-actions bot Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants