importing GriffithXML fails: posters are not added
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Griffith |
Fix Committed
|
Medium
|
Michael |
Bug Description
Importing Data with the Plugin "GriffithXML" fails. No Posters are added.
Griffith Version: 0.13 (svn Revision 1626)
./griffith --show-dep
gtk :: 2.24.0
gtk.glade :: 2.24.0
sqlalchemy :: 0.7.4
sqlite3 :: 2.6.0 (sqlite-lib 3.7.9)
reportlab :: 2.5
PIL :: True
psycopg2 :: 2.4.5 (dt dec mx pq3 ext)
MySQLdb :: 1.2.3.final.0
chardet :: 2.0.1
sqlite :: 1.0.1
lxml :: True
Debug Log:
E: Griffith(
Traceback (most recent call last):
File "/home/
edit.
File "/home/
return update_
File "/home/
movie = session.
File "/usr/lib/
raise orm_exc.
NoResultFound: No row was found for one()
Possible Solution:
I think the Query in line 82 from File lib/edit.py returns no row because previous Session operations are not commited.
My Solution is to add the following code before the Query:
session.commit()
After the Change Import works fine.
Please provide some more detailed information. I tried the import via GriffithXML with posters and it worked without errors.
Can you send me your XML file please?