Release - PicasaWeb - Picasa Web Albums Image Plugin Addon

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #31
lewis Wrote:apologies, is this the error your looking for?

Code:
from elementtree import ElementTree
ImportError: No module named elementtree

The error is not in the script, the required elementree module is missing. If you installed the script from a .zip file XBMC might not have installed the dependencies. Try installing it from the repository. If that is how you installed it initially, then I don't know why the module is missing. You could also try to install my TVRage script from the repo which should cause the same required module to be added.

[Image: sig.jpg]
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #32
deps ARE resolved when you install from zip. somebody probably extracted the zip manually...
find quote
astronaute Offline
Junior Member
Posts: 28
Joined: Jun 2011
Reputation: 0
Post: #33
Hello there,

Is there anything we can do about not being able to see private photos ?

I am on Win XP and absolutely no proxy (I have a router though)

It is weird that I can see thumbnails of my albums while hovering them, but when clicking on it, no photos are displayed (0 items).

Any progress on this SSL*thing ?

Code:
17:21:45 T:3460 M:1610604544    INFO: initializing python engine.
17:21:45 T:3460 M:1610604544   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/python/python24.dll)
17:21:45 T:3460 M:1609338880   DEBUG:   msg: 'import site' failed; use -v for traceback
17:21:45 T:3460 M:1609232384   DEBUG: new python thread created. id=1
17:21:45 T:3460 M:1609216000   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Picasa plugin...
17:21:45 T:2232 M:1609216000   DEBUG: thread start, auto delete: 0
17:21:45 T:2232 M:1609211904   DEBUG: Python thread: start processing
17:21:45 T:2232 M:1609076736   DEBUG:   msg: 'import site' failed; use -v for traceback
17:21:45 T:2232 M:1609043968  NOTICE: -->Python Interpreter Initialized<--
17:21:45 T:2232 M:1609039872   DEBUG: XBPyThread::Process - The source file to load is C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.image.picasa\default.py
17:21:45 T:2232 M:1609039872   DEBUG: XBPyThread::Process - Setting the Python path to C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.image.picasa;C:\Documents and Settings\Administrator\Application Data\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Documents and Settings\Administrator\Application Data\XBMC\addons\script.module.elementtree\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files\XBMC
17:21:45 T:2232 M:1609039872   DEBUG: XBPyThread::Process - Entering source directory C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.image.picasa
17:21:45 T:2232 M:1608196096   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
17:21:45 T:2232 M:1608196096   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_socket.pyd)
17:21:45 T:2232 M:1608130560   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
17:21:45 T:2232 M:1608130560   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_ssl.pyd)
17:21:45 T:2232 M:1607630848  NOTICE: None
17:21:45 T:2232 M:1607630848  NOTICE: None
17:21:45 T:2232 M:1607630848  NOTICE: None
17:21:45 T:2232 M:1607630848  NOTICE: default
17:21:45 T:2232 M:1607593984    INFO: Scriptresult: Success
17:21:45 T:2232 M:1607573504    INFO: Python script stopped
17:21:45 T:2232 M:1607573504   DEBUG: Thread 2232 terminating
find quote
astronaute Offline
Junior Member
Posts: 28
Joined: Jun 2011
Reputation: 0
Post: #34
FYI just tried in XBMC Live edition installed on hard drive, I've got exact same issue: Album folders have 1 thumbnail generated for the folder, and no items downloaded in it.

I don't think it is windows issue.

Any other thing I can test, I really need those private photos on my computer ?
(allowing public access is not an option)
find quote
astronaute Offline
Junior Member
Posts: 28
Joined: Jun 2011
Reputation: 0
Post: #35
Hey guys, this thread seams pretty dead, maybe there is another plugin for Picasa that actually works ?

One extra error for you ruuk if you are still watching this thread:

Quote:14:41:12 T:2914913136 M:1957797888 NOTICE: -->Python Interpreter Initialized<--
14:41:12 T:2914913136 M:1957797888 NOTICE: {'url': 'default', 'mode': '1'}
14:41:12 T:2914913136 M:1957797888 NOTICE: 1
14:41:12 T:2914913136 M:1957797888 NOTICE: default
14:41:12 T:2914913136 M:1957797888 NOTICE: None
14:41:12 T:2914913136 M:1957797888 NOTICE: default
14:41:13 T:2914913136 M:1956413440 NOTICE: PHOTOS: LOGIN 1
14:41:13 T:2914913136 M:1956413440 ERROR: Error Type: exceptions.TypeError
14:41:13 T:2914913136 M:1956413440 ERROR: Error Contents: getFile() takes exactly 3 arguments (2 given)
14:41:13 T:2914913136 M:1956413440 ERROR: Traceback (most recent call last):
File "/home/astronaute/.xbmc/addons/plugin.image.picasa/default.py", line 350, in ?
picasaPhotosSession()
File "/home/astronaute/.xbmc/addons/plugin.image.picasa/default.py", line 46, in __init__
self.getParamString('user',self.user,no_unquote=True))
File "/home/astronaute/.xbmc/addons/plugin.image.picasa/default.py", line 144, in go
if not self.login(): return False #only login if we have to
File "/home/astronaute/.xbmc/addons/plugin.image.picasa/default.py", line 87, in login
response = self.doCaptcha(curl,ct+1)
File "/home/astronaute/.xbmc/addons/plugin.image.picasa/default.py", line 116, in doCaptcha
fn = self.getFile(url)
TypeError: getFile() takes exactly 3 arguments (2 given)
14:41:13 T:3079219072 M:1955905536 ERROR: GetDirectory - Error getting plugin://plugin.image.picasa/?url=default&mode=1
14:41:13 T:3079219072 M:1955905536 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.picasa/?url=default&mode=1) failed
14:41:13 T:3005209456 M:1955905536 NOTICE: -->Python Interpreter Initialized<--
14:41:13 T:3005209456 M:1955905536 NOTICE: None
14:41:13 T:3005209456 M:1955905536 NOTICE: None
14:41:13 T:3005209456 M:1955905536 NOTICE: None
14:41:13 T:3005209456 M:1955905536 NOTICE: default
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #36
Sorry for no replies. My subscribed threads were not updating my email, so I didn't know there were new posts. I'll look into the error when I get some time.

[Image: sig.jpg]
find quote
steffen_b Offline
Member
Posts: 52
Joined: Dec 2009
Reputation: 0
Post: #37
Login seems not to work in different ways as it seems. One installation (Dharma):

21:14:56 T:2888612720 M:1893314560 ERROR: Error Contents: [403, 'Forbidden', 'Token expired']

or another (pre-eden):

22:50:09 T:140200280549120 ERROR: Error Type: <type 'exceptions.TypeError'>
22:50:09 T:140200280549120 ERROR: Error Contents: 'NoneType' object is not callable
22:50:09 T:140200280549120 ERROR: Traceback (most recent call last):
File "/var/lib/vdr/.xbmc/addons/plugin.image.picasa/default.py", line 350, in <module>
picasaPhotosSession()
find quote
Kempniu Offline
Member
Posts: 66
Joined: Apr 2011
Reputation: 0
Post: #38
Confirmed, I'm getting the exact same error on my Eden Beta 1 install.
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #39
I'll have to check into this and also see about updating to Eden. In all honesty this Addon is not a high priority for me since I don't even use Picasa, so the best I can say is that I will probably get to it eventually. There was another Picasa addon that looked promising, and I had hoped that that one could take this one's place (I've got enough addons going as it is). I'm not sure what's going on with that.

[Image: sig.jpg]
find quote
denhams Offline
Senior Member
Posts: 152
Joined: Jun 2010
Reputation: 1
Post: #40
If you are using Linux then you can try http://gdatafs.sourceforge.net/ as a workaround. It allows you to mount your Picasa photos as filesystem. You can then set your XBMC Pictures folder to point at that.

Stephen.
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #41
Just a quick post to let you all know that I've updated the app to Eden and also fixed the captcha bug. Just a few more tweaks and I'll post a zip for testing.

[Image: sig.jpg]
find quote
fryster Offline
Junior Member
Posts: 35
Joined: Jan 2010
Reputation: 0
Post: #42
ruuk Wrote:Just a quick post to let you all know that I've updated the app to Eden and also fixed the captcha bug. Just a few more tweaks and I'll post a zip for testing.

Looking forward to this, just recently started using Picassa and really like it, Many thanks!
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #43
Here's it is. Please test it and let me know how it goes. You have to open the settings and set your email and password if you want to do anything other than search Picasa.

Get it here:

http://picasaphotos-xbmc.googlecode.com/...-0.8.6.zip

Keep in mind that I don't use Picasa, I use flickr. So when you complain about bugs you gotta be extra nice, 'cause this addon is apparently done out of the kindness of my heart or something Smile

[Image: sig.jpg]
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,450
Joined: Apr 2004
Reputation: 20
Location: Knoxville, TN
Post: #44
Looks to be working fine. Only issue I see is when selecting a video it only shows a thumbnail of the video and does not play the video.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #45
kricker Wrote:Looks to be working fine. Only issue I see is when selecting a video it only shows a thumbnail of the video and does not play the video.

That's probably because I didn't account for there being videos on Picasa Smile
Pegged to the TODO list.

[Image: sig.jpg]
find quote
Post Reply