This issue was signaled by Thierry:
"I still have the same error message in the NotreDAM log file after the
uploading of .jpg files (but nothing in the Mediadart log file). Although,
there is no problem with the renditions as the fullscreen, preview and
thumbnail variants are generated properly."
[09/Nov/2011 11:30:09] "GET
/item/1387ff3027d44dfa8ba92b05458373df/thumbnail/?t=1320834607.0 HTTP/1.1"
404 0
[09/Nov/2011 11:30:09] "POST /get_status/ HTTP/1.1" 200 455
[09/Nov/2011 11:30:09] "POST /get_item_nodes/ HTTP/1.1" 200 40
[09/Nov/2011 11:30:10] "POST /get_basic_descriptors/ HTTP/1.1" 200 19
09/Nov/2011 11:30:10 INFO
/home/notredam/notredam/src/dam/../dam/repository/models.py 852 desc_value
audio/mpeg
09/Nov/2011 11:30:10 INFO
/home/notredam/notredam/src/dam/../dam/repository/models.py 852 desc_value
248.659
09/Nov/2011 11:30:10 ERROR
/home/notredam/notredam/src/dam/../dam/variants/views.py 264 get_variants:
Component matching query does not exist.
09/Nov/2011 11:30:10 ERROR
/home/notredam/notredam/src/dam/../dam/variants/views.py 264 get_variants:
Component matching query does not exist.
09/Nov/2011 11:30:11 INFO
/home/notredam/notredam/src/dam/../dam/repository/models.py 852 desc_value
audio/mpeg
09/Nov/2011 11:30:11 INFO
/home/notredam/notredam/src/dam/../dam/repository/models.py 852 desc_value
248.685
09/Nov/2011 11:30:11 ERROR
/home/notredam/notredam/src/dam/../dam/variants/views.py 264 get_variants:
Component matching query does not exist.
[09/Nov/2011 11:30:11] "POST /get_variants/ HTTP/1.1" 200 1313
09/Nov/2011 11:30:11 ERROR
/home/notredam/notredam/src/dam/../dam/repository/models.py 706 'NoneType'
object has no attribute 'startswith'
Traceback (most recent call last):
File "/home/notredam/notredam/src/dam/../dam/repository/models.py", line
699, in get_url
if storage.exists(file_name):
File "/opt/mediadart/mediadart/storage/__init__.py", line 23, in exists
return os.path.exists(self.abspath(filename))
File "/opt/mediadart/mediadart/storage/__init__.py", line 32, in abspath
if os.path.isabs(path):
File "/usr/lib/python2.6/posixpath.py", line 52, in isabs
return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
The error on jpg is due to the fact that the NotreDAM server tries to access
the thumbnail file before it has been generated by mediadart.
Please manage this exception!
----------------------------------------------------------------------------
Original issue reported on code.google.com by maurizio...@gmail.com on 9 Nov 2011 at 11:30
Original issue reported on code.google.com by
maurizio...@gmail.com
on 9 Nov 2011 at 11:30