XBMC Community Forum
[RELEASE] PicasaWeb - Picasa Web Albums Image Plugin Addon - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Picture Add-ons (/forumdisplay.php?fid=150)
+---- Thread: [RELEASE] PicasaWeb - Picasa Web Albums Image Plugin Addon (/showthread.php?tid=83499)

Pages: 1 2 3 4 5 6 7 8 9 10 11


- ruuk - 2010-11-30 03:09

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.


- spiff - 2010-11-30 11:29

deps ARE resolved when you install from zip. somebody probably extracted the zip manually...


- astronaute - 2011-06-28 17:41

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



- astronaute - 2011-06-28 19:21

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)


- astronaute - 2011-07-16 14:49

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



- ruuk - 2011-09-22 20:08

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.


- steffen_b - 2011-10-08 22:59

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()


- Kempniu - 2012-01-05 21:08

Confirmed, I'm getting the exact same error on my Eden Beta 1 install.


- ruuk - 2012-01-07 21:35

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.


- denhams - 2012-01-08 13:16

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.