I've instelled DocFetcher via snapd at my system with elemantaryOS 5.1. After starting the program I get an error messagew in a window named ExceptionInIntializationError with the content shown behind:
program.name=DocFetcher
program.version=1.1.25
program.build=20210525-2203
program.portable=true
java.runtime.name=OpenJDK Runtime Environment
java.runtime.version=1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
java.version=1.8.0_292
sun.arch.data.model=64
os.arch=amd64
os.name=Linux
os.version=5.4.0-107-generic
user.language=en
java.lang.ExceptionInInitializerError
at net.contentobjects.jnotify.linux.JNotifyAdapterLinux.<init>(JNotifyAdapterLinux.java:61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at net.contentobjects.jnotify.JNotify.<clinit>(JNotify.java:56)
at net.sourceforge.docfetcher.model.SimpleJNotifyListener.addWatch(SimpleJNotifyListener.java:69)
at net.sourceforge.docfetcher.model.IndexRegistry.load(IndexRegistry.java:428)
at net.sourceforge.docfetcher.gui.Application$6.run(Application.java:558)
Caused by: java.lang.RuntimeException: Error initializing fshook_inotify library. linux error code #24, man errno for more info
at net.contentobjects.jnotify.linux.JNotify_linux.<clinit>(JNotify_linux.java:51)
... 10 more
Because I'm not able to find the file /snap/docfetcher/4/opt/docfetcher/stacktrace_20220408_0747.txt
it is not possible to show the complete trace message :-/
How can I solve this problem?
Best regards
Ralf Ebert
Anonymous
Hi,
instead of using the snap package, you can try portable DocFetcher from the DocFetcher website.
Best regards
q:-) <= Quang
Duplicated bug report: https://sourceforge.net/p/docfetcher/bugs/2246/
I do not believe that # 2246 is a duplicate of this bug, as it describes another effect. I can not imagine that # 2244 causes an access error to a directory outside home, though access to a directory within Home works - - even if both errors occurred together.
But I will try your proposal ...
With the portable version of docfetcher **docfetcher-1.1.25-portable.zip ** I get also an ExceptionInInitializationError. I've attached the stacktrace to this report.
I have tried it with GTK2 and with GTK3 ...
It seems inotify is not correctly installed on your system. You can either try to fix that, or (re-)build all your indexes with the "Watch folders for file changes" option turned off in order to prevent usage of inotify.
Will be fixed in DocFetcher 1.1.27.