Griffith - media collection manager
May 21, 2012, 06:44:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: New mailing lists,
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Exportieren --> Ipod keine Funktion?  (Read 1088 times)
sultan
Newbie
*
Offline Offline

Posts: 14


View Profile
« on: December 13, 2010, 08:04:34 PM »

Hallo,

wenn ich exportieren --> Ipod wähle tut sich nichts.

Hängt das vielleicht mit meinem Problem von hier
http://forum.griffith.cc/index.php/topic,1421.0.html zusammen?

Debug sagt:

Quote
2010-12-13T19:52:50: DEBUG: Griffith(gconsole:85): Starting Griffith 0.12.1
2010-12-13T19:52:50: DEBUG: Griffith(gconsole:86): Platform: Windows-XP-5.1.2600-SP2 (nt)
2010-12-13T19:52:50: DEBUG: Griffith(gconsole:87): Dependencies:
gtk :: 2.16.0
gtk.glade :: 2.16.0
sqlalchemy :: 0.6.3
sqlite3 :: 2.4.1
reportlab :: 2.4
PIL :: True
psycopg2 :: 2.2.1 (dt dec ext pq3)
MySQLdb :: 1.2.2.final.0
chardet :: 2.0.1
sqlite :: False
2010-12-13T19:52:51: DEBUG: Griffith(griffith:1451): config file used: C:\Dokumente und Einstellungen\xxxx\Anwendungsdaten\griffith\griffith.cfg
2010-12-13T19:52:51: INFO: Griffith(initialize:102): Using Griffith directory: C:\Dokumente und Einstellungen\xxxx\Anwendungsdaten\griffith
C:\Programme\Griffith\lib\initialize.py:140: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
C:\Programme\Griffith\lib\widgets.py:376: DeprecationWarning: Use the new widget gtk.Tooltip
C:\Programme\Griffith\lib\widgets.py:377: DeprecationWarning: Use the new widget gtk.Tooltip
C:\Programme\Griffith\lib\widgets.py:378: DeprecationWarning: Use the new widget gtk.Tooltip
C:\Programme\Griffith\lib\widgets.py:379: DeprecationWarning: Use the new widget gtk.Tooltip
C:\Programme\Griffith\lib\widgets.py:380: DeprecationWarning: Use the new widget gtk.Tooltip
C:\Programme\Griffith\lib\widgets.py:381: DeprecationWarning: Use the new widget gtk.Tooltip
C:\Programme\Griffith\lib\widgets.py:382: DeprecationWarning: Use the new widget gtk.Tooltip
C:\Programme\Griffith\lib\initialize.py:560: DeprecationWarning:
C:\Programme\Griffith\lib\main_treeview.py:152: DeprecationWarning: Use the new widget gtk.Tooltip
2010-12-13T19:52:52: DEBUG: Griffith(sql:273): SELECT movies.number, movies.o_title, movies.title, movies.director, movies.poster_md5, movies.genre, movies.seen, movies.year, movies.runtime, movies.rating, movies.created, movies.updated
FROM movies ORDER BY movies.number DESC
C:\Programme\Griffith\library.zip\sqlalchemy\engine\default.py:495: SAWarning: Unicode type received non-unicode bind param value
2010-12-13T19:52:55: INFO: Griffith(initialize:851): Spellchecker is not available
2010-12-13T19:53:27: DEBUG: Griffith(griffith:178): reloading PluginExportiPod
2010-12-13T19:53:27: DEBUG: Griffith(sql:273): SELECT movies.number, movies.o_title, movies.title, movies.director
FROM movies ORDER BY movies.number DESC
2010-12-13T19:53:27: ERROR: Griffith(griffith:186):
Traceback (most recent call last):
  File "griffith", line 184, in on_export_activate
  File "C:\Programme\Griffith\lib\plugins\export\PluginExportiPod.py", line 77, in run
AttributeError: 'NoneType' object has no attribute 'encode'

Logged
mike
Global Moderator
Hero Member
*****
Offline Offline

Posts: 996


View Profile WWW
« Reply #1 on: December 14, 2010, 10:26:30 PM »

Ja, hängt definitiv damit zusammen. Das Plugin versucht eine Konvertierung des Zeichensatzes für die Ausgabe und scheitert an den Umlauten. Ich habe Dir einen möglichen Weg zur Korrektur der Daten im anderen Thread gepostet. Wenn es klappt, kannst Du den Export nochmal testen.
Logged
mike
Global Moderator
Hero Member
*****
Offline Offline

Posts: 996


View Profile WWW
« Reply #2 on: January 10, 2011, 10:28:15 PM »

Da habe ich selbst die Debug-Ausgaben nicht richtig gelesen. Es lag nicht an den Umlauten.
Das iPod Plugin selbst hat ein Problem, wenn eines der Felder Titel, Originaltitel oder Direktor leer ist.
Ich habe es mit Rev. 1485 behoben:
http://svn.berlios.de/svnroot/repos/griffith/trunk/lib/plugins/export/PluginExportiPod.py
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!