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

Stuck on export #2972

Closed
matthiasfabry opened this issue Sep 3, 2024 · 20 comments
Closed

Stuck on export #2972

matthiasfabry opened this issue Sep 3, 2024 · 20 comments

Comments

@matthiasfabry
Copy link

Debug log ID

SQWH5QKE-euc/6.7.226-7

What happened?

much like #2954 and/or #2940 and/or #2942, I cannot export to bib files. This worked in Zotero 6 (although sometimes I had to enter the settings and manually "export now" instead of BBT automatically exporting after a change), but now it's stuck on "preparing Better BibTex +1"

@retorquere
Copy link
Owner

I don't see export activity in SQWH5QKE-euc/6.7.226-7. What were you trying to export?

@matthiasfabry
Copy link
Author

I clicked on a collection and hit export. It opens a dialog with options, clicked on keep updated, gave the filename and save. Then it’s stuck on this message. Is this supposed to take more than 2 mins?

@retorquere
Copy link
Owner

Is this supposed to take more than 2 mins?

No. A build will drop here soon that has more logging, please send a new log from that.

much like #2954 and/or #2940 and/or #2942

it's not likely there is a relation.

Copy link

github-actions bot commented Sep 3, 2024

🤖 this is your friendly neighborhood build bot announcing test build 6.7.226.6920 ("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.226.6920, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@matthiasfabry
Copy link
Author

YQF9PDU9-euc/6.7.226.6920-7

It appears as if zotero as a whole is not hanging though. While the "preparing BBT" message shows, graying out the main zotero window, I can still access the "File, Edit, Tools, etc." menus.

@matthiasfabry
Copy link
Author

Ok this is really strange. I tried exporting another collection, at it went without problems. Then tried exporting the problematic collection again, and now it exports as normal.

X224MX2B-euc/6.7.226.6920-7

retorquere added a commit that referenced this issue Sep 5, 2024
Copy link

github-actions bot commented Sep 5, 2024

🤖 this is your friendly neighborhood build bot announcing test build 6.7.227.6932 ("test both")

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.227.6932, 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

please try with build 6932

@matthiasfabry
Copy link
Author

W3SEIVRK-euc/6.7.227.6932-7

Repository owner deleted a comment from github-actions bot Sep 6, 2024
Copy link

github-actions bot commented Sep 6, 2024

🤖 this is your friendly neighborhood build bot announcing test build 6.7.227.6938 ("more 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.227.6938, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@matthiasfabry
Copy link
Author

HQKVE6NA-euc/6.7.227.6938-7

@retorquere
Copy link
Owner

So the translate starts and succeeds but there's still a recursion error. I'm looking into this but it may well take me a few days to come up with something.

Copy link

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

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.229.6971, 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

Does this build fix the problem?

@matthiasfabry
Copy link
Author

SBWG6MJ4-euc/6.7.229.6971-7

BBT now seems to correctly export (I see it in my files), but the dialog with "Exporting items..." does not disappear, needing a restart of Zotero to interact again with the UI.

retorquere added a commit that referenced this issue Sep 16, 2024
Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.229.6989 ("merge master")

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

@matthiasfabry
Copy link
Author

This looks to work as intended! Thank you so much Emiliano!

PC8JBD2G-euc/6.7.229.6989-7 for your reference.

@retorquere
Copy link
Owner

awesome. thanks for sticking this out with me.

@matthiasfabry
Copy link
Author

Just out of curiosity, what turned out to be the problem?

@github-actions github-actions bot reopened this Sep 16, 2024
@retorquere
Copy link
Owner

To be totally honest -- I think I know what triggered the problem, but I don't know what the actual problem was.

It looked like my database writes for the auto-exports triggered a recursive invocation of Zotero's dateparser; I have no idea why that happened, as I could find nothing about SQL writes through the Zotero API that did date parsing, so in the end I have just removed the trigger; I have taken the auto-exports out of the SQL database and have stuck them in preferences. I could not create a focused testcase (a so-called MWE) for the problem so a discussion about this on the dev list would not have gotten much traction.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants