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

Import for too many items does not work (via browser extension) #7374

Closed
tobiasdiez opened this issue Apr 4, 2018 · 2 comments
Closed

Import for too many items does not work (via browser extension) #7374

tobiasdiez opened this issue Apr 4, 2018 · 2 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs import

Comments

@tobiasdiez
Copy link
Member

Importing many items, e.g. from https://arxiv.org/list/astro-ph/new, fails with the following error:

stderr output from native app org.jabref.jabref: Program 'java.exe' failed to run: The filename or extension is too longAt 
stderr output from native app org.jabref.jabref: D:\Programming\Projects\Jabref\build\libs\JabRef.ps1:42 char:15
stderr output from native app org.jabref.jabref: + ...    $output = & java -jar $jabRefJar -importBibtex "$messageText" 2>&1
stderr output from native app org.jabref.jabref: +                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
stderr output from native app org.jabref.jabref: At D:\Programming\Projects\Jabref\build\libs\JabRef.ps1:42 char:5
stderr output from native app org.jabref.jabref: +     $output = & java -jar $jabRefJar -importBibtex "$messageText" 2>& ...
stderr output from native app org.jabref.jabref: +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stderr output from native app org.jabref.jabref:     + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
stderr output from native app org.jabref.jabref:     + FullyQualifiedErrorId : NativeCommandFailed
stderr output from native app org.jabref.jabref:  

Reason: Windows limits the command line length (to approx. 32.000 characters). Hence the limit is around 10 items.

Only solution (that I see): Write bibtex to file and then import the file instead of the string. Yeahhhhh!

Workaround: Open "Browser Console" and look for "JabFox: Send BibTeX to JabRef:". Click on the ellipse [...] to expand the string. Copy bibtex code and paste into JabRef.

@tobiasdiez tobiasdiez changed the title Import for many items does not work Import for too many items does not work Nov 21, 2019
@koppor
Copy link
Member

koppor commented Jan 22, 2021

Are we hitting the architecture discussion of providing a websocket interface? Refs #5943

@tobiasdiez tobiasdiez changed the title Import for too many items does not work Import for too many items does not work (via browser extension) Jan 22, 2021
@tobiasdiez tobiasdiez transferred this issue from JabRef/JabRef-Browser-Extension Jan 22, 2021
@tobiasdiez tobiasdiez added the bug Confirmed bugs or reports that are very likely to be bugs label Jan 22, 2021
@Siedlerchr
Copy link
Member

Fixed by #7918

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs import
Projects
Archived in project
Development

No branches or pull requests

3 participants