View Single Post
Old 09-11-2018, 04:13 AM   #2910
edeniz
Zealot
edeniz began at the beginning.
 
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
Hello,

I've got a metadata problem that's driving me bonkers.

I've got a replace_metadata textfile that is several thousand lines long (which is why I'm not attaching it here). Plus I've set the sleep_down_time as default to six. (Though I use whatever's in the default ini if I'm in a hurry.) So it's not unusual for it to take far longer than it should to download a link from sites like AO3. Especially the download metadata part takes long. I'm used to it and even expect it at this point. Not like I'm usually in any sort of hurry.

That said, there is one link that makes calibre simply freeze at the downloading metadata stage. (I once tried to wait it out, but had to force close on calibre after 2 hours.)

The link in question:

http://archiveofourown.org/works/8892235[1]

Trying to hunt down the culpable line on the replace_metadata file is proving difficult. Especially since whatever the issue, is only happening with *this* link, and no other. And because when I think I might have found the faulty section by way of elimination (as in: deleting several sections, trying to download to see if it helped so I know where to look more closely.), it turns out false alarm (as in: when I have only that section in the replace_metadata file, the download still works out fine somehow).

Some time ago, a new feature was added to fanficfare whereby sometimes the error messages tell us exactly which line of the metadata is hindering the download. Which makes me wonder just what it takes to freeze calibre up without such a message now, and in the download metadata stage at that.

What I've tried:

* escaped all non-alpha-numeric except \ just to be sure
* checked matching ^ and $
* checked if all periods in tags are escaped
* checked if ( and ) in the tags are escaped

My track record is such that I'm 100% sure that the answer is glaringly obvious, that whatever mistake there is in the metadata, I keep coming across it and overlooking it.

So I thought I'd ask for a tip just what I should be on the lookout for. Has this happened to anyone before? What else could I check aside from the above mentioned? Is there a good way to hunt down the faulty line that I don't know of?

Can you help me out here?


Thank you kindly in advance!
edeniz is offline   Reply With Quote