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(CreateBranchCommand.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(DefaultTypedConfigGetter.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:400)
        at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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

Reply via email to