Active Topics

 



Notices


Reply
Thread Tools
Posts: 85 | Thanked: 79 times | Joined on Nov 2007 @ Erfurt, Germany
#1
I am happy to announce the second release of the canola flickr-plugin, available in extras since a few minutes.

The following changes were made since the last release:

* Added new folder "Search", which will contain the different search options
* Moved mainmenu items a little bit
* Added "Search by tag (global)" option which searches for tags in images of all users
* Added "Search groups" option to search for certain group names
* Updated Flickr search operations, filter results - show only photos, added tag_mode="all" - all specified tags must be includes in the search results
* Try to handle exception while downloading files to avoid corrupt files in the download folder
* Conflict with Canola2 beta10 to avoid breakage of the plugin when beta10 is about to be installed
* Changed internal structure of the Image-, Group- and Contactlistings to allow using the new page-switch widget of Canola2 beta10 like it is already used in the youtube plugin (not yet working)
* Speed up searching files in the local cache a lot
* Abort downloading images when you leave a image listing, this avoids a lot of unnecessary download traffic (the currently running download will be finished - this may result in adding the image twice to the image-list, if you leave and re-enter the same listing again before the download finished, this bug will be addressed soon)
* Check if enough space is available before downloading images, display error message ist not enough space is left
* Show meaningful messages when no items are found in the listings of photosets, contacts, photos, favorites and groups
* Added a "Add to favorites" option to the context-menu of images
* Depend on python-flickrapi (>= 1.2-1)
* Added an Info option to the context menu of images, which currently displays the name of the image, the owner of the image, the date the image was taken, a small thumbnail, the description and the tags of the image
* Added custom RowRenderers for listings of Photos, Photosets, Contacts and Groups, all of them are displaying a nice thumbnail and at least for Photos and Photosets, some additional information
* Added context menus to Photosets, Groups and Contacts, displaying some additional information about the corresponding item
* Renamed Interesting Images option to Explore, Explore now contains sub-options for showing the Interesting photos of the last 7 days
* Renamed "Latest Images" to Photostream, show the 30 newest photos instead of the 20 latest ones
* Added new option Tags under Explore, with the suboptions "Hot tags (today)" and "Hot tags (this week)", shows the "hottest" tags from flickr and the newest corresponding images
* Added "Recently uploaded photos" option to Explore page
* Added option to see the comments for photos in the photo context menu
* Delete /home/user/.canola/plugins.pickle in postinst when upgrading from an old version (< 0.0.4) to circumvent a problem with the new context options (would show up empty)

For some more details and screenshots, see my blog-post at http://blog.geekbu.de/2008/12/canola-flickr-010/.
 
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#2
Thanks a lot for the plugin

But, whenever I view a photo, it won't allow me to do anything, ie click the buttons. I can't go to the next photo, play slideshow, rotate, zoom, etc.

I can get to all of them in the list, then click it and view, though. I have to use the hardware button to get back from the picture.

Think you can help? (the plugin worked, albeit slowly, before the update. And, I ran a canola-cleanup and reinstalled everything from scratch to make sure it was this update and not something stupid I did...)

Thanks alot for this very useful software

EDIT
Console output when run as user:

Code:
Nokia-N810-23-14:~$ canola
1229871102.2378 ERROR controller:142:_error_handler() CanolaDaemon error: org.freedesktop.DBus.Python.IndexError: Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/dbus/service.py", line 696, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "canolad/daemon.py", line 244, in start_monitoring
  File "canolad/haltab.py", line 97, in start_monitoring
  File "canolad/haltab.py", line 118, in read_mount_file
IndexError: list index out of range

Traceback (most recent call last):
  File "edje.c_edje_object.pxi", line 59, in edje.c_edje.signal_cb
  File "python-terra/ui/screen.py", line 74, in cb
  File "/usr/lib/python2.5/site-packages/efl_utils/callbacks.py", line 14, in cb
  File "python-terra/ui/window.py", line 438, in inform_end
  File "canola-core/images/ui.py", line 856, in transition_finished
  File "canola-core/images/ui.py", line 759, in controls_show
  File "python-terra/ui/window.py", line 505, in controls_show
  File "canola-core/settings/ui/ui.py", line 200, in has_options
  File "python-terra/core/model.py", line 283, in load
  File "canola-core/utils/model.py", line 21, in do_load
  File "canola-core/utils/model.py", line 36, in _load_ordered
  File "canola-flickr/flickr/model.py", line 862, in __init__
  File "canola-flickr/flickr/flickr.py", line 578, in is_favorite
TypeError: iteration over non-sequence

Last edited by Aisu; 2008-12-21 at 20:55.
 
Posts: 85 | Thanked: 79 times | Joined on Nov 2007 @ Erfurt, Germany
#3
Thank you for your feedback, i am pretty shure about what is causing your problem, and i am already working on it.

The problems seems to be that you have not marked any photo from Flickr as favorite (i must admit that i did not have this case in mind when i implemented this part of the plugin).

As a workaround until i have a good solution for this issue, you can visit the Flickr page and mark an arbitary photo (may not be a photo from yourself) as a favorite, please report here if this fixes the problem you are seeing.
 
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#4
Thanks a lot, worked perfectly
 
Posts: 85 | Thanked: 79 times | Joined on Nov 2007 @ Erfurt, Germany
#5
Originally Posted by Aisu View Post
Thanks a lot, worked perfectly
Good to hear that.

In the meantime i fixed the code of the plugin, so this should not happen anymore. The fixed version (0.1.1+beta9-1) should be available in extras since a few minutes, maybe you can test if this version works after removing your "workaround-favorite" again!?
 

The Following User Says Thank You to Chelli For This Useful Post:
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#6
Works perfectly, mon amie! Thanks so much for the help and quick response. I love this plugin!
 
Posts: 2 | Thanked: 0 times | Joined on Dec 2008
#7
First up, thanks for the awesome plugin! I love the idea, and I'm sure I'll love the product.

The plugin seemed to install just fine. It asked for auth for my flickr account (which I of course granted). But every time I try to bring up my flickr through Canola, it gives me a message:

"You are not logged in. Please switch to your browser and allow Canola-flickr access to your flickr account."

Now one thing I noticed was that in your comments, the plugin relies on python-flickrapi, which is not installed on my N800 (os2008 non-diablo).

I enabled maemo-extras from gronmayer but i'm not seeing phython-flickrapi show up in my installable apps.

Any pointers? I'm a total newb with the nseries.

Thanks again, and happy holidays!
 
Posts: 85 | Thanked: 79 times | Joined on Nov 2007 @ Erfurt, Germany
#8
Originally Posted by twofish View Post
First up, thanks for the awesome plugin! I love the idea, and I'm sure I'll love the product.


The plugin seemed to install just fine. It asked for auth for my flickr account (which I of course granted). But every time I try to bring up my flickr through Canola, it gives me a message:

"You are not logged in. Please switch to your browser and allow Canola-flickr access to your flickr account."
Hmm, this really is strange, this message should only be show if something was wrong with authorization or if there is a problem with the network. Are you shure you can connect to the flickr page from the tablet?

Anyway, it maybe really is a poblem with the plugin, you could start canola from xterm via "canola -vvv" and post the output here, especially the lines which appear when you try to open the flickr plugin.

Now one thing I noticed was that in your comments, the plugin relies on python-flickrapi, which is not installed on my N800 (os2008 non-diablo).

I enabled maemo-extras from gronmayer but i'm not seeing phython-flickrapi show up in my installable apps.
Well, if the browser was started and if it opened the flickr page, the you definetely have python-flickrapi installed, this part is handled by python-flickrapi.

It might be confusing, but the application manager does not show all available packages, it (should) show only the ones which are relevant for the end-user, python-flickrapi (like most other python packages) is not visible in the application manager. If you want to see, if a package is available and/or installed, you can always use "apt-cache policy packagename" in xterm or if you are logged in via ssh.


Regards,
Thomas
 
Posts: 2 | Thanked: 0 times | Joined on Dec 2008
#9
hey!

Yep, I can get to flickr just fine from the tablet. The page loaded up the first time, asking for authorization. I authorized, then the error. I removed the auth and tried again, same deal. weird.

Here's the output that I could see from trying the flickr part. I truncated it for posting to just flickr. If you need to see more, just lemme know.

Code:
1230666067.7014 DEBUG threaded_func:83:_run() threaded func ThreadedFunction(finished_cb=<function refresh_finished at 0x41987370>, func=<function refresh at 0x419872b0>, args=(), kargs={}) raised an exception ValueError('time data did not match format: data=2008-05-00 20:24:27  fmt=%Y-%m-%d %H:%M:%S',)
Traceback (most recent call last):
  File "python-terra/core/threaded_func.py", line 80, in _run
  File "canola-flickr/flickr/model.py", line 269, in refresh
  File "canola-flickr/flickr/flickr.py", line 39, in new_def
  File "canola-flickr/flickr/flickr.py", line 574, in get_favorites
  File "canola-flickr/flickr/flickr.py", line 104, in _parse_photolist
  File "/usr/lib/python2.5/_strptime.py", line 330, in strptime
ValueError: time data did not match format:  data=2008-05-00 20:24:27  fmt=%Y-%m-%d %H:%M:%S
1230666070.8770 DEBUG model:229:_do_unload() unloading MainModelFolder(name='Flickr', parent=True, children=False) ...
 
Posts: 85 | Thanked: 79 times | Joined on Nov 2007 @ Erfurt, Germany
#10
Originally Posted by twofish View Post
Here's the output that I could see from trying the flickr part. I truncated it for posting to just flickr. If you need to see more, just lemme know.

Code:
1230666067.7014 DEBUG threaded_func:83:_run() threaded func ThreadedFunction(finished_cb=<function refresh_finished at 0x41987370>, func=<function refresh at 0x419872b0>, args=(), kargs={}) raised an exception ValueError('time data did not match format: data=2008-05-00 20:24:27  fmt=%Y-%m-%d %H:%M:%S',)
Traceback (most recent call last):
  File "python-terra/core/threaded_func.py", line 80, in _run
  File "canola-flickr/flickr/model.py", line 269, in refresh
  File "canola-flickr/flickr/flickr.py", line 39, in new_def
  File "canola-flickr/flickr/flickr.py", line 574, in get_favorites
  File "canola-flickr/flickr/flickr.py", line 104, in _parse_photolist
  File "/usr/lib/python2.5/_strptime.py", line 330, in strptime
ValueError: time data did not match format:  data=2008-05-00 20:24:27  fmt=%Y-%m-%d %H:%M:%S
1230666070.8770 DEBUG model:229:_do_unload() unloading MainModelFolder(name='Flickr', parent=True, children=False) ...
Hmm, looks like one of your favorites in Flickr has a weird "taken" date, "2008-05-00 20:24:27", which can not be parsed, it would be really nice if you could look on the flickr-page which photo it is and in case the photo is public, send me the URL of the photo-page.
 
Reply

Tags
canola, flickr


 
Forum Jump


All times are GMT. The time now is 00:36.