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

Snap build fails #7515

Closed
Siedlerchr opened this issue Mar 11, 2021 · 2 comments · Fixed by #7519
Closed

Snap build fails #7515

Siedlerchr opened this issue Mar 11, 2021 · 2 comments · Fixed by #7519
Labels
bug Confirmed bugs or reports that are very likely to be bugs build-system os: snap When JabRef is run as a snap on linux

Comments

@Siedlerchr
Copy link
Member

Siedlerchr commented Mar 11, 2021

I noticed that the snapcraft build fails:

Maybe related to #7447 ?

@LyzardKing any idea?

The interpreter 'python3' for 'lib/jabrefHost.py' was resolved to '/usr/bin/python3'.
The command 'lib/jabrefHost.py' has been changed to '/usr/bin/python3 $SNAP/lib/jabrefHost.py' to safely account for the interpreter.
Failed to generate snap metadata: The specified command '/usr/bin/python3 $SNAP/lib/jabrefHost.py' defined in the app 'browser-proxy' does not match the pattern expected by snapd.
The command must consist only of alphanumeric characters, spaces, and the following special characters: / . _ # : $ -
Build failed
@Siedlerchr Siedlerchr added build-system os: snap When JabRef is run as a snap on linux bug Confirmed bugs or reports that are very likely to be bugs labels Mar 11, 2021
@LyzardKing
Copy link
Collaborator

LyzardKing commented Mar 12, 2021

That might be the issue... if it worked previously.
It "should" find the correct python path in the snap as well, and from a first quick test it seems to work...
but I'll try and debug the new snap as soon as possible

@LyzardKing
Copy link
Collaborator

I removed the env declaration from the snap and it seems to work.
I assume the problem is with the fact that the python location is not in the jabref snap but in the base snap..

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 build-system os: snap When JabRef is run as a snap on linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants