I just wanted to add a new book to my collection (kept as a zip/tc file with cover images included) - using the amazon fetcher, when i run into the following:<br><br>After entering the books ISBN Amazon fetched the result correctly. When i clicked on it the details of the book appeared but with the following error dialog:<br>
"The cover image could not be loaded." <br>And indeed there was no cover image. <br><br>This message led me to investigate the amazon fetcher - but after a few minutes <br>i found the real problem for this: my /tmp folder was full (another process trashed it since i opened the tellico collection).<br>
I think that this message is missleading because at this point tellico try to fetch (or load) the image from amazon, and as such i associate the failure with the <br>data provider and not with local storage problem.<br><br>
BTW, this is the relevan code block in amazonfetcher.cpp which should be improved IMO<br><br> 711 // myDebug() << "grabbing " << imageURL.prettyUrl();<br> 712 if(!imageURL.isEmpty()) {<br> 713 QString id = ImageFactory::addImage(imageURL, true);<br>
714 // FIXME: need to add cover image field to bibtex collection <br>
715 if(id.isEmpty()) {<br> 716 message(i18n("The cover image could not be loaded."), MessageHandler::Warning);<br> 717 } else { // amazon serves up 1x1 gifs occasionally, but that's caught in the image constructor<br>
718 // all relevant collection types have cover fields<br> 719 entry->setField(QLatin1String("cover"), id);<br> 720 }<br> 721 }<br><br>Maybe the ImageFactory should be extended to check for the case when it is unable to add the image because out of disk space?<br>
Unfortunately i have limited time to dig into this atm - but it would be nice to fix tellico against "disk full" condition in some way...<br><br>And this happened on Ubuntu Maverick with KDE 4.5.1 and tellico compiled from trunk.<br>
<br>br<br> Sanyi<br><br>