reassign 1132766 jgit forwarded 1132766 https://github.com/eclipse-jgit/jgit/issues/44 tag 1132766 fixed-upstream thanks
Salut David, thanks for the report, and for testing the PLM :) The bug you are suffering seems to be due to jgit, not to the PLM directly. It seems to be reported upstream as https://github.com/eclipse-jgit/jgit/issues/44 which was fixed (apparently), and merged in jgit v7.1. Unfortunately, jgit in Debian is somewhat behind for the moment. So I guess we have to live with the issue for a little while. Another solution is to drop a jgit jarfile in the directory from which you start the PLM. Happy hacking, Mt Le dimanche 05 avril 2026 à 15:26 +0200, David Margery a écrit : > Package: plm > Version: 2.9.2-1.1 > Severity: normal > X-Debbugs-Cc: [email protected] > > Dear Maintainer, > > *** Reporter, please consider answering these questions, where appropriate > *** > > Running plm from a bash shell, straight after installation, fails with an > error message and a backtrace when the user has a gpg.format option in his > global .gitconfig. > > org.eclipse.jgit also chokes on commit.gpgsign and tag.gpgsign. Commenting > these options allows for a clean trace (except the warning about slf4j) > > #[gpg] > # format = ssh > #[commit] > # gpgsign = true > #[tag] > # gpgsign = true > > I have not found a way to direct org.eclipse.jgit to a local gitconfig file > and ignore the user's global config file. > > Backtrace as kindly requested > [warning] /usr/bin/plm: Unable to locate jruby in /usr/share/java > [warning] /usr/bin/plm: Unable to locate antlr3-runtime-3.2 in > /usr/share/java > Loading properties [/home/dmargery/.plm/plm.properties] > Scala est utilisable sur votre machine. Félicitations. > Jython est utilisable sur votre machine. Félicitations. > C est utilisable sur votre machine. Félicitations. > Utilisation de la session disque localisée ici : > /home/dmargery/.plm/df1d3b4b-cfa5-46f8-8b2d-7b6989ae7d79. > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". > SLF4J: Defaulting to no-operation (NOP) logger implementation > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further > details. > Vous avez trouvé un bogue dans la PLM. Veuillez faire un rapport avec tous > les détails possibles (y compris la pile d'exécution ci-dessous). > org.eclipse.jgit.api.errors.RefNotFoundException: Ref HEAD cannot be resolved > at > org.eclipse.jgit.api.CreateBranchCommand.getStartPointObjectId(CreateBranchCo > mmand.java:245) > at > org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:98) > at > org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:194) > at plm.core.model.tracking.GitUtils.createLocalUserBranch(Unknown > Source) > at plm.core.model.tracking.GitSpy.userHasChanged(Unknown Source) > at plm.core.model.tracking.GitSpy.<init>(Unknown Source) > at plm.core.model.Game.<init>(Unknown Source) > at plm.core.model.Game.getInstance(Unknown Source) > at plm.core.ui.ProgrammersLearningMachine.main(Unknown Source) > Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: > Invalid value: gpg.format=ssh > at > org.eclipse.jgit.lib.DefaultTypedConfigGetter.getEnum(DefaultTypedConfigGette > r.java:103) > at org.eclipse.jgit.lib.Config.getEnum(Config.java:453) > at org.eclipse.jgit.lib.GpgConfig.<init>(GpgConfig.java:86) > at > org.eclipse.jgit.api.CommitCommand.processOptions(CommitCommand.java:662) > at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:189) > at plm.core.model.tracking.GitUtils.commit(Unknown Source) > at plm.core.model.tracking.GitUtils.seqAddFilesToPush(Unknown > Source) > at plm.core.model.tracking.GitSpy.switched(Unknown Source) > at plm.core.model.Game.fireCurrentExerciseChanged(Unknown Source) > at plm.core.model.Game.setCurrentExercise(Unknown Source) > at plm.core.model.Game.setCurrentLesson(Unknown Source) > at plm.core.model.Game.setCurrentExercise(Unknown Source) > at plm.core.ui.ProgrammersLearningMachine$1.run(Unknown Source) > at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318 > ) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) > at > java.base/java.security.AccessController.doPrivileged(AccessController.java:4 > 00) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectio > nPrivilege(ProtectionDomain.java:87) > at > java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatc > hThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchTh > read.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatc > hThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java > :109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java > :101) > at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > > -- System Information: > Debian Release: 13.4 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, > 'stable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/14 CPU threads; PREEMPT) > Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not > set > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages plm depends on: > ii default-jdk 2:1.21-76 > ii java-wrappers 0.5 > ii jruby 9.4.8.0+ds-3 > ii jython 2.7.3+repack1-1 > ii libgettext-commons-java 0.9.8-1 > ii libhttpclient-java 4.5.14-1 > ii libhttpcore-java 4.4.16-1 > ii libhttpmime-java 4.5.14-1 > ii libjgit-java 6.7.0-2 > ii libjson-simple-java 2.3.0-2 > ii libmiglayout-java 11.4.2+ds-2 > ii librsyntaxtextarea-java 2.5.8-2 > ii scala 2.11.12-6 > ii scala-library 2.11.12-6 > > plm recommends no packages. > > plm suggests no packages. > > -- no debconf information
signature.asc
Description: This is a digitally signed message part

