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

Can't run today's snap/edge 2019-09-11 #5307

Closed
wujastyk opened this issue Sep 12, 2019 · 26 comments
Closed

Can't run today's snap/edge 2019-09-11 #5307

wujastyk opened this issue Sep 12, 2019 · 26 comments
Labels
build-system os: snap When JabRef is run as a snap on linux
Milestone

Comments

@wujastyk
Copy link

Platform:

NAME="Linux Mint"
VERSION="19.2 (Tina)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.2"
VERSION_ID="19.2"

JabRef version:

$ snap info jabref
name:      jabref
summary:   Bibliography manager
publisher: Oliver Kopp (koppor)
contact:   https://github.com/koppor
license:   unset
description: |
  JabRef is an open source bibliography reference manager. The native file format used by
  JabRef is BibTeX, the standard LaTeX bibliography format.
commands:
  - jabref
snap-id:      T5x6neyM0Uc9OWDHGorm61NKxh3Bd47k
tracking:     edge
refresh-date: today at 17:41 MDT
channels:
  stable:    –                              
  candidate: –                              
  beta:      5.0-dev 2019-08-26 (530) 212MB -
  edge:      5.0-dev 2019-09-11 (531) 256MB -
installed:   5.0-dev            (531) 256MB -

Result of executing /snap/bin/jabref:

$ /snap/bin/jabref
Picked up _JAVA_OPTIONS: -Duser.home=/home/dom/snap/jabref/531
Error: Could not find or load main class org.jabref.org.jabref.JabRefLauncher
Caused by: java.lang.ClassNotFoundException: org.jabref.org.jabref.JabRefLauncher

@Siedlerchr
Copy link
Member

I will trigger a manual build later so that yesterday's fixes for snap are included.
Thanks for the report

@Siedlerchr
Copy link
Member

I now triggered a manual build. Please try again. If you encounter any bugs, please report them.

@Siedlerchr Siedlerchr added status: waiting-for-feedback The submitter or other users need to provide more information about the issue os: snap When JabRef is run as a snap on linux labels Sep 12, 2019
@wujastyk
Copy link
Author

wujastyk commented Sep 12, 2019 via email

@Siedlerchr
Copy link
Member

Thanks for the feedback!
It would be really nice if s you could update the help page for the installation and add a short note that JabRef is also available as snap. https://help.jabref.org/en/Installation#jabref-5x (At the bottom of the page, "Edit this page")

Again many thanks @LyzardKing for making the snap java 11 compatible.

@LyzardKing
Copy link
Collaborator

@wujastyk Great feedback! Let me know if there's something not working in the snap!

@Siedlerchr
There are some more snap fixes coming...I'm working to reduce the snap size...I managed to remove 100MB removing the system jvm(using the jlink it's not needed any more)
Also the upstream fix for the plugin is on its way...
It might be a good idea once these issues are sorted to promote a snap to stable and promote it on the snapcraft forum and/or jabref forum/website...what do you think? ;)

@Siedlerchr
Copy link
Member

@LyzardKing Thanks for the work! 🥇 That's good to hear that the fix is on it's way to upstream.
We definitely have the idea of promoting the snap and to deploy it in the Ubuntu store.
But with an official promotion I would wait until we release a beta of JabRef 5.0 so that all releases are in sync. But you could add a note to the install wiki page.

You might also want to check out the "snap" label here on issues, sometimes it could be related to a snap if it's not reproducible in the normal system and I don't always have a Linux system at hands.
We also managed to get the non-snap build working for Linux again with jlink.

This jlink might make it also easier for (debian/ubuntu/whatever distro) package maintainers?
Cause the last version which made it into the repos was 3.8...

@wujastyk
Copy link
Author

Again today, snap/edge of 26 September 2019. I get this:

$/snap/bin/jabref 
ln: failed to create symbolic link '/home/dom/snap/jabref/543/.config/gtk-2.0/gtkfilechooser.ini': File exists
/snap/jabref/543/bin/desktop-launch: line 574: /snap/jabref/543/jabref/bin/JabRefMain: No such file or directory

@tobiasdiez tobiasdiez reopened this Sep 27, 2019
@LyzardKing
Copy link
Collaborator

I guess the name changed to Jabref...
I just downloaded the tarfile.

@tobiasdiez
Copy link
Member

Yes, the name changed. Moreover, it should be possible to download https://builds.jabref.org/master/JabRef-portable_linux.tar.gz and run it. So the snap does not need to build via gradle (at least if this is not one of the requirements of a snap - no idea about conventions there).

@LyzardKing
Copy link
Collaborator

To be honest, it could be easier, since you already have your build system, to pull the tarball and use that directly.
I'm not sure if the snapcraft build system can see that the tarfile changed and to that, but since you are using github actions (or travis) it can be added to the ci I believe

@tobiasdiez
Copy link
Member

You mean that we should build and push the snap during our build? That's definitely possible (see e.g. https://github.com/sirredbeard/nim_lang_snap/blob/master/.github/workflows/nightly.yml). But maybe there was/is a reason why it's not done. @koppor @Siedlerchr ?

@tobiasdiez tobiasdiez removed the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Sep 27, 2019
@Siedlerchr
Copy link
Member

I think one of the problems was that it takes around 15 minutes or around that time to build the snap.
and in earlier versions it was not possible to build and push it to snap

@koppor
Copy link
Member

koppor commented Sep 27, 2019 via email

@LyzardKing
Copy link
Collaborator

The snap could be a simple "dump" plugin with the portable build
and the snapcraft build and push to the store could be set up on the existing jabref ci.
I can add a PR with a test it you'd like

@LyzardKing
Copy link
Collaborator

LyzardKing commented Sep 28, 2019

@tobiasdiez Should I use the portable or the other tarfile?
What is the difference?
The non portable(JabRef-linux-master-latest.tar.gz) is smaller, but is it missing some libraries?

@tobiasdiez
Copy link
Member

Please use the portable! The other (older files) are a remnant of the old build. @koppor can you please clean-up the master and the root https://builds.jabref.org to remove the old builds/experiments. sorry for the additional work!

@koppor
Copy link
Member

koppor commented Oct 1, 2019

@LyzardKing You could also try the Debian package -- seems to be the most native to snapcraft: http://builds.jabref.org/master/jabref_5.0.0-1_amd64.deb

@LyzardKing
Copy link
Collaborator

LyzardKing commented Oct 1, 2019 via email

@koppor
Copy link
Member

koppor commented Oct 12, 2019

Refs #3121

@tobiasdiez
Copy link
Member

Can this be closed now, or is there more work needed to make the snap working? @LyzardKing @koppor

@LyzardKing
Copy link
Collaborator

The snap still is not pushing from the build system.
I think this can be closed since it's related to an older version of the snap.
The one currently on the store should mostly work, but it's not up to date.
For the updated version we need to wait for the validation of the permission for the browser addon.
Or while we wait we could remove that part and upload a version without the browser integration.
(I'm not sure if the integration has to be in the snap when they vote on the forum to accept it,
or if it can be added back later on. I suppose I can comment it in the snap and add it back at a later date)

@tobiasdiez
Copy link
Member

Ok, then we just leave this issue open for now and wait...

@LyzardKing
Copy link
Collaborator

LyzardKing commented Oct 17, 2019

What do you think?
Is it better to upload a working snap without the browser integration?
Keeping in mind that the extension can still be installed and work manually

@tobiasdiez
Copy link
Member

I would say we wait for about a week to get the permission. If this doesn't work out (or we are still waiting), we could push a temporary snap without the extra JabFox stuff.

@LyzardKing
Copy link
Collaborator

Ok! :)
A week is about what they usually say to wait on the forum before starting the vote as far as I can tell..
In any case a working snap is ready to be pushed. But I wouldn't want to confuse the store upload in any way..

@koppor
Copy link
Member

koppor commented Oct 18, 2019 via email

Siedlerchr added a commit that referenced this issue Mar 14, 2021
30fb68e Create BJEDIS-ABNT-Number (#5255)
aafb868 Update geochimica-et-cosmochimica-acta.csl (#5321)
60ba25f british-journal-of-anaesthesia.csl: add comma delimiter between non-sequential citations eg. 1 4 7-9 -> 1, 4, 7-9  (#5313)
67e6564 Reindent/reorder (#5318)
c0d2a39 Ruby 3.0.0 (#5309)
76d60ff Update harvard-anglia-ruskin-university.csl (#5310)
bc18ac9 Create journal-for-the-study-of-the-new-testament.csl (#5312)
aff602c Update journal-of-food-protection.csl (#5315)
4503826 Update muscle-and-nerve.csl (#5317)
3bed58e constant redefinition
4d718a0 update documentaiton link
fa99e2f add comma delimiter between succesive numbers
d396f8b Allow privileged testing of PRs (#5307)
43b22c7 Update masarykova-univerzita-pravnicka-fakulta.csl, pravnik.csl, iso690-full-note-cs.csl (#5308)
8a31c1e Update copernicus-publications.csl (#5303)
96760bb Update anabases.csl (#5304)
744de6d removed locale (#5300)
7eb0d60 Update aviation-space-and-environmental-medicine.csl (#5297)
2769970 Update ruhr-universitat-bochum-lehrstuhl-fur-industrial-sales-and-ser… (#5298)
51e3f4c Update harvard-university-of-bath.csl (#5299)
5fce84f Create cns-spectrums.csl (#5290)
bb8082c Create journal-of-surgical-oncology.csl (#5259)
90c13ae Update ruhr-universitat-bochum-lehrstuhl-fur-industrial-sales-and-ser… (#5288)
4bab1ad Update early-christianity.csl (#5289)
636ba78 Update tatup-zeitschrift-fur-technikfolgenabschatzung-in-theorie-und-… (#5291)
b7cc511 Create biotechnologia.csl (#5292)
5bab881 Update journal-of-orthopaedic-trauma.csl (#5287)
5943413 Fix locales (#5285)
302bd65 Update universite-du-quebec-a-montreal-departement-dhistoire.csl (#5286)
860ae48 Add Haaga-Helia University of Applied Sciences Harvard style (#5282)
c1c27de  Localize Metropolia style title (#5283)
508da89 Fix presentation for Methods of Information in Medicine (#5284)
53e1d0b Create geschichte-und-gesellschaft.csl (#5216)
d7ed0cb Create universite-de-geneve-departement-de-francais-moderne.csl (#5212)
80c404b Update journal-of-orthopaedic-trauma.csl (#5281)
20c143a Adding publishers' names (#5280)
6e5cd59 Update sodertorns-hogskola-oxford.csl (#5279)
52f2621 dollar-brace
a260294 Create journal-of-microbiology-and-biotechnology.csl (#5277)
1fc979e Create qeios.csl (#5261)
86347b7 GH does this for us -- again, sorry guys
b649589 Create experimental-biology-and-medicine.csl (#5276)
12ae0b1 Revert "tell sheldon about the job state"
bdcae89 tell sheldon about the job state
1240067 Add Vegetation classification and Survey (#5271)
6f398f0 Major update to Gallia.csl (#5269)
2a74b2c Update filters.yaml (#5273)
20046d2 Update spec_helper.rb (#5272)
2ee0dd8 Create the-sociological-review.csl (#5260)
5b8d09c move filters to inert file to pacify Sheldon (#5268)
e5f3315 Localize more language descriptors in style titles (#5270)
bfd2942 Localize more language descriptors in style titles (#5267)
35e276f Fix variable used for the label after indication of number of pages (#5240)
60f6371 Create Universidade-do-Estado-do-Rio-de-Janeiro.csl (#5247)
d8cc2ae Create the-journal-of-the-acoustical-society-of-america-numeric.csl (#5256)
92259c1 Create journal-of-financial-and-quantitative-analysis.csl (#5264)
6ba8aab Create journal-of-vestibular-research.csl (#5258)
0c88f41 Update european-journal-of-international-law.csl (#5265)
cff5abc Put language descriptor within parentheses
4a62709 Update monash-university-harvard.csl (#5253)
64fd1aa Localize more language descriptors in style titles (#5262)
f6519cb Localize more language descriptors in style titles (#5257)
170ccae tiny fixes for universitat-basel-iberoromanistik.csl (#5254)
b7284c9 Localize more language descriptors in style titles (#5252)
f4ef858 Add "Baishideng Publishing Group" dependents (#5251)
266e7c3 Make world-journal-of-hepatology.csl to bpg.csl parent (#5243)
9129098 fix small formatting issues for mclc.csl (#5229)
5d9560b Create crispr-journal.csl (#5249)
a217299 Change "Czech" to "Čeština" in titles (#5248)
4fef39a Create journal-of-open-research-software.csl (#5245)
2bff1a6 Change "Dutch" to "Nederlands" in titles (#5242)
f28da34 Update spec_helper.rb (#5246)
e0e977c Move content from wiki pages to markdown files (#5194)
018304c Update universite-de-montreal-apa.csl (#5239)
3b83e5c Create sodertorns-hogskola-oxford.csl (#5234)
1335378 Stop notifying 8827 port on Zotero servers (#5237)
f079b2a Update author-year disambiguation (#5238)
60bb0c9 Update technische-universitat-dresden-medizin.csl (#5236)
e374657 Create Leidraad voor juridische auteurs 2019 (Dutch) (#5223)
0450d89 Add new style for U of Mannheim, Germanistische Linguistik (#5228)
81f0689 Create health-sports-rehabilitation-medicine.csl (#5233)
c152a44 Update Gemfile.lock (#5235)
748e1eb Update geochimica-et-cosmochimica-acta.csl (#5231)
06b9ce8 Update zeitschrift-fur-theologie-und-philosophie.csl (#5230)
e747cb1 haute-ecole-de-gestion-de-geneve: Make polyglot & et al changes
4cfedb7 Create universite-de-sherbrooke-histoire.csl (#5210)
a96a61e Update journal-of-glaciology.csl (#5222)
c6a94c9 Add Journal of Human Rights (#5227)
c5c9c5f Update ruhr-universitat-bochum-lehrstuhl-fur-industrial-sales-and-ser… (#5214)
ffb7aa6 Create comparativ.csl (#5215)
e07329a Update lancaster-university-harvard.csl (#5220)
c075d41 Update mimesis-edizioni.csl (#5219)
502970a Removed space in year only citation (#5218)
13e8c6b Update acta-scientiae-veterinariae.csl (#5209)
0699da6 Remake mammallia.csl for Oct/2020 guidelines. (#5207)
b2dd3fd Update journal-of-international-business-studies.csl (#5217)
dd52bfe Update quaternaire.csl (#5199)
ccb1b0d rebuild webpage and article-journal citations in journal-of-forensic-sciences.csl (#5203)
f02f4fb Create pedosphere.csl (#5196)
70dd87a Create open-gender-journal.csl (#5198)
d272998 Create the-quarterly-journal-of-economics.csl (#5197)
d27cab3 fix locale issues, add cite-locator (#5206)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 30fb68e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-system os: snap When JabRef is run as a snap on linux
Projects
None yet
Development

No branches or pull requests

5 participants