Hi! Does SH3D have any built-in logging capabilities?
I'm having a problem importing any furniture library on Ubuntu 18.04, the program reports that the import was successful and the furniture library files show up in ~/.eteks/sweethome3d/furniture but no new models appear in the catalog. I've restarted the program. I've tried importing the libraries again, the program asks if I'd like to replace the library file. I was just curious if there are any logs to see if there are any error messages I can pick up on.
Using the libraries from here: http://www.sweethome3d.com/importModels.jsp . None of the 8 library files I tried downloading and importing resulted in new models showing up in SH3D. Using the SH3D version that comes packaged in Ubuntu 18.04.
$ apt-cache show sweethome3d Package: sweethome3d Architecture: all Version: 5.7+dfsg-2 Priority: optional Section: universe/java Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 12330 Depends: default-jre | java7-runtime, icedtea-netx-common | sun-java6-bin, java-wrappers, libbatik-java, libfreehep-graphicsio-svg-java, libitext-java, libjava3d-java, libsunflow-java (>= 0.07.2.svn396+dfsg-11) Recommends: sweethome3d-furniture Filename: pool/universe/s/sweethome3d/sweethome3d_5.7+dfsg-2_all.deb Size: 11892180 MD5sum: 3fa28e87a0b26af2a1deb620e04869ba SHA1: 6b17a643e963690e22243d8e94fd3e6020c5106b SHA256: e2288180d5f0e1930018e9376c504674f27528d01648e1c57752fe81a974c749 Homepage: http://www.sweethome3d.com/ Description-en: Interior 2D design application with 3D preview Sweet Home 3D is an interior design Java application for quickly choosing and placing furniture on a house 2D plan drawn by the end-user, with a 3D preview. Description-md5: be1e68bf788e0d7930c88f7227149830
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Logging capabilities?
Sweet Home 3D doesn't log information because it's not a program running on server side and I'm generally able to fix issues with detailed reports and default stack traces. Most of the time, the problem you reported comes from the fact that users import a ZIP library file instead of the SH3F file it contains.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Thanks, I should've added that I am definitely importing *.SH3F files in SH3D on Ubuntu 18.04, not the enclosing *.zip files. Also, I forgot to mention that I imported all 8 of the same SH3F files from [Libraries of 3D models](http://www.sweethome3d.com/importModels.jsp ) on Mac OS X 10.13 successfully; all the new models showed up in the catalog in the OSX version.
On OSX, SH3D was installed via Homebrew Cask via `brew cask install sweethome3d`. I believe the version Homebrew installs corresponds to version 5.7 sha256 5440e833e771acb390bb31b6553d86869f36a9ea699be49ba5176f9851c01d09 from sourceforge.net.
So I believe I have the same SH3D 5.7 version, the same SH3F libraries, but two platforms with two different results: one working (osx) and one not working (ubuntu).
Apart from my system description, steps and links to the libraries, what else could I provide for this kind of unexpected runtime behavior?
Sweet Home 3D doesn't log information because it's not a program running on server side.
Sorry I didn't mean if SH3D had server-side logging as in the Software-as-a-Service sense, I meant does SH3D have any logging capabilities in the client-side sense. Like in the log4j sense where the local program is logging what it is doing with various levels of verbosity to a default local system location i.e. /var/log on Linux. So no logs are leaving the machine.
This way an end-user could try to look at the logs or compare the logs across two platforms to provide insights towards getting to a root cause of an issue.