Sweethome3d 5.7 can't import furniture library

Bug #1773532 reported by corrado venturini
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
sweethome3d (Ubuntu)
Fix Released
Medium
Unassigned
Bionic
Triaged
Medium
Unassigned

Bug Description

In Ubuntu 18.04 Bionic and 18.10 Cosmic I have SweetHome3d 5.7 installed from Ubuntu repository and cannot import furniture library. When i import a furniture library i have a popup window that says 'furniture library imported' but furniture does not appear in the furniture window also if correctly inserted in .eteks/sweethome3d and i have no error messages.
see my bug in https://sourceforge.net/p/sweethome3d/bugs/832/
In Ubuntu 17.10 Artful I have SweetHome3d 5.5.2 from Ubuntu repository and import furniture library works fine.
In Ubuntu Bionic and Cosmic SweetHome3d 5.7 installed from sourceforge.net works fine.
SweetHome3d 5.7 from Ubuntu repository uses Java version 10.0.1 while the one from sourceforge.net uses jre8.

Tags: bionic cosmic
Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
mo hirntot (hirntot.) wrote :

I already opened a task in the German forum...

https://forum.ubuntuusers.de/topic/falsche-java-version-ausgefuehrt/#post-8973682

what I tried since:

changing the file /usr/share/sweethome3d/sweethome3d.sh so it would run with Java8 by entering some things like [find_java_runtime openjdk8] at places where I thought it might be helpful...

further notifiable is:
when Typing [sudo update-alternatives --config java], it shows me that Java8 is already standard. No Idea why it still opens with Java11 after not finding Java7

Revision history for this message
corrado venturini (corradoventu) wrote :

Opening a problem on a forum will not push canonical to solve the problem, the only hope is in launchpad, so please subscribe my bug: click on the yellow pencil near 'Does this bug affect you?'

in Ubuntu 18.10 I see only Java11
corrado@corrado-p6-cc-0509:~$ update-alternatives --config java
There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-11-openjdk-amd64/bin/java
Nothing to configure.
corrado@corrado-p6-cc-0509:~$

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

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

Changed in sweethome3d (Ubuntu):
status: New → Confirmed
Revision history for this message
corrado venturini (corradoventu) wrote :

also 3D view - create picture creates an unusable picture.

tags: added: bionic cosmic
Revision history for this message
mo hirntot (hirntot.) wrote :

update from sourceforge:

"It was findResource missing."

so that guy posted a .patch file but I don't understand how to deal with it...

cheers

Revision history for this message
Eugene Zakharov (ezakharov) wrote :

the patch is for

---
 src/com/eteks/sweethome3d/io/URLContentClassLoader.java | 21 ++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

has to be applied on sweethome3d code base.

also, running sweethome3d-5.7 package from sourceforge.net/p/sweethome3d with provided jre8 does not indicate the issue reported.

(thought would clarify as spent some time looking into this)

Revision history for this message
corrado venturini (corradoventu) wrote :

Same problem with snap version

Revision history for this message
corrado venturini (corradoventu) wrote :

Using snap version library import works fine from SH3F file contained in the ZIP files but if importing from ZIP file I have the message '.. imported' but nothing is really imported.

Jeremy Bícha (jbicha)
Changed in sweethome3d (Ubuntu Bionic):
status: New → Triaged
importance: Undecided → Medium
Changed in sweethome3d (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sweethome3d - 5.7+dfsg-3

---------------
sweethome3d (5.7+dfsg-3) unstable; urgency=medium

  * Declare compliance with Debian Policy 4.2.1.
  * Add import-library-with-OpenJDK10.patch and make it possible to import
    furniture libraries with OpenJDK 10 or later.
    Thanks to Jiri Slaby for the patch. (LP: #1773532)

 -- Markus Koschany <email address hidden> Sat, 01 Sep 2018 16:14:22 +0200

Changed in sweethome3d (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
antgel (antgel) wrote :

Why is it "Fix released"? I have bionic and bionic-updates enabled, but I don't see the package.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

antgel, if you visit https://launchpad.net/bugs/1773532 you'll see that the bug is marked Fix Released for cosmic (the code name for Ubuntu 18.10 which will be released later next month) but only Triaged for bionic.

Someone will need to follow https://wiki.ubuntu.com/StableReleaseUpdates#Procedure to get this fixed in Ubuntu 18.04 LTS.

Revision history for this message
mo hirntot (hirntot.) wrote :

or just download the updated package from https://packages.ubuntu.com/cosmic/sweethome3d and install manually. worked fine for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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