freeplane fails to start in ubuntu 16.10 amd64

Bug #1631361 reported by KenichiroMATOHARA
74
This bug affects 11 people
Affects Status Importance Assigned to Milestone
knopflerfish-osgi (Debian)
Fix Released
Unknown
knopflerfish-osgi (Ubuntu)
Fix Released
High
Unassigned
Yakkety
Fix Released
High
Unassigned

Bug Description

[Impact]

Freeplane in Ubuntu 16.10 is broken due to an error in knopflerfish-osgi. The fix is in knopflerfish-osgi 5.2.0-2 from Debian testing/unstable.

Freeplane fails to load OSGi bundles because the knopflerfish jar misses an
"exports" file. The other r-dep of knopferfish-osgi (libwoodstob-java) is a
library that should fail as well (the "exports" file is needed and was
present before the broken upload in 5.1.0+dfsg1-3's knopflerfish.jar!). The
fix in knopflerfish 5.2.0-2 is to generate a file "exports" during the
build.

[Test Case]

* Install freeplane: $ sudo apt-get install freeplane

* Run freeplane: $ freeplane

* It will fail to start without the fix.

* Ubuntu 16.10 users affected by the bug have confirmed that freeplane starts with the fix.

[Regression Potential]

There could _possibly_ be another issue in Ubuntu's knopflerfish-osgi 5.2.0-2, and in this case, r-deps of knopflerfish-osgi would still not work. But since they currently do not work, there is nothing to lose.

[Other Info]

$ LANG=C 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/mk/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/mk/exports (No such file or directory)

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: freeplane 1.5.16-1
ProcVersionSignature: Ubuntu 4.8.0-21.23-generic 4.8.0
Uname: Linux 4.8.0-21-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Oct 7 21:38:12 2016
InstallationDate: Installed on 2016-09-30 (6 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20160922)
PackageArchitecture: all
SourcePackage: freeplane
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
KenichiroMATOHARA (matoken) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in freeplane (Ubuntu):
status: New → Confirmed
Revision history for this message
Ivan Yugov (iyugov) wrote :

Confirmed on two computers (16.10 amd64) after upgrade to 1.5.16-1.

"touch $HOME/exports" does not solve the problem.

Revision history for this message
Felix Natter (fnatter) wrote :

hello Kenichiro,
hello Ivan,

a knopflerfish update has broken freeplane. I can reproduce this and I am working with
debian-java to fix this.

Thanks for the report and Best Regards,
Felix

Changed in freeplane (Ubuntu):
assignee: nobody → Felix Natter (fnatter)
Revision history for this message
Felix Natter (fnatter) wrote :

The fix is in unstable, in a few days it will be in Ubuntu 16.10.

Revision history for this message
Felix Natter (fnatter) wrote :

The fix is now in Debian testing, but seems it doesn't migrate to Ubuntu 16.10.
Can somebody please trigger this? History shows that the ubuntu-motu people do not respond.

Cheers and Best Regards,
Felix

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in freeplane (Ubuntu Yakkety):
status: New → Confirmed
Changed in knopflerfish-osgi (Ubuntu Yakkety):
status: New → Confirmed
Changed in knopflerfish-osgi (Ubuntu):
status: New → Confirmed
Revision history for this message
Felix Natter (fnatter) wrote :

hello users,

could someone please download the fixed knopflerfish deb from here:
https://packages.debian.org/sid/all/libknopflerfish-osgi-framework-java/download
and install it using
$ sudo dpkg -i libknopflerfish-osgi-framework-java_5.2.0-2_all.deb
and report back whether freeplane starts with this?

Thanks and Best Regards,
Felix

Revision history for this message
KenichiroMATOHARA (matoken) wrote :

hello Felix,

I tried.

$ wget http://ftp.jp.debian.org/debian/pool/main/k/knopflerfish-osgi/libknopflerfish-osgi-framework-java_5.2.0-2_all.deb
$ sudo dpkg -i libknopflerfish-osgi-framework-java_5.2.0-2_all.deb

And it works when run the freeplane!

Revision history for this message
Felix Natter (fnatter) wrote :

Dear Ubuntu maintainers,

I am the freeplane package maintainer for Debian. As you can see in this
bug report, freeplane in Ubuntu 16.10 is broken due to a broken
knopflerfish-osgi 5.2.0-1 update (synced too early [1]), and the (proposed)
fix is to sync knopflerfish-osgi 5.2.0-2 (as 5.2.0-1.1) from
Debian testing/unstable to Ubuntu 16.10.

ubuntu-motu suggested to create a SRU for this, which I am requesting now.

[Impact]
Freeplane fails to load OSGi bundles because the knopflerfish jar misses an
"exports" file. The other r-dep of knopferfish-osgi (libwoodstob-java) is a
library that should fail as well (the "exports" file is needed and was
present before the broken upload in 5.1.0+dfsg1-3's knopflerfish.jar!). The
fix in knopflerfish 5.2.0-2 is to generate a file "exports" during the
build.

[Test Case]
- Install freeplane:
$ sudo apt-get install freeplane
- run freeplane:
$ freeplane
--> it will fail to start (for the exact exception log, see above)
Ubuntu 16.10 users affected by the bug have confirmed that freeplane starts
with the fix (see above).

[Regression Potential]
There could _possibly_ be another issue in Ubuntu's knopflerfish-osgi 5.2.0-2,
and in this case, r-deps of knopflerfish-osgi would still not work.
But since they currently do not work, there is nothing to lose.

Attached is a debdiff between knopflerfish-osgi 5.2.0-1 and 5.2.0-2
(Debian). As suggested by #ubuntu-motu, I changed the changelog
entry to 5.2.0-1.1, for Ubuntu 16.10.

Please tell me if I'm missing anything. Freeplane has quite a few users,
and I would like to make this package functional in Ubuntu 16.10.

[1] Can we do something about this?

Cheers and Best Regards,
Felix

Revision history for this message
Felix Natter (fnatter) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debdiff for knopflerfish-osgi SRU (see comment above)" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Mathew Hodson (mhodson)
no longer affects: freeplane (Ubuntu Yakkety)
no longer affects: freeplane (Ubuntu)
Changed in knopflerfish-osgi (Ubuntu):
importance: Undecided → High
Changed in knopflerfish-osgi (Ubuntu Yakkety):
importance: Undecided → High
summary: - fails to start in ubuntu 16.10 amd64.
+ freeplane fails to start in ubuntu 16.10 amd64
Mathew Hodson (mhodson)
description: updated
tags: added: regression-proposed
tags: added: regression-release
removed: regression-proposed
Changed in knopflerfish-osgi (Debian):
status: Unknown → Fix Released
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Let's wait until the fixed package is synced into zesty in a few days and then a sponsor can upload it to yakkety-proposed. Sorry about the delay, things happening around the release time are always vulnerable to this.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package knopflerfish-osgi - 5.2.0-2

---------------
knopflerfish-osgi (5.2.0-2) unstable; urgency=medium

  * Team upload.
  * Restored the exports file in the jar (Closes: #840130, LP: #1631361)

 -- Emmanuel Bourg <email address hidden> Tue, 11 Oct 2016 01:10:45 +0200

Changed in knopflerfish-osgi (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Felix Natter (fnatter) wrote :

@Michael: I've already prepared an SRU for yaketty, see above.
But basically, we just need to sync knopflerfish-osgi 5.2.0-2 to yaketty,
which is low-risk as described by the debdiff above.

Thanks and Best Regards,
Felix

Revision history for this message
Alvin Ho (alfkh) wrote :

@felix & michael, well, i can open my existing ".mm" files anyway. Many thanks! yes, i fully agree with your observation;
"Freeplane has quite a few users, and I would like to make this package functional in Ubuntu 16.10."

Freeplane will see many more users since freemind was stopped in 16.04. I too was a freemind user & found the recommendation to migrate to freeplane. Thanks again felix & michael. Couldn't hv done it w/o you guys!

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Hi, I've uploaded 5.2.0-2 to yakkety (as 5.2.0-1ubuntu0.1). Sorry for the delay! Now you get to wait for the SRU team to review it :)

Changed in knopflerfish-osgi (Ubuntu Yakkety):
status: Confirmed → Fix Committed
status: Fix Committed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello KenichiroMATOHARA, or anyone else affected,

Accepted knopflerfish-osgi into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/knopflerfish-osgi/5.2.0-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in knopflerfish-osgi (Ubuntu Yakkety):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
JBF (jbf-faure) wrote :

Just updated packages from yakkety-proposed and freeplane now starts and seems to work as expected.

Thank you very much.
Best regards. JBF

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Great! Did you mean to add the verification-done tag? Or is someone else going to do more verification?

Revision history for this message
JBF (jbf-faure) wrote :

From my comment #21 : Added tag verification-done

Best regards. JBF

tags: added: verification-done
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Huh strange, I don't see that in my email. Oh well.

tags: removed: verification-done verification-needed
Revision history for this message
Felix Natter (fnatter) wrote :

hello Michael,

is there something that I have to do to get the update into yaketty-updates?

Thanks and Best Regards,
Felix

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1631361] Re: freeplane fails to start in ubuntu 16.10 amd64

It's waiting for someone on the SRU team to accept the package into
-updates, that should happen soon but I can't give any firm dates, sorry.

On 20 November 2016 at 20:47, Felix Natter <email address hidden> wrote:

> hello Michael,
>
> is there something that I have to do to get the update into yaketty-
> updates?
>
> Thanks and Best Regards,
> Felix
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1631361
>
> Title:
> freeplane fails to start in ubuntu 16.10 amd64
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/knopflerfish-osgi/+bug/1631361/+
> subscriptions
>

Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for knopflerfish-osgi has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

tags: added: verification-done
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package knopflerfish-osgi - 5.2.0-1ubuntu0.1

---------------
knopflerfish-osgi (5.2.0-1ubuntu0.1) yakkety; urgency=medium

  * Backport 5.2.0-2 to 16.10. (LP: #1631361)

 -- Michael Hudson-Doyle <email address hidden> Thu, 10 Nov 2016 08:17:01 +1300

Changed in knopflerfish-osgi (Ubuntu Yakkety):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.