flickr-downloadr / flickr-downloadr-gtk

A cross-platform desktop app, written in Mono that would download (all or selected) photos from your photostream in their selected size along with their description, title and tags.
https://flickrdownloadr.com/
MIT License
177 stars 41 forks source link

Beta 3.3.2.2 Error Unhandled Exception #124

Open HDValentin opened 3 years ago

HDValentin commented 3 years ago

After installing the newest Version I get an unhandled Exception after clicking on Continue after the Start of the Program. Beta 3322

HDValentin commented 3 years ago

I get the same error in Version 3.3.3.2 on Windows 10: Flickrdownloader I've deleted the Settings in AppData before.

cutedaffodil commented 3 years ago

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:

  1. Open the log configuration file using Notepad/Notepad++: C:\Program Files (x86)\flickrdownloadr\flickrdownloadr.log4net
  2. Edit the file to update the logging level to ALL by changing the line that reads <level value="INFO" /> to <level value="ALL" />
  3. Restart the app and when it crashes again, please submit the log file from %USERPROFILE%\AppData\Roaming\flickr-downloadr\Logs\flickrdownloadr.log
HDValentin commented 3 years ago
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.MainClass" timestamp="1610199718071" level="FATAL" thread="1">
    <log4j:message>Unhandled Exception.</log4j:message>
    <log4j:properties>
        <log4j:data name="log4jmachinename" value="Kleener" />
        <log4j:data name="log4japp" value="flickr-downloadr.exe" />
        <log4j:data name="log4net:Identity" value="" />
        <log4j:data name="log4net:UserName" value="PC\user" />
        <log4j:data name="log4net:HostName" value="PC" />
    </log4j:properties>
    <log4j:throwable>
        <![CDATA[System.Net.WebException: Der Remotename konnte nicht aufgelöst werden: 'farm0.staticflickr.com'
   bei FloydPink.Flickr.Downloadr.UI.Windows.BaseWindow.<>c__DisplayClass3_0.<HandleException>b__0(Object <p0>, EventArgs <p1>)
   bei Gtk.Application.InvokeCB.Invoke()
   bei GLib.Timeout.TimeoutProxy.Invoke(IntPtr data)
   bei GLib.SourceProxy.HandlerInternal(IntPtr data)]]>
    </log4j:throwable>
    <log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.MainClass" method="OnUnhandledException" file="" line="0" />
</log4j:event>
cutedaffodil commented 3 years ago

Thank you for providing the log, @HDValentin - please try these steps and see if that helps:

  1. Ensure flickr downloadr is not running
  2. Open Command Prompt - press Start key and type Command Prompt and select Command Prompt app
  3. On the terminal, type rmdir /S '%USERPROFILE%\AppData\Roaming\flickr-downloadr' and type Y when it prompts Are you sure (Y/N)?

This removes all the existing data and you will need to sign in again.

HDValentin commented 3 years ago

I have already done that, before posting the issue here. I had to log in and authorize again. After that the error message came again.

cutedaffodil commented 3 years ago

Sorry to hear that, @HDValentin - if possible, please try all these steps one more time:

  1. Ensure flickr downloadr is not running
  2. Open Command Prompt - press Start key and type Command Prompt and select Command Prompt app
  3. On the terminal, type rmdir /S '%USERPROFILE%\AppData\Roaming\flickr-downloadr' and type Y when it prompts Are you sure (Y/N)?
  4. Open the log configuration file using Notepad/Notepad++: C:\Program Files (x86)\flickrdownloadr\flickrdownloadr.log4net
  5. Edit the file to update the logging level to ALL by changing the line that reads <level value="INFO" /> to <level value="ALL" />
  6. Restart the app and when it crashes again, please submit the log file from %USERPROFILE%\AppData\Roaming\flickr-downloadr\Logs\flickrdownloadr.log

This should give us a log file that is a little larger than what you saw last time (hopefully).

Thank you for working with us to get to a resolution.

HDValentin commented 3 years ago

The program is creating a secondary configuration file flickrdownloadr.log4net in %USERPROFILE%\AppData\Roaming\flickr-downloadr. There I changed it also into 'ALL'. This is the result:

ShowSpinner ShowSpinner UpdateProgress UpdateUI InitializeGrid SetupRow AddItemToRow AddItemToRow comboboxPageChange UpdateSelectionButtons comboboxPageChange UpdateSelectionButtons AddItemToRow AddItemToRow AddItemToRow AddItemToRow AddItemToRow SetupRow AddItemToRow AddItemToRow AddItemToRow AddItemToRow AddItemToRow Unhandled Exception.c__DisplayClass3_0.b__0(Object , EventArgs ) bei Gtk.Application.InvokeCB.Invoke() bei GLib.Timeout.TimeoutProxy.Invoke(IntPtr data) bei GLib.SourceProxy.HandlerInternal(IntPtr data)]]> ctor