# Picasaweb Plex Plugin

**URL:** <https://forums.plex.tv/t/picasaweb-plex-plugin/1361>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [March 30, 2009, 10:15pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361 "2009-03-30T22:15:47Z")\
**Posts on this page:** 18\
**Page:** 3

<div class="post-metadata">

**Author:** ![oncleben31](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@oncleben31](https://forums.plex.tv/u/oncleben31)\
**Post date:** [June 22, 2009, 8:54am UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/41 "2009-06-22T08:54:18Z")

</div>

> [@](#):
>
> Be carefull I can’t use french string file in Picassa and my plugin since today.  
>   
> I suspect an auto update of the Framework.bundle.  
>   
> I’ve created[this post for this problem](http://forums.plexapp.com/index.php?showtopic=7348)

  
I was right Elan confirm a buggy update of the framework, he restores the last one. I will test my plugin. Perhaps it will resolves some of your issues.

---

<div class="post-metadata">

**Author:** ![Ian.G](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ian.g/32/423_2.png) [@Ian.G](https://forums.plex.tv/u/Ian.G)\
**Post date:** [June 24, 2009, 11:29am UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/42 "2009-06-24T11:29:57Z")

</div>

Hi guys,  
  
  
  
thanks again for all your support in developing this plugin.  
  
  
  
[Picasa](http://elan.plexapp.com/2009/06/23/new-plug-in-releases-4/) (along with others) made it into the AppStore today so all future updates will be automatic.  
  
  
  
Obviously any issues you find either PM me on the forums or continue to add onto the end of this thread.

---

<div class="post-metadata">

**Author:** ![oncleben31](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@oncleben31](https://forums.plex.tv/u/oncleben31)\
**Post date:** [July 6, 2009, 9:25am UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/43 "2009-07-06T09:25:35Z")

</div>

There is still issues with special French characters in Album’s name which are making the plugin to crash.   
  
Do you plan to work on it ? Have you a solution or does it required a plugin Framework evolution ?  
  
I can help if needed 🙂

---

<div class="post-metadata">

**Author:** ![Ian.G](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ian.g/32/423_2.png) [@Ian.G](https://forums.plex.tv/u/Ian.G)\
**Post date:** [July 6, 2009, 7:43pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/44 "2009-07-06T19:43:08Z")

</div>

Hi there,  
  
  
  
thanks for taking the time to report this to us.  
  
  
  
There is likely to be an issue with such characters - but its not entirely specific to the picasa Plugin. There is a version of the plugin framework that we are testing now that addresses this issue for the framework as a whole which should fix the issue for all plugins that run within Plex Media Server.  
  
  
  
You can read more about the issue over on the [Flickr plugin blog/thread](http://forums.plexapp.com/index.php?showtopic=6724)  
  
  
  
I’m guessing the error that appears in the plugin log looks something like this ?

```auto

UnicodeEncodeError: 'ascii' codec can't encode character u'\u????' in position ??: ordinal not in range(128)

```

  
  
If you can get the error that is appearing in ~/Library/Logs/PMS Plugin Logs/com.plexapp.plugins.picasaweb.log and post it I can take a closer look for you.

---

<div class="post-metadata">

**Author:** ![oncleben31](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@oncleben31](https://forums.plex.tv/u/oncleben31)\
**Post date:** [July 6, 2009, 8:30pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/45 "2009-07-06T20:30:43Z")

</div>

Here is the log when I try to see my albums.  
  
[codebox]21:58:51.763709: com.plexapp.plugins.picasaweb : (Framework) Response OK  
  
21:58:53.871704: com.plexapp.plugins.picasaweb : (Framework) Handling request : /photos/Picasaweb/:/function/GetAlbumList/KGRwMApTJ3VzZXInCnAxClMnYmVub2l0cHJheCcKcDIKc1Mnc2VuZGVyJwpwMwooaVBNUy5PYmplY3Rz  
  
Ckl0ZW1JbmZvUmVjb3JkCnA0CihkcDUKUydpdGVtVGl0bGUnCnA2ClZNZXMgQWxidW1zCnA3CnNTJ3Rpd  
  
GxlMScKcDgKUydQaWNhc2EgV2ViIEFsYnVtcycKcDkKc1MndGl0bGUyJwpwMTAKVk1hIEdhbGVyaWUKcD  
  
ExCnNTJ2FydCcKcDEyClMnL3Bob3Rvcy9QaWNhc2F3ZWIvOi9yZXNvdXJjZXMvYXJ0LWRlZmF1bHQucG5  
  
nJwpwMTMKc2JzLg==  
  
21:58:53.872299: com.plexapp.plugins.picasaweb : (Framework) Calling named function ‘GetAlbumList’  
  
21:58:53.872559: com.plexapp.plugins.picasaweb : Getting gdata PhotoService  
  
21:58:53.872766: com.plexapp.plugins.picasaweb : Client authenticating against google as ‘benoitprax’  
  
21:58:55.662594: com.plexapp.plugins.picasaweb : (Framework) Response OK  
  
21:58:55.719882: com.plexapp.plugins.picasaweb : (Framework) An exception happened:  
  
Traceback (most recent call last):  
  
File “/Users/multimedia/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Plugin.py”, line 346, in \_\_run  
  
resultStr = result.Content()  
  
File “/Users/multimedia/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Objects.py”, line 109, in Content  
  
return XML.StringFromElement(self.ToElement())  
  
File “/Users/multimedia/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Objects.py”, line 177, in ToElement  
  
root.append(item.ToElement())  
  
File “/Users/multimedia/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Objects.py”, line 274, in ToElement  
  
return XMLObject.ToElement(self)  
  
File “/Users/multimedia/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Objects.py”, line 105, in ToElement  
  
el.set(key, unicode(self. **dict** [key]))  
  
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc3 in position 23: ordinal not in range(128)[/codebox]  
  
  
  
For your info I succeed in displaying the list of my albums with this hack (add .encode(‘utf8’) in ligne 245):

```auto

dir.Append(Function(DirectoryItem(GetPhotoList, title=album.title.text.decode('utf-8') + " (" + numphotos + ")", thumb=thumb, summary=GetAlbumSummary(album)), kind="album", albumid=album.gphoto_id.text, albumtitle=album.title.text, user=user))

```

  
With this hack, the framework uses decoded unicode strings (instead of classic string) and manages them very well.  
Need to add this type of hack evrywhere in the plugin.  
  
I wonder if the framework is planned to be release soon ? If not do you plan to patch the plugin ?

---

<div class="post-metadata">

**Author:** ![Ian.G](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ian.g/32/423_2.png) [@Ian.G](https://forums.plex.tv/u/Ian.G)\
**Post date:** [July 8, 2009, 7:41am UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/46 "2009-07-08T07:41:22Z")

</div>

Hi there,  
  
  
  
it would be interesting if you could add the following into the plugins **init**.py  
  
  
  
in the imports section at the top

```auto

import sys, locale

```

  
  
and at the very start of the plugins Start() method  
  

```auto

	reload(sys)<br />
	sys.setdefaultencoding("utf-8")

```

  
  
I think this will solve the problem across the board for the entire plugin. This stops the default codec for types from being ascii and switches the entire process over onto utf-8.  
  
This is similar to the fix we are testing within the framework itself.

---

<div class="post-metadata">

**Author:** ![oncleben31](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@oncleben31](https://forums.plex.tv/u/oncleben31)\
**Post date:** [July 8, 2009, 9:09pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/47 "2009-07-08T21:09:32Z")

</div>

OK it works great with your patch. Thanks.  
  
  
  
Some little remarks :

- There are information about the albums : Location, visibility, space used, etc… Do yo know if the google API allows to localize them ?  
- I’ve corrected a translation in the file, see attachment.  
- I don’t succeed in localizing the preferences. See this [post](http://forums.plexapp.com/index.php?showtopic=7075)  
- Don’t forget to make the plugin name localizable  
  
  
  
Do you know if you will deploy a patch or wait the framework update ?  
  
Hurry up you can be the first plugin in the AppStore for French speaking users. But there are competitors :rolleyes:

---

<div class="post-metadata">

**Author:** ![ugilad](https://avatars.discourse-cdn.com/v4/letter/u/8797f3/32.png) [@ugilad](https://forums.plex.tv/u/ugilad)\
**Post date:** [July 10, 2009, 3:36pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/48 "2009-07-10T15:36:53Z")

</div>

Hi,   
  
Awesome plugin!   
  
  
  
Two questions:

1. Is there a know issue with the “friends albums” feature? It does not seem to give me access to my picasaweb favorites  
2. Is it possible to use this plugin as the plex screensaver?

---

<div class="post-metadata">

**Author:** ![Ian.G](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ian.g/32/423_2.png) [@Ian.G](https://forums.plex.tv/u/Ian.G)\
**Post date:** [July 10, 2009, 6:55pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/49 "2009-07-10T18:55:14Z")

</div>

> [@](#):
>
> 1. Is there a know issue with the “friends albums” feature? It does not seem to give me access to my picasaweb favorites

  
  
This option shows 'Linked Galleries' - not the new favorites functionality in picasa - I dont think the picasa API exposes this yet as its a relatively new feature. It seems there are some changes taking place in picasa and fans and favorites seem to be replacing the linked galleries functionality.  
  

> [@](#):
>
> 1. Is it possible to use this plugin as the plex screensaver?

  
  
Yep - select an option - press 'C' to bring up the context menu and choose recursive slideshow. Obviously you have to start your music playing before but it does the job.  
  
Hope that helps.

---

<div class="post-metadata">

**Author:** ![oncleben31](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@oncleben31](https://forums.plex.tv/u/oncleben31)\
**Post date:** [July 13, 2009, 7:12pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/50 "2009-07-13T19:12:34Z")

</div>

> [@](#):
>
> Right,  
>   
>   
>   
> I’m just starting to do some of my dev env setup for this so I figured I’d document what I’m going to use to develop and test my Plex plugin in case it helps somebody else figure stuff out.  
>   
>   
>   
> **Dev & Plex runtime environment**  
>   
> Early '08 2.2GHz black Macbook with OS X 10.5.6  
>   
> 4GB RAM  
>   
> 500 GB HD  
>   
> Plex 0.7.13 pre compiled build.  
>   
>   
>   
> **Dev Toolset**  
>   
> [Eclipse 3.4.x](http://www.eclipse.org/downloads/) Ganymede SR2. As I’m new to python I dont really know if there is a more suited IDE (well other than vim) for it. I use Eclipse almost daily for J2EE and its a powerful and productive place to be.  
>   
>   
>   
> [PyDev Eclipse plugin](http://pydev.sourceforge.net/) - Python support for Eclipse including syntax colouring, python perspective and support for debugging (however I’m not sure there is any sort of test container other than Plex itself. There was a previous XMBC test harness for old style python plugins but I guess we are not quite that far with plex yet (and the need for this is less as there isnt the hassle of ftp to the xbox to test either).  
>   
>   
>   
> [PyAntTasks](http://code.google.com/p/pyanttasks/) custom [Apache Ant](http://ant.apache.org/) taskdefs to support python compilation and test etc. I really like apache ant - many other things like mavern have come along to help us Java developers but sometimes you cant beat the simplicity of this.   
>   
>   
>   
> You can stash this .jar file into /Applications/eclipse/plugins/org.apache.ant\_1.7.0.v200803061910/lib (That could change as Ant versions are incremented) and add it to your ant runtime path in Eclipse. You will also find that Eclipse spouts warnings about it not being able to find pyAntTasks.properties when you add the custom taskdef into your ant build file. The latest version of pyanttasks is compiled against Java 1.6 so you’ll need to add that to the list of installed JRE’s (if its not already there) and then configure the Ant external tool configuration to use this instead of the default on OS X (Java 1.5).  
>   
>   
>   
> **build.xml**  
>   
> My ant build script is now complete (even though I have no code LOL). Which has all the targets required (i.e. clean build dist) that allow me to build a Plex plugin bundle with the appropriate structure including any 3rd party libaries I depend upon, the plugins resources directory and property list.   
>   
>   
>   
> I’d like to be able to build info.plist from an svn or cvs tag but I’m not sure how to do this right now. The property list editor in the OS X dev kit will have to do for now.  
>   
>   
>   
> I’ve attached my build.xml in case anyone finds it useful. Its generic enough to take the plugin name from the ant.project.name property so providing you have src, etc, res and lib directories it requires no changes for other plugins. \<\_\<   
>   
>   
>   
> I suppose I’d better crack on and write some code now. I think my next bit of effort will be to understand how I can map nouns that come through in the HandleRequest callback to the contextual items in the tree I described in my first post so I know what I need to ask gdata for and when.  
>   
>   
>   
> Still have some concerns how I can capture and store picasa usernames and passwords but I’ll work off a hard wired set for now in my code.   
>   
>   
>   
> so far so good.  
>   
>   
>   
> **build.xml**  
>   
>   
>   
> I’ve just uploaded a new version of the Ant build script. It now has some additional targets that help with release and deployment tasks. The targets are:  
>   
>   
>   
> **build** - this just compiles all your source code and pulls together all your projects libaries and resources into a .bundle that can be deployed into Plex Media Server.  
>   
>   
>   
> **deploy** - actually deploys the plugins .bundle file into the Plex Media Server plugins directory. There is no support for doing things with Site Configurations right now but it will be simple to add. Right now i attempt to use an task down in here to invoke something like
> 
> ```auto
> 
> ps -ef | grep "Plex Media Server.app" | grep -v "grep"
> 
> ```
> 
>   
>   
> to check that Plex isn't running when the deploy target runs but I can't get it working right now. Just stop plex when you run this task to ensure your new plugin version loads up.  
>   
> \*\*release\*\* - builds a new .zip file containing your plugin's bundle based upon the plugins name and version (these are set via the plex.plugin.\* property set defined within the file).

  
I've tested your build.xml file and it works great but I didn't manage to have the other targets option in the project menu. I've just "build project" and "clean". Can you help me. I use the last release of eclipse : Galileo

---

<div class="post-metadata">

**Author:** ![Ian.G](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ian.g/32/423_2.png) [@Ian.G](https://forums.plex.tv/u/Ian.G)\
**Post date:** [July 14, 2009, 8:13pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/51 "2009-07-14T20:13:24Z")

</div>

> [@](#):
>
> I’ve tested your build.xml file and it works great but I didn’t manage to have the other targets option in the project menu. I’ve just “build project” and “clean”. Can you help me. I use the last release of eclipse : Galileo

  
  
I'm still on Ganymede.  
  
I have Galileo but I dont have all the plugins installed (just java for now). How are you finding it ? I want to move PyDev and PyAntTaks etc over onto the new version but I also need to be convinced that jgit/egit work etc. I still need to figure out how to make the git plugin place a project into a known local repository. I just need to learn more about git as I mainly use cvs and svn.  
  
I just did this.  
  
Open build.xml by context clicking 'Open with...' \> 'Ant Editor'  
  
Make sure you have the Outline view enabled on your workspace ('Window' \> 'Show View' \> 'Outline'). You should now see all the targets in your build script when you have the ant file selected.  
  
Select the target your want to run and context 'Run As' \> 'Ant build'. You can also click on 'Run As' \> 'External Tool Configurations' and configure specific actions (i.e if you want to override the default target which is 'build' so the 'deploy' always puts your latest build in the right place for Plex Media Server)

---

<div class="post-metadata">

**Author:** ![tjep](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@tjep](https://forums.plex.tv/u/tjep)\
**Post date:** [August 15, 2009, 3:32pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/52 "2009-08-15T15:32:32Z")

</div>

I just cannot seem to get this plugin to fetch my “private” galleries… (yes… I did tickt the box in preferences) - and the preferences file also show the vallue to be “true”… has anyone else tried this… ?!

---

<div class="post-metadata">

**Author:** ![Ian.G](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ian.g/32/423_2.png) [@Ian.G](https://forums.plex.tv/u/Ian.G)\
**Post date:** [August 17, 2009, 9:04am UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/53 "2009-08-17T09:04:24Z")

</div>

Hi again,  
  
  
  
I just updated my Plex setup this morning including pulling the latest release version of the Picasa plugin from the App store. I know when the plugin went live via the appstore the dev team made some subtle changes to how it works but it shouldnt effect what you are trying to do.  
  
  
  
This is what I now see on the prefs pane…

[![](http://lh6.ggpht.com/_xmYCauRuEEY/SokYqPls_VI/AAAAAAAAHvo/SjxHOpCyBRM/s800/plex-plugin-new-prefs.jpg) ](http://lh6.ggpht.com/_xmYCauRuEEY/SokYqPls_VI/AAAAAAAAHvo/SjxHOpCyBRM/s800/plex-plugin-new-prefs.jpg)

  
  
do you see both of the on/off preferences for 'Show My Private Albums' and 'Show summary information on photographs' ? If not - you could try deleting the file that holds the plugin's preferences - this way the plugin will re-create it again next time Plex is started up (you'll obviously have to re-enter your login details etc.)  
  
 The file to delete is.  
  

```auto

 ~/Library/Application Support/Plex Media Server/Plug-in Support/Preferences/com.plexapp.plugins.picasaweb.xml

```

  
  
Everything seems to be working just fine apart from the 'My Friends' functionality. At the moment this results in the following error  
  

```auto

	 09:56:04.931038: com.plexapp.plugins.picasaweb :	(Framework) Handling request : /photos/Picasaweb/:/function/GetFriendList/KGRwMApTJ3VzZXInCnAxClMnaWFuZGdyYXR0b24nCnAyCnNTJ3NlbmRlcicKcDMKY2NvcHlfcmVnCl9y<br />
ZWNvbnN0cnVjdG9yCnA0CihjUE1TLk9iamVjdHMKSXRlbUluZm9SZWNvcmQKcDUKY19fYnVpbHRpbl9fC<br />
m9iamVjdApwNgpOdHA3ClJwOAooZHA5ClMnaXRlbVRpdGxlJwpwMTAKZzQKKGNQTVMuTG9jYWxlCkxvY2<br />
FsU3RyaW5nCnAxMQpjX19idWlsdGluX18Kc3RyCnAxMgpTJ015IEZyaWVuZHMnCnAxMwp0cDE0ClJwMTU<br />
KKGRwMTYKUydrZXknCnAxNwpTJ01ZX0ZSSUVORF9MSVNUX1RJVExFJwpwMTgKc2JzUyd0aXRsZTEnCnAx<br />
OQpTJ1BpY2FzYSBXZWIgQWxidW1zJwpwMjAKc1MndGl0bGUyJwpwMjEKTnNTJ2FydCcKcDIyClMnL3Bob<br />
3Rvcy9QaWNhc2F3ZWIvOi9yZXNvdXJjZXMvYXJ0LWRlZmF1bHQuanBnJwpwMjMKc2JzLg==<br />
	 09:56:04.931683: com.plexapp.plugins.picasaweb : (Framework) Calling named function 'GetFriendList'<br />
	 09:56:04.931900: com.plexapp.plugins.picasaweb : Getting gdata PhotoService<br />
	 09:56:04.932002: com.plexapp.plugins.picasaweb : Authentication not requested for this client<br />
	 09:56:05.505602: com.plexapp.plugins.picasaweb : (Framework) An exception happened:<br />
	 Traceback (most recent call last):<br />
	   File "/Users/idg/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Plugin.py", line 602, in __call<br />
		 return function(*args, **kwargs)<br />
	   File "/Users/idg/Library/Application Support/Plex Media Server/Plug-ins/Picasaweb.bundle/Contents/Code/ __init__.py", line 203, in GetFriendList<br />
		 dir.Append(Function(DirectoryItem(GetFriendItems, title=contact.nickname.text, thumb=thumb, summary=L('FRIEND_MENU_SUMMARY') % contact.nickname.text), user=contact.user.text, nickname=contact.nickname.text))<br />
	 TypeError: not all arguments converted during string formatting

```

  
  
I'll check with the plex team to see if they have made any changes to the plugin framework itself which may be causing the above issue.

---

<div class="post-metadata">

**Author:** ![tjep](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@tjep](https://forums.plex.tv/u/tjep)\
**Post date:** [August 17, 2009, 2:14pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/54 "2009-08-17T14:14:11Z")

</div>

Hi Ian…  
  
I do get the same options that you do… however, I cannot get the private albums to show… I have deleted the preferences bit and reinstalled… however, I do not get any success… is there a way you could direct me to the logfile??

> [@](#):
>
> Hi again,  
>   
>   
>   
> I just updated my Plex setup this morning including pulling the latest release version of the Picasa plugin from the App store. I know when the plugin went live via the appstore the dev team made some subtle changes to how it works but it shouldnt effect what you are trying to do.  
>   
>   
>   
> This is what I now see on the prefs pane…
> 
> [http://lh6.ggpht.com/\_xmYCauRuEEY/SokYqPls\_VI/AAAAAAAAHvo/SjxHOpCyBRM/s800/plex-plugin-new-prefs.jpg](http://lh6.ggpht.com/_xmYCauRuEEY/SokYqPls_VI/AAAAAAAAHvo/SjxHOpCyBRM/s800/plex-plugin-new-prefs.jpg)
> 
>   
>   
> do you see both of the on/off preferences for 'Show My Private Albums' and 'Show summary information on photographs' ? If not - you could try deleting the file that holds the plugin's preferences - this way the plugin will re-create it again next time Plex is started up (you'll obviously have to re-enter your login details etc.)  
>   
> The file to delete is.  
>   
> 
> ```auto
> 
> ~/Library/Application Support/Plex Media Server/Plug-in Support/Preferences/com.plexapp.plugins.picasaweb.xml
> 
> ```
> 
>   
>   
> Everything seems to be working just fine apart from the 'My Friends' functionality. At the moment this results in the following error  
>   
> 
> ```auto
> 
> 09:56:04.931038: com.plexapp.plugins.picasaweb :	(Framework) Handling request : /photos/Picasaweb/:/function/GetFriendList/KGRwMApTJ3VzZXInCnAxClMnaWFuZGdyYXR0b24nCnAyCnNTJ3NlbmRlcicKcDMKY2NvcHlfcmVnCl9y<br />
> ZWNvbnN0cnVjdG9yCnA0CihjUE1TLk9iamVjdHMKSXRlbUluZm9SZWNvcmQKcDUKY19fYnVpbHRpbl9f<br />
> C<br />
> m9iamVjdApwNgpOdHA3ClJwOAooZHA5ClMnaXRlbVRpdGxlJwpwMTAKZzQKKGNQTVMuTG9jYWxlCkxvY<br />
> 2<br />
> FsU3RyaW5nCnAxMQpjX19idWlsdGluX18Kc3RyCnAxMgpTJ015IEZyaWVuZHMnCnAxMwp0cDE0ClJwMT<br />
> U<br />
> KKGRwMTYKUydrZXknCnAxNwpTJ01ZX0ZSSUVORF9MSVNUX1RJVExFJwpwMTgKc2JzUyd0aXRsZTEnCnA<br />
> x<br />
> OQpTJ1BpY2FzYSBXZWIgQWxidW1zJwpwMjAKc1MndGl0bGUyJwpwMjEKTnNTJ2FydCcKcDIyClMnL3Bo<br />
> b<br />
> 3Rvcy9QaWNhc2F3ZWIvOi9yZXNvdXJjZXMvYXJ0LWRlZmF1bHQuanBnJwpwMjMKc2JzLg==<br />
> 09:56:04.931683: com.plexapp.plugins.picasaweb : (Framework) Calling named function 'GetFriendList'<br />
> 09:56:04.931900: com.plexapp.plugins.picasaweb : Getting gdata PhotoService<br />
> 09:56:04.932002: com.plexapp.plugins.picasaweb : Authentication not requested for this client<br />
> 09:56:05.505602: com.plexapp.plugins.picasaweb : (Framework) An exception happened:<br />
> Traceback (most recent call last):<br />
> File "/Users/idg/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Plugin.py", line 602, in __call<br />
> return function(*args, **kwargs)<br />
> File "/Users/idg/Library/Application Support/Plex Media Server/Plug-ins/Picasaweb.bundle/Contents/Code/ __init__.py", line 203, in GetFriendList<br />
> dir.Append(Function(DirectoryItem(GetFriendItems, title=contact.nickname.text, thumb=thumb, summary=L('FRIEND_MENU_SUMMARY') % contact.nickname.text), user=contact.user.text, nickname=contact.nickname.text))<br />
> TypeError: not all arguments converted during string formatting
> 
> ```
> 
>   
>   
> I'll check with the plex team to see if they have made any changes to the plugin framework itself which may be causing the above issue.

---

<div class="post-metadata">

**Author:** ![Ian.G](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ian.g/32/423_2.png) [@Ian.G](https://forums.plex.tv/u/Ian.G)\
**Post date:** [September 6, 2009, 3:55pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/55 "2009-09-06T15:55:28Z")

</div>

Howdy folks,  
  
  
  
sorry I’ve not replied for a while. I’ve just written up some findings on the current [Flickr Plugin issues](http://forums.plexapp.com/index.php?showtopic=6724&st=20&gopid=53776&#entry53776). I’m pretty sure Picasa is suffering in pretty much the same.  
  
  
  
What appears to be broken right now is:  
  
  
  
**Viewing Tags** - when attempting to view tags the following appears in the plugin’s log file:

```auto

	 16:50:56.042229: com.plexapp.plugins.picasaweb : (Framework) Calling named function 'GetTagList'<br />
	 16:50:56.042420: com.plexapp.plugins.picasaweb : Getting gdata PhotoService<br />
	 16:50:56.042526: com.plexapp.plugins.picasaweb : Authentication not requested for this client<br />
	 16:50:57.751046: com.plexapp.plugins.picasaweb : (Framework) An exception happened:<br />
	 Traceback (most recent call last):<br />
	   File "/Users/idg/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Plugin.py", line 602, in __call<br />
		 return function(*args, **kwargs)<br />
	   File "/Users/idg/Library/Application Support/Plex Media Server/Plug-ins/Picasa Web.bundle/Contents/Code/ __init__.py", line 300, in GetTagList<br />
		 dir.Append(Function(DirectoryItem(GetPhotoList, title=tag.title.text, thumb=thumb, summary=L('ACTION_VIEW_TAG_SUMMARY') % (tag.title.text)), kind="tag", tag=tag.title.text, user=user))<br />
	 TypeError: not all arguments converted during string formatting<br />
	 16:50:57.751199: com.plexapp.plugins.picasaweb : (Framework) Request not handled by plug-in

```

  
  
And also when attempting to browse 'My Friends' - you see the following in the plugin's log:  
  

```auto

 16:52:45.223797: com.plexapp.plugins.picasaweb : (Framework) Calling named function 'GetFriendList'<br />
 16:52:45.224056: com.plexapp.plugins.picasaweb : Getting gdata PhotoService<br />
 16:52:45.224156: com.plexapp.plugins.picasaweb : Authentication not requested for this client<br />
 16:52:45.729994: com.plexapp.plugins.picasaweb : (Framework) An exception happened:<br />
 Traceback (most recent call last):<br />
   File "/Users/idg/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Plugin.py", line 602, in __call<br />
	 return function(*args, **kwargs)<br />
   File "/Users/idg/Library/Application Support/Plex Media Server/Plug-ins/Picasa Web.bundle/Contents/Code/ __init__.py", line 202, in GetFriendList<br />
	 dir.Append(Function(DirectoryItem(GetFriendItems, title=contact.nickname.text, thumb=thumb, summary=L('FRIEND_MENU_SUMMARY') % contact.nickname.text), user=contact.user.text, nickname=contact.nickname.text))<br />
 TypeError: not all arguments converted during string formatting<br />
 16:52:45.730200: com.plexapp.plugins.picasaweb : (Framework) Request not handled by plug-in

```

  
  
So based upon the above both calls fail on line 602 of the framework and as with the Flickr plugin we get \*\*TypeError - not all arguments converted during string formatting\*\*.  
  
Anyone have any ideas what could be happening here ?

---

<div class="post-metadata">

**Author:** ![D\_Steel](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@D\_Steel](https://forums.plex.tv/u/D_Steel)\
**Post date:** [December 29, 2009, 8:10pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/56 "2009-12-29T20:10:14Z")

</div>

Any updates??

---

<div class="post-metadata">

**Author:** ![rjromeror\_gmail.com](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rjromeror_gmail.com/32/994_2.png) [@rjromeror\_gmail.com](https://forums.plex.tv/u/rjromeror_gmail.com)\
**Post date:** [January 18, 2010, 12:22am UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/57 "2010-01-18T00:22:40Z")

</div>

I’m running Plex 0.8.5 on Snow Leopard 10.6.2 and I have downloaded the Picasa Web plugin from the App Store. Installation was successful and it shows in my Pictures section. When I click on it, nothing happens. I have tried with and without credentials but still it doesn’t work.  
  
  
  
These are the errors I can see on the logs  
  
  
  
18:39:20 T:2696951040 M:607182848 WARNING: CUtil::GetMatchingSource… no matching source found for [Picasa Web Albums]  
  
18:40:19 T:2696951040 M:581238784 ERROR: GetDirectory - Unhandled exception  
  
18:40:19 T:2696951040 M:581238784 ERROR: GetDirectory - Error getting plex://localhost/photos/Picasaweb/  
  
18:40:19 T:2696951040 M:581238784 ERROR: CGUIMediaWindow::GetDirectory(plex://localhost/photos/Picasaweb/) failed  
  
18:40:36 T:2696951040 M:577466368 NOTICE: Storing total System Uptime  
  
18:40:36 T:2696951040 M:577466368 NOTICE: Saving settings  
  
18:40:36 T:2696951040 M:577421312 NOTICE: stop all  
  
18:40:36 T:2696951040 M:577421312 NOTICE: Webserver: Stopping…  
  
18:40:36 T:2696951040 M:577396736 NOTICE: Webserver: Stopped…  
  
18:40:36 T:2696951040 M:577396736 NOTICE: ES: Stopping event server  
  
18:40:37 T:2959282176 M:577355776 NOTICE: ES: UDP Event server stopped  
  
18:40:37 T:2696951040 M:577409024 NOTICE: stop dvd detect media  
  
18:40:37 T:2696951040 M:577417216 NOTICE: clean cached files!  
  
18:40:37 T:2696951040 M:577417216 NOTICE: unload skin  
  
18:40:37 T:2696951040 M:605962240 NOTICE: Asking PlexHelper to stop.  
  
18:40:37 T:2696951040 M:605962240 NOTICE: Asking Plex Media Server.app to stop.  
  
18:40:37 T:2696951040 M:605962240 NOTICE: stop python  
  
18:40:37 T:2696951040 M:605962240 NOTICE: stopped  
  
18:40:37 T:2696951040 M:605962240 NOTICE: destroy  
  
18:40:37 T:2696951040 M:606556160 NOTICE: unload sections  
  
18:40:37 T:2696951040 M:606785536 NOTICE: performance statistics

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:24pm UTC](https://forums.plex.tv/t/picasaweb-plex-plugin/1361/58 "2019-12-20T20:24:24Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

[Previous page](https://forums.plex.tv/t/picasaweb-plex-plugin/1361.md?page=2)
