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
180 stars 41 forks source link

app (1.0.25) crashing on startup, mac #13

Closed philnate closed 9 years ago

philnate commented 9 years ago

Getting this in the log file only. App shortly displays the main window but then closes:

<log4j:event logger="FloydPink.Flickr.Downloadr.UI.MainClass" timestamp="1418139986569" level="INFO" thread="1"><log4j:message>Application Start.</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.MainClass" method="Main" file="" line="0" /></log4j:event>
<log4j:event logger="DotNetOpenAuth" timestamp="1418139987095" level="INFO" thread="1"><log4j:message>DotNetOpenAuth, Version=4.3.4.13329, Culture=neutral, PublicKeyToken=2780ccd10d57b246 (official)</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="DotNetOpenAuth.Loggers.Log4NetLogger" method="Info" file="" line="0" /></log4j:event>
<log4j:event logger="DotNetOpenAuth" timestamp="1418139987097" level="INFO" thread="1"><log4j:message>Reporting will use isolated storage with scope: User, Domain, Assembly</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="DotNetOpenAuth.Loggers.Log4NetLogger" method="InfoFormat" file="" line="0" /></log4j:event>
<log4j:event logger="DotNetOpenAuth.Messaging.Channel" timestamp="1418139987194" level="INFO" thread="1"><log4j:message>Prepared outgoing AccessProtectedResourceRequest (1.0.1) message for https://api.flickr.com/services/rest: 
    oauth_stuff
    nojsoncallback: 1
    format: json
    extras: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o
    method: flickr.test.login
</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="DotNetOpenAuth.Loggers.Log4NetLogger" method="InfoFormat" file="" line="0" /></log4j:event>
<log4j:event logger="DotNetOpenAuth.Messaging.Channel" timestamp="1418139997959" level="INFO" thread="Threadpool worker"><log4j:message>Prepared outgoing AccessProtectedResourceRequest (1.0.1) message for https://api.flickr.com/services/rest: 
    oauth_stuff
    user_id: x
    nojsoncallback: 1
    format: json
    extras: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o
    method: flickr.people.getInfo
</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="DotNetOpenAuth.Loggers.Log4NetLogger" method="InfoFormat" file="" line="0" /></log4j:event>
<log4j:event logger="DotNetOpenAuth.Messaging.Channel" timestamp="1418140002285" level="INFO" thread="1"><log4j:message>Prepared outgoing AccessProtectedResourceRequest (1.0.1) message for https://api.flickr.com/services/rest: 
    oauth_stuff
    user_id: x
    safe_search: 1
    per_page: 100
    page: 1
    nojsoncallback: 1
    format: json
    extras: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o
    method: flickr.people.getPublicPhotos
</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="DotNetOpenAuth.Loggers.Log4NetLogger" method="InfoFormat" file="" line="0" /></log4j:event>
floydpink commented 9 years ago

Thank you for reporting this.

As the default log level is set to log only INFO and higher in severity, the log is not giving any clues.

Could you please make these changes and try starting the app one more time?

  1. Open Terminal
  2. Open the log configuration file using TextEdit using this command open -a /Applications/TextEdit.app/ /Applications/flickrdownloadr/flickr\ downloadr.app/Contents/MacOS/bin/flickrdownloadr.log4net
  3. Edit the file to update the logging level to DEBUG by changing the line that reads <level value="INFO" /> to <level value="DEBUG" />
  4. Restart the app and when it crashes again, please post the updated log file
philnate commented 9 years ago

Please find the last log lines before crash. I know at least what's the issue. All my pictures are private and on startup, the app tries to load my public pictures, which fails (somehow). Once I turn at least one picture public it's running nicely.

<log4j:event logger="DotNetOpenAuth.Messaging.Bindings" timestamp="1418154826238" level="DEBUG" thread="1"><log4j:message>Constructed signature base string: POST&amp;https%3A%2F%2Fapi.flickr.com%2Fservices%2Frest&amp;extras%3Ddescription%252C%2520license%252C%2520date_upload%252C%2520date_taken%252C%2520owner_name%252C%2520icon_server%252C%2520original_format%252C%2520last_update%252C%2520geo%252C%2520tags%252C%2520machine_tags%252C%2520o_dims%252C%2520views%252C%2520media%252C%2520path_alias%252C%2520url_sq%252C%2520url_t%252C%2520url_s%252C%2520url_q%252C%2520url_m%252C%2520url_n%252C%2520url_z%252C%2520url_c%252C%2520url_l%252C%2520url_o%26format%3Djson%26method%3Dflickr.people.getPublicPhotos%26nojsoncallback%3D1%26oauth_consumer_key%3Dd122cedb03d705b5642433c54c6a327f%26oauth_nonce%3DIkPkoPjV%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1418154826%26oauth_token%3D72157648549864376-d353ddff30078691%26oauth_version%3D1.0%26page%3D1%26per_page%3D100%26safe_search%3D1%26user_id%3D107374877%2540N08</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="DotNetOpenAuth.Loggers.Log4NetLogger" method="DebugFormat" file="" line="0" /></log4j:event>
<log4j:event logger="DotNetOpenAuth.Messaging.Bindings" timestamp="1418154826239" level="DEBUG" thread="1"><log4j:message>Binding element DotNetOpenAuth.OAuth.ChannelElements.SigningBindingElementChain applied to message.</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="DotNetOpenAuth.Loggers.Log4NetLogger" method="DebugFormat" file="" line="0" /></log4j:event>
<log4j:event logger="DotNetOpenAuth.Messaging.Channel" timestamp="1418154826240" level="INFO" thread="1"><log4j:message>Prepared outgoing AccessProtectedResourceRequest (1.0.1) message for https://api.flickr.com/services/rest: 
    oauth_stuff
    user_id: x
    safe_search: 1
    per_page: 100
    page: 1
    nojsoncallback: 1
    format: json
    extras: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o
    method: flickr.people.getPublicPhotos
</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="DotNetOpenAuth.Loggers.Log4NetLogger" method="InfoFormat" file="" line="0" /></log4j:event>
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" timestamp="1418154826527" level="DEBUG" thread="Threadpool worker"><log4j:message>UpdateUI</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" method="UpdateUI" file="" line="0" /></log4j:event>
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" timestamp="1418154826529" level="DEBUG" thread="Threadpool worker"><log4j:message>SetupTheImageGrid</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" method="SetupTheImageGrid" file="" line="0" /></log4j:event>
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" timestamp="1418154826529" level="DEBUG" thread="1"><log4j:message>UpdateSelectionButtons</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" method="UpdateSelectionButtons" file="" line="0" /></log4j:event>
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" timestamp="1418154826532" level="DEBUG" thread="Threadpool worker"><log4j:message>SetupTheImageRow</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" method="SetupTheImageRow" file="" line="0" /></log4j:event>
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" timestamp="1418154826534" level="DEBUG" thread="Threadpool worker"><log4j:message>AddImageToRow</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" method="AddImageToRow" file="" line="0" /></log4j:event>
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" timestamp="1418154826535" level="DEBUG" thread="Threadpool worker"><log4j:message>AddImageToRow</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" method="AddImageToRow" file="" line="0" /></log4j:event>
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" timestamp="1418154826536" level="DEBUG" thread="Threadpool worker"><log4j:message>AddImageToRow</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" method="AddImageToRow" file="" line="0" /></log4j:event>
<log4j:event logger="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" timestamp="1418154826537" level="DEBUG" thread="Threadpool worker"><log4j:message>AddImageToRow</log4j:message><log4j:properties><log4j:data name="log4japp" value="flickr-downloadr.exe" /><log4j:data name="log4net:Identity" value="" /><log4j:data name="log4net:HostName" value="localhost.local" /><log4j:data name="log4jmachinename" value="localhost.local" /><log4j:data name="log4net:UserName" value="philnate" /></log4j:properties><log4j:locationInfo class="FloydPink.Flickr.Downloadr.UI.Windows.BrowserWindow" method="AddImageToRow" file="" line="0" /></log4j:event>
floydpink commented 9 years ago

Ah, that is an awesome find! The "jump to page" functionality that was recently added was blowing up when the photos list is empty.

I will have a fix released soon.

Thanks!