flickr-downloadr-gtk
flickr-downloadr-gtk copied to clipboard
Unhandled exception. Version 3.3.2.2
There's a missing file in the install on ubuntu using the .run file.
./flickrdownloadr
Fatal Error: System.ComponentModel.Win32Exception (0x80004005): Cannot find the specified file
at FloydPink.Flickr.Downloadr.UI.Windows.BaseWindow+<>c__DisplayClass3_0.<HandleException>b__0 (System.Object <p0>, System.EventArgs <p1>) [0x00000] in <cc0d9b49be6c4a1dab1766810f39f4b7>:0
at Gtk.Application+InvokeCB.Invoke () [0x00000] in <91487213bf394f4aaf87012594abed2f>:0
at GLib.Timeout+TimeoutProxy.Handler (System.IntPtr data) [0x0003c] in <918680a31aa84cb89cfa7cab56ea29b8>:0 ... False`
I also rolled back to 2.8.0.1 as well and got the exact same error message. I figured since it is built on Microsoft code I would try it under my qemu/kvm win10 box but was met with... nothing. A short thinking circle then nothing. The log file (contents below) seems to indicate it's got somethign to do with this missing UI file from the ubuntu install.
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.MainClass" timestamp="1607439165158" level="INFO" thread="1"><log4j:message>Application Start.</log4j:message><log4j:properties><log4j:data name="log4jmachinename" value="DESKTOP-windows" /><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:UserName" value="DESKTOP-windows\User" /><log4j:data name="log4net:HostName" value="DESKTOP-windows" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.MainClass" method="Main" file="" line="0" /></log4j:event>
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.MainClass" timestamp="1607439165180" level="INFO" thread="1"><log4j:message>Found GTK# version 2.12.45</log4j:message><log4j:properties><log4j:data name="log4jmachinename" value="DESKTOP-windows" /><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:UserName" value="DESKTOP-windows\User" /><log4j:data name="log4net:HostName" value="DESKTOP-windows" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.MainClass" method="CheckWindowsGtk" file="" line="0" /></log4j:event>
Systeminfo:
$ screenfetch
./+o+- ada@adastudio
yyyyy- -yyyyyy+ OS: Ubuntu 20.10 groovy
://+//////-yyyyyyo Kernel: x86_64 Linux 5.8.0-31-lowlatency
.++ .:/++++++/-.+sss/` Uptime: 1d 2h 27m
.:++o: /++++++++/:--:/- Packages: 3815
o:+o+:++.`..```.-/oo+++++/ Shell: bash 5.0.17
.:+o:+o/. `+sssoo+/ Resolution: 2944x1280
.++/+:+oo+o:` /sssooo. DE: KDE 5.74.0 / Plasma 5.19.5
/+++//+:`oo+o /::--:. WM: KWin
\+/+o+++`o++o ++////. GTK Theme: Breeze [GTK2/3]
.++.o+++oo+:` /dddhhh. Icon Theme: Breeze-Blur-Glassy Dark
.+.o+oo:. `oddhhhh+ Disk: 822G / 1.2T (77%)
\+.++o+o``-````.:ohdhhhhh+ CPU: Intel Core i7-4770K @ 8x 3.9GHz [53.0°C]
`:o+++ `ohhhhhhhhyo++os: GPU: GeForce GTX 1080
.o:`.syhhhhhhh/.oo++o` RAM: 13913MiB / 31988MiB
/osyyyyyyo++ooo+++/
````` +oo+++o\:
`oo++.
$ mono --version
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3 Mon Apr 27 19:25:46 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: hybrid
GC: sgen (concurrent by default)
Windows testing was done with qemu-system-x86_64
.
Probably the same issue as #124 #122 #121
I'll try and install it under wine and maybe see if there is a newer version of mono from other sources than ubuntu's standard ones.
Thank you for reporting this.
Could you please submit the log file after increasing the log verbosity - this might help us to see the issue that you're running into.
For this, please make these configuration changes and start the app and after it crashes, capture the log file:
- Open the log configuration file at
/opt/flickrdownloadr/flickrdownloadr.log4net
- Edit the file to update the logging level to
ALL
by changing the line that reads<level value="INFO" />
to<level value="ALL" />
- Restart the app and when it crashes again, please submit the log file from
$HOME/flickr-downloadr/Logs/flickrdownloadr.log
I installed the deb package for version 3.3.3.2 on my on KUbuntu 20.04 and getting the same error. In my case I had to change the log level in the log4net file that is located in ~/.config/flickr-downloadr. After that the file "log" (also located at ~/.config/flickr-downloadr) contained nothing except the exception already mentioned by @eyduh.
In my case the Exception occurs when I start the application and hit the login button.
Content of the log file:
(flickr-downloadr:23710): Gtk-WARNING **: 23:58:26.991: Unable to locate theme engine in module_path: "adwaita",
Fatal Error: System.ComponentModel.Win32Exception (0x80004005): Cannot find the specified file
at FloydPink.Flickr.Downloadr.UI.Windows.BaseWindow+<>c__DisplayClass3_0.<HandleException>b__0 (System.Object <p0>, System.EventArgs <p1>) [0x00000] in <d31d5498881241a1b5432586386fc92c>:0
at Gtk.Application+InvokeCB.Invoke () [0x00000] in <91487213bf394f4aaf87012594abed2f>:0
at GLib.Timeout+TimeoutProxy.Handler (System.IntPtr data) [0x0003c] in <918680a31aa84cb89cfa7cab56ea29b8>:0 ... False
From version 3.4.5.1:
$ ./flickrdownloadr
Fatal Error: System.ComponentModel.Win32Exception (0x80004005): Cannot find the specified file
at FloydPink.Flickr.Downloadr.UI.Windows.BaseWindow+<>c__DisplayClass3_0.<HandleException>b__0 (System.Object <p0>, System.EventArgs <p1>) [0x00000] in <8095045cd9ae44eeb2ddbee71b253e64>:0
at Gtk.Application+InvokeCB.Invoke () [0x00000] in <7aab76e87bce48a4b45cf7fa613cb70c>:0
at GLib.Timeout+TimeoutProxy.Invoke (System.IntPtr data) [0x00000] in <ed39f21b9e9343dcbd442a17ad356a9f>:0
at GLib.SourceProxy.HandlerInternal (System.IntPtr data) [0x00000] in <ed39f21b9e9343dcbd442a17ad356a9f>:0 ... False
Finally managed to get what I want using https://pypi.org/project/flickr-download/