[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: knopflerfish-osgi 5.2.0-1 breaks freeplane



Felix Natter <fnatter@gmx.net> writes:

> hello Emmanuel,
>
> your knopflerfish-osgi-5.2.0-1 update breaks freeplane:
>
> felix@debianunstable:~$ freeplane
> org.knopflerfish.framework.readonly=true
> org.knopflerfish.gosg.jars=reference:file:/usr/share/freeplane/core/
> org.freeplane.basedirectory=/usr/share/freeplane
> java.security.policy=/usr/share/freeplane/freeplane.policy
> org.osgi.framework.storage=/usr/share/freeplane/fwdir
> Knopflerfish OSGi framework launcher, version <unknown>
> Copyright 2003-2016 Knopflerfish. All Rights Reserved.
> See http://www.knopflerfish.org for more information.
>
> java.lang.IllegalArgumentException: Failed to read exports: java.io.FileNotFoundException: /home/felix/exports (No such file or directory)
> 	at org.knopflerfish.framework.SystemBundle.addSysPackagesFromFile(SystemBundle.java:699)
> 	at org.knopflerfish.framework.SystemBundle.initSystemBundle(SystemBundle.java:557)
> 	at org.knopflerfish.framework.FrameworkContext.init(FrameworkContext.java:402)
> 	at org.knopflerfish.framework.SystemBundle.doInit(SystemBundle.java:622)
> 	at org.knopflerfish.framework.SystemBundle.init(SystemBundle.java:152)
> 	at org.knopflerfish.framework.Main.assertFramework(Main.java:446)
> 	at org.knopflerfish.framework.Main.handleArgs(Main.java:546)
> 	at org.knopflerfish.framework.Main.start(Main.java:224)
> 	at org.knopflerfish.framework.Main.main(Main.java:156)
> 	at org.freeplane.launcher.Launcher.run(Launcher.java:115)
> 	at org.freeplane.launcher.Launcher.launch(Launcher.java:80)
> 	at org.freeplane.launcher.Launcher.main(Launcher.java:67)
> Error: Command "-istart org.freeplane.core" failed, Failed to read exports: java.io.FileNotFoundException: /home/felix/exports (No such file or directory)
>
> Could you please help me resolve this?
>
> Freeplane is a bit special in that it does use extracted OSGi jars:
>
> felix@debianunstable:/$ find /usr/share/freeplane/core/org.freeplane.core/
> /usr/share/freeplane/core/org.freeplane.core/
> /usr/share/freeplane/core/org.freeplane.core/lib
> /usr/share/freeplane/core/org.freeplane.core/lib/freeplaneeditor-1.5.jar
> /usr/share/freeplane/core/org.freeplane.core/lib/jortho-1.5.jar
> /usr/share/freeplane/core/org.freeplane.core/lib/freeplaneviewer.jar
> /usr/share/freeplane/core/org.freeplane.core/lib/freeplaneosgi-1.5.jar
> /usr/share/freeplane/core/org.freeplane.core/META-INF
> /usr/share/freeplane/core/org.freeplane.core/META-INF/MANIFEST.MF
>
> Shall I create a bug (RC?) to avoid that the package migrates to
> testing? On the other hand, it has already been included in Ubuntu 16.10
> [1].
>
> How about asking upstream [2]?

This looks like an upstream problem with freeplane's extracted OSGi
"jars", so I created an upstream issue:
  https://github.com/knopflerfish/knopflerfish.org/issues/4

Following Markus' advice, I create an RC critical bug to avoid that
knopflerfish-osgi-5.2.0-1 migrates to testing:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840130

Can we tell the Ubuntu (16.10) people to revert to the old
knopflerfish-osgi until we fixed this?

Cheers and Best Regards,
-- 
Felix Natter


Reply to: