Open ror3d opened 8 months ago
This is related to https://github.com/JabRef/JabRef-Browser-Extension/issues/493 but that one is about the issue of the extension reporting an error, which should be solved with PR #11047, whereas this issue is about the still unresolved problem left in that PR.
Being able to send the file as stdin, or as a command-line argument, instead of creating a temporary file, could be a solution for this issue.
This is what we had before. But some of the bibtex can be quite long and then you hit the maximum length of the command line argument.
Is it really important to you to delete the temporary file? Windows 10+ normally clean the temp folder automatically, so it shouldn't really be a problem that there are still files lying around. I honestly don't see a clean way to clean them up, since as you say we need to return as fast as possible from the script.
It would perhaps work to pass a --deleteWhenClosing
cmd line arg to jabref's main exe, and then clean up the file when the main jabref program is closed - but that feels a bit overkill.
Right, as command-line argument would have such problem, sending them through stdin should work well though.
On the other hand, I am also thinking of ways that https://github.com/JabRef/JabRef-Browser-Extension/issues/481 could use a similar approach, but that might be a bit more tricky.
As for temp files being automatically deleted, if that is the case then this is not really a problem I guess.
Hi, I'm working with a group of 2 other CS students from Florida International University. We are part of the Tech Talent Academy program where we are required to join an open source project and make a contribution. We were wondering if we could tackle this issue
@Deehuh since you and your teammates already have been assigned to another issue, I will not assign you to this one to avoid confusion. I expect you will only work on one issue anway, right?
Yes, that's correct. Thank you.
Hello, has anyone been assigned this issue yet? I am from ANU in australia and would like to work on this issue with my group for an assignment.
Welcome to the vibrant world of open-source development with JabRef!
Newcomers, we're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.
In case you encounter failing tests during development, please check our developer FAQs!
Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.
Happy coding! 🚀
I apologize for the inconvenience, but I’ve been working on this issue and unfortunately, my Mac doesn’t have sufficient RAM to run both VirtualBox and IntelliJ simultaneously. Given that this issue pertains to Windows, it’s quite challenging to resolve it on my current setup.
Please unsassign me from this issue.
I apologize for the inconvenience, but I’ve been working on this issue and unfortunately, my Mac doesn’t have sufficient RAM to run both VirtualBox and IntelliJ simultaneously.
On any chance, did you try whether this issue also happens on MacOS setup?
Windows 10+ normally clean the temp folder automatically,
It does it when running tghe "Disk Cleanup tool" with a nice configuration - source: https://superuser.com/a/902645/138868
I apologize for the inconvenience, but I’ve been working on this issue and unfortunately, my Mac doesn’t have sufficient RAM to run both VirtualBox and IntelliJ simultaneously.
On any chance, did you try whether this issue also happens on MacOS setup?
No, I didn't extensively check if this issue happens on MacOS.
Hello, I am a student at the Federal Technological University of Paraná - Brazil, and I would like to work on this assignment for a course. I have a Windows 11 laptop to test.
/assign @Victor476
👋 Hey @Victor476, thank you for your interest in this issue! 🎉
We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.
In case you encounter failing tests during development, please check our developer FAQs!
Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.
Happy coding! 🚀
⏳ Please note, you will be automatically unassigned if the issue isn't closed within 30 days (by 30 November 2024). A maintainer can also add the "📌 Pinned"" label to prevent automatic unassignment.
JabRef version
5.12 (latest release)
Operating system
Windows
Details on version and operating system
Windows 11
Checked with the latest development build (copy version output from About dialog)
Steps to reproduce the behaviour
Remove-Item...
) with the following:Remove-Item
command, reporting that it cannot remove the temporary file because it is being used:This is probably due to the JabRef command being called unblocking. The script has to exit to send back the result to the browser, but the open JabRef instance might still have the file open, so the script can't delete it before exiting.
Being able to send the file as stdin, or as a command-line argument, instead of creating a temporary file, could be a solution for this issue. Another approach could be connection using sockets in some way.
Appendix
No response