sixones / nzbvr

episode downloader written in php5 for sabnzbd+ and newzbin
http://sixones.com/projects/nzbvr
13 stars 0 forks source link

When TVRage is down, updating should be blocked #6

Closed ros485 closed 14 years ago

ros485 commented 14 years ago

I just updated, and result is that i can no longer access the site...

sixones commented 14 years ago

have you updated the picnic framework as well?

ros485 commented 14 years ago

Yes both says already up to date

sixones commented 14 years ago

Do you get an error or anything when you visit the page?

ros485 commented 14 years ago

Stop hold, found the issue.i idiot where in the wrong library for picnic. sorry

ros485 commented 14 years ago

sorry to be a pain but i get the following exception. SimpleXMLElement::__construct() [simplexmlelement.--construct]: couldn't resolve host name

sixones commented 14 years ago

When do you get that? Looks like a request to either thetvdb or tvrage isnt working

ros485 commented 14 years ago

Happens when i have to refresh artwork. The exception was thrown from '/share/MD0_DATA/Qweb/nzbvr/application/classes/scrapers/class.tvrage.php' line 89.

sixones commented 14 years ago

It seems the TVRage API is down! I need to add a checker to make the error abit nicer, you will have to wait until TVRage comes back im afraid!

ros485 commented 14 years ago

no problem. thanks

sixones commented 14 years ago

Seems to be back now, so you should be able to update.

ros485 commented 14 years ago

sorry no, as soon i hit update i get SimpleXMLElement::__construct() [simplexmlelement.--construct]: couldn't resolve host name

Trace:

0 [internal function]: Picnic::errorHandler('http://services...', 0, true)

1 /share/MD0_DATA/Qweb/nzbvr/application/classes/scrapers/class.tvrage.php(89): SimpleXMLElement->__construct(Object(Series))

2 /share/MD0_DATA/Qweb/nzbvr/application/models/class.series.php(139): TVRage->update()

3 /share/MD0_DATA/Qweb/nzbvr/application/controllers/class.series.php(172): Series->update(Object(SeriesWatcher))

4 /share/MD0_DATA/Qweb/nzbvr/application/controllers/class.series.php(192): SeriesController->updateWatcher()

5 /share/MD0_DATA/Qweb/nzbvr/picnic/picnic/class.controller.php(23): SeriesController->update('update')

6 /share/MD0_DATA/Qweb/nzbvr/picnic/picnic/class.picnic.php(134): PicnicController->call()

7 /share/MD0_DATA/Qweb/nzbvr/index.php(24): Picnic->render()

8 {main}

sixones commented 14 years ago

Does http://services.tvrage.com/index.php?page=public work for you? The page is working for me and im able to update nzbVR.

ros485 commented 14 years ago

nope Firefox can't find the server at services.tvrage.com.

sixones commented 14 years ago

Humm ok, i think TVRage have moved servers so your DNS cache might need clearing (usually it takes a couple of hours to auto-update) but you can force it;

http://www.tech-recipes.com/rx/233/clear_windows_dns_cache/

ros485 commented 14 years ago

Seems to work again, took a while though... flushing local dns did not help...

ros485 commented 14 years ago

I think i forgot to reply on your question in what make/model i use, and this is qnap 239.