Running Nixnote (Nevernote) Problem

I’m an openSUSE newbie and have tried to find an Evernote substitute package in the repositories but haven’t been able to find one. Elsewhere online I have found Everpad which looks really good but seems like it was developed for Ubuntu. The other one I found was Nixnote (Neverpad) which I downloaded and then installed via Apper. The installation was successful but when I go to run Nixnote all that happens is a Nixnote tab in my Taskbar opens and then after a few seconds closes. There’s a nixnote directory in usr/share that looks good but the application just won’t work.

I’m using a Thinkpad T61, openSUSE 12.3 KDE. Here is the output from Konsole when I try to launch Nixnote. Any ideas what I can do to get this working? Or if there is Nixnote or Everpad in a repository somewhere?

tom@linux-p5bi:~> nixnote
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.trolltech.qt.gui.QWidget.<clinit>(QWidget.java:18)
Caused by: java.lang.RuntimeException: Loading library failed, progress so far:
Unpacking .jar file: 'qtjambi-linux64-gcc-4.5.2_01.jar'
Checking Archive 'qtjambi-linux64-gcc-4.5.2_01.jar'
 - cache key='gcc-20090628-2055'
 - adding 'libstdc++.so.6' to library map
 - library: name='lib/libstdc++.so.6', 
 - adding 'libQtCore.so.4' to library map
 - library: name='lib/libQtCore.so.4', 
 - adding 'libQtGui.so.4' to library map
 - library: name='lib/libQtGui.so.4', 
 - adding 'libQtXml.so.4' to library map
 - library: name='lib/libQtXml.so.4', 
 - adding 'libQtSql.so.4' to library map
 - library: name='lib/libQtSql.so.4', 
 - adding 'libQtSvg.so.4' to library map
 - library: name='lib/libQtSvg.so.4', 
 - adding 'libQtNetwork.so.4' to library map
 - library: name='lib/libQtNetwork.so.4', 
 - adding 'libQtOpenGL.so.4' to library map
 - library: name='lib/libQtOpenGL.so.4', 
 - adding 'libQtWebKit.so.4' to library map
 - library: name='lib/libQtWebKit.so.4', 
 - adding 'libQtXmlPatterns.so.4' to library map
 - library: name='lib/libQtXmlPatterns.so.4', 
 - adding 'libphonon.so.4' to library map
 - library: name='lib/libphonon.so.4', 
 - library: name='plugins/phonon_backend/libphonon_gstreamer.so', never load
 - library: name='plugins/imageformats/libqjpeg.so', never load
 - library: name='plugins/imageformats/libqgif.so', never load
 - library: name='plugins/imageformats/libqmng.so', never load
 - library: name='plugins/imageformats/libqtiff.so', never load
 - library: name='plugins/imageformats/libqsvg.so', never load
 - library: name='plugins/iconengines/libqsvgicon.so', never load
 - library: name='plugins/codecs/libqcncodecs.so', never load
 - library: name='plugins/codecs/libqjpcodecs.so', never load
 - library: name='plugins/codecs/libqkrcodecs.so', never load
 - library: name='plugins/codecs/libqtwcodecs.so', never load
 - library: name='plugins/accessible/libqtaccessiblewidgets.so', never load
 - library: name='plugins/sqldrivers/libqsqlite.so', never load
 - adding 'libqtjambi.so' to library map
 - library: name='lib/libqtjambi.so', 
 - adding 'libcom_trolltech_qt_core.so' to library map
 - library: name='lib/libcom_trolltech_qt_core.so', 
 - adding 'libcom_trolltech_qt_gui.so' to library map
 - library: name='lib/libcom_trolltech_qt_gui.so', 
 - adding 'libcom_trolltech_qt_xml.so' to library map
 - library: name='lib/libcom_trolltech_qt_xml.so', 
 - adding 'libcom_trolltech_qt_sql.so' to library map
 - library: name='lib/libcom_trolltech_qt_sql.so', 
 - adding 'libcom_trolltech_qt_svg.so' to library map
 - library: name='lib/libcom_trolltech_qt_svg.so', 
 - adding 'libcom_trolltech_qt_network.so' to library map
 - library: name='lib/libcom_trolltech_qt_network.so', 
 - adding 'libcom_trolltech_qt_opengl.so' to library map
 - library: name='lib/libcom_trolltech_qt_opengl.so', 
 - adding 'libcom_trolltech_qt_phonon.so' to library map
 - library: name='lib/libcom_trolltech_qt_phonon.so', 
 - adding 'libcom_trolltech_qt_webkit.so' to library map
 - library: name='lib/libcom_trolltech_qt_webkit.so', 
 - adding 'libcom_trolltech_qt_xmlpatterns.so' to library map
 - library: name='lib/libcom_trolltech_qt_xmlpatterns.so', 
 - plugin path='plugins'
 - using cache directory: '/tmp/QtJambi_tom_amd64_4.5.2_01_gcc-20090628-2055'
 - cache directory exists
Loading library: 'libQtCore.so.4'...
 - using deployment spec
 - ok!
Loading library: 'libqtjambi.so'...
 - using deployment spec
 - ok!
Loading library: 'libQtCore.so.4'...
 - already loaded, skipping...
Loading library: 'libcom_trolltech_qt_core.so'...
 - using deployment spec
 - ok!
Loading library: 'libQtGui.so.4'...
 - using deployment spec

        at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:431)
        at com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:355)
        at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:140)
        at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:136)
        at com.trolltech.qt.gui.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:7)
        ... 1 more
Caused by: java.lang.UnsatisfiedLinkError: /tmp/QtJambi_tom_amd64_4.5.2_01_gcc-20090628-2055/lib/libQtGui.so.4: libpng12.so.0: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
        at java.lang.Runtime.load0(Runtime.java:792)
        at java.lang.Runtime.load(Runtime.java:780)
        at com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:458)
        at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:426)
        ... 5 more
/home/tom
tom@linux-p5bi:~>

Some sort of depency problem seems to be there “libpng12”
If you got the rpm from here NixNote - Browse /Current at SourceForge.net
then better way would be

su-
zypper in /<full-path>/nevernote*.rpm

Installing thourgh YaST and zypper might let you resolve dependencies much easier than with apper.

Yes I got it from Sourceforge. After your suggestion I installed it with Zypper but have got the same results. Last night I installed it on a Crunchbang partition I have and it it went fine. Oh well I guess it’s not essential, I have the web clipper and I can use the Evernote site online.

Some one created an awful rpm which doesn’t pull in all the required libraries.
I don’t use evernote. But out of curoisity i downloaded and installed that rpm from sourceforge
When i launched that from terminal i got a similar error

Caused by: java.lang.UnsatisfiedLinkError: /tmp/QtJambi_tom_amd64_4.5.2_01_gcc-20090628-2055/lib/libQtGui.so.4: libpng12.so.0: cannot open shared object file: No such file or directory

Since the program says that it cannot “get” the shared libary there was only one thing to do . Install / give that shared library to nixnote
then i did

su -
zypper in libpng12

Then launched it again and success

http://paste.opensuse.org/images/18776967.png

Ha! I had considered doing that but as I am somewhat of a newbie I thought best to play it safe. Interestingly using

su -
zypper in libpng12

didn’t work for me so I opened Yast and searched for libpng12 which then gave me a result for libpng12-0. Anyway I installed that using zypper and now I have Nixnote running. Thank you!

you are welcome
Note:- i forgot an wildcard () at the end of zypper command. It should have been "zypper in libpng12"

There is a good option to find/search packages names using zypper and get correct name from output

zypper se libpng12
linux-8zs1:~ # zypper se libpng12
Loading repository data...
Reading installed packages...

S | Name                        | Summary                              | Type   
--+-----------------------------+--------------------------------------+--------
i | libpng12-0                  | Library for the Portable Network G-> | package
  | libpng12-0-32bit            | Library for the Portable Network G-> | package
  | libpng12-compat-devel       | Development Tools for applications-> | package
  | libpng12-compat-devel-32bit | Development Tools for applications-> | package
  | libpng12-devel              | Development Tools for applications-> | package
  | libpng12-devel-32bit        | Development Tools for applications-> | package
linux-8zs1:~ #

That is useful information and I am trying to put it to use now because this Nixnote package has yet another dependency problem. I am unable to enter my Evernote information into Nixnote and have discovered that I am missing libssl 0.9.8. Unfortunately I am unable to install it although I have searched for it and found it. I have been on the Nixnote site and the developer has assured me libssl 0.9.8 is required. So if I can search for it and find it why can’t I install it? It does say “Reading installed packages” which would suggest it’s installed but I think it isn’t. This puzzles me :\

tom@linux-p5bi:~> zypper se libssl 0.9.8
Loading repository data...
Reading installed packages...

S | Name                  | Summary                                     | Type   
--+-----------------------+---------------------------------------------+--------
  | libopenssl0_9_8       | Secure Sockets and Transport Layer Security | package
  | libopenssl0_9_8-32bit | Secure Sockets and Transport Layer Security | package
tom@linux-p5bi:~> sudo zypper install libssl 0.9.8
root's password:
Loading repository data...
Reading installed packages...
'0.9.8' not found in package names. Trying capabilities.
No provider of '0.9.8' found.
'libssl' not found in package names. Trying capabilities.
No provider of 'libssl' found.
Resolving package dependencies...

Nothing to do.
tom@linux-p5bi:~> 


Oh nevermind! I figured it out. libssl is just an abbreviation for libopenssl. lol!

Another searching option would be

$rpm -q --whatprovides ssl
openssl-1.0.1e-1.1.1.x86_64

zypper install libopenssl0_9_8