Page 1 of 1
(SOLVED)Help installing LXML
Posted: Sat Jul 25, 2015 5:14 pm
by burgernz
Afaik I need to have LXML running in order for CP to parse the results from a private tracker.
I've tried running this:
ipkg install libxml2
ipkg install libxslt
Which works. However this command:
pip install lxml
Fails. From the log it looks like something important is missing:
"unable to execute x86_64-asustor-linux-gnu-gcc: No such file or directory"
Re: Help installing LXML
Posted: Mon Jul 27, 2015 7:00 pm
by clinton.hall
You can't compile on Asustor. You need to cross compile on another system and the copy the files across.
Re: Help installing LXML
Posted: Mon Jul 27, 2015 7:04 pm
by burgernz
Hi Clinton,
Thanks for your reply. Can you give me a little more info? My knowledge of linux is rather limited.
Cheers
Re: Help installing LXML
Posted: Wed Aug 12, 2015 9:15 pm
by clinton.hall
Compiling this, then building into the App is on my to-do list... I'll try and update this App soon.
Re: Help installing LXML
Posted: Sun Aug 23, 2015 4:29 pm
by clinton.hall
Please download the latest version from here {{ removed }} and let me know how it goes... this now includes lxml
Re: Help installing LXML
Posted: Mon Aug 24, 2015 4:00 am
by burgernz
Hi Clinton,
Still getting zero data back from a search. i.e:
08-23 19:59:08INFO[hpotato.core.plugins.base] Opening url: get
https://xxx.xx/t?l7=&l48=&l20=&q=%22ing ... rrents&p=1, data: []
Re: Help installing LXML
Posted: Mon Aug 24, 2015 6:09 pm
by clinton.hall
Can you enable debug logging (settings, general, debug), then restart couchpotato and try the search again?
Is there any more information in the logs?
Re: Help installing LXML
Posted: Mon Aug 24, 2015 6:49 pm
by burgernz
Hiya,
Here is a more thorough output:
Code: Select all
08-24 11:45:38INFO[ie.providers.info.omdbapi] Found: Inglourious Basterds (2009)
08-24 11:45:38DEBUG[ couchpotato.core.event] Return modified results for movie.info
08-24 11:45:38DEBUG[to.core.media.movie._base] Adding titles: [u'Inglourious Basterds', u'Malditos Bastardos', u'\u6076\u68cd\u7279\u5de5', u'\u5e0c\u9b54\u649e\u6b63\u6740\u4eba\u72c2', u'Bastardos Ingl\xf3rios', u'Kunniattomat paskiaiset', u'\u0411\u0415\u0421\u0421\u041b\u0410\u0412\u041d\u042b\u0415 \u0423\u0411\u041b\u042e\u0414\u041a\u0418', u'Inglorious Basterds', u'B\u0119karty wojny', u'Becstelen Brigantyk', u'\u60e1\u68cd\u7279\u5de5', u'Bastardos sin gloria', u'Sacanas Sem Lei', u'Male\xefts Malparits', u'\u067e\u0633\u062a \u0641\u0637\u0631\u062a \u0647\u0627\u06cc \u0644\u0639\u0646\u062a\u06cc']
08-24 11:45:38DEBUG[hpotato.core.plugins.base] Releasing lock: media.get.b3099d33304b47c0a500489e031f18c0
08-24 11:45:38DEBUG[to.core.media._base.media] Changing status for Inglourious Basterds
08-24 11:45:38INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/eta/tt0361748/, data: []
08-24 11:45:44DEBUG[hpotato.core.plugins.base] Setting cache ce7e050a4b660cda8bc1b47d033432d0
08-24 11:45:44DEBUG[iders.info.couchpotatoapi] Found ETA for tt0361748: {u'dvd': 0, u'expires': 1441200089, u'theater': 1250805600, u'bluray': True}
08-24 11:45:44DEBUG[o.core.notifications.core] Notifying frontend
08-24 11:45:44DEBUG[o.core.notifications.core] Done notifying frontend
08-24 11:45:44INFO[core.media.movie.searcher] Search for Inglourious Basterds in 720p ignoring ETA
08-24 11:45:44INFO[hpotato.core.plugins.base] Opening url: get https://iptorrents.eu/inbox.php, data: []
08-24 11:45:48DEBUG[o.core.notifications.core] Getting messages with id: 8985b537-1d85-4d8f-bf0b-676a097a050d
08-24 11:45:48DEBUG[o.core.notifications.core] Returning for 8985b537-1d85-4d8f-bf0b-676a097a050d 0 messages
08-24 11:45:49ERROR[hpotato.core.plugins.base] Failed opening url in IPTorrents: https://iptorrents.eu/inbox.php Traceback (most recent call last):
HTTPError: 404 Client Error: Not Found for url: https://iptorrents.eu/inbox.php
08-24 11:45:49INFO[hpotato.core.plugins.base] Opening url: post https://iptorrents.eu/, data: ['username', 'login', 'password']
08-24 11:45:49DEBUG[hpotato.core.plugins.base] Waiting for IPTorrents, 1 seconds
08-24 11:45:50INFO[hpotato.core.plugins.base] Opening url: get https://iptorrents.eu/t?l48=&q=%22inglourious+basterds%22+2009&qf=#torrents&p=1, data: []
08-24 11:45:50DEBUG[hpotato.core.plugins.base] Setting cache f1011deba57dd45e1cd8e68a18fe7af6
08-24 11:45:50DEBUG[core.media.movie.searcher] Nothing found for Inglourious Basterds in 720p
08-24 11:45:50INFO[core.media.movie.searcher] Search for Inglourious Basterds in 1080p ignoring ETA
08-24 11:45:50DEBUG[hpotato.core.plugins.base] Getting cache f1011deba57dd45e1cd8e68a18fe7af6
08-24 11:45:51DEBUG[core.media.movie.searcher] Nothing found for Inglourious Basterds in 1080p
08-24 11:45:51INFO[core.media.movie.searcher] Search for Inglourious Basterds in BR-Rip ignoring ETA
08-24 11:45:51DEBUG[hpotato.core.plugins.base] Waiting for IPTorrents, 1 seconds
08-24 11:45:51INFO[hpotato.core.plugins.base] Opening url: get https://iptorrents.eu/t?l7=&l48=&l20=&q=%22inglourious+basterds%22+2009&qf=#torrents&p=1, data: []
08-24 11:45:51DEBUG[hpotato.core.plugins.base] Setting cache c077a45a7886a6b36d6c82f7865f61e5
08-24 11:45:51DEBUG[core.media.movie.searcher] Nothing found for Inglourious Basterds in BR-Rip
08-24 11:45:51INFO[core.media.movie.searcher] Search for Inglourious Basterds in DVD-Rip ignoring ETA
08-24 11:45:51DEBUG[hpotato.core.plugins.base] Getting cache c077a45a7886a6b36d6c82f7865f61e5
08-24 11:45:52DEBUG[core.media.movie.searcher] Nothing found for Inglourious Basterds in DVD-Rip
08-24 11:45:52DEBUG[o.core.notifications.core] Notifying frontend
08-24 11:45:52DEBUG[o.core.notifications.core] Done notifying frontend
08-24 11:45:52DEBUG[o.core.notifications.core] Notifying frontend
08-24 11:45:52DEBUG[o.core.notifications.core] Done notifying frontend
Not sure why it's trying to open /inbox.php either.
Looking around it looks like I might have to change:
Line 53 in /couchpotato/CouchPotatoServer/couchpotato/core/media/_base/providers/torrent/iptorrents.py
to..
html = BeautifulSoup(data, "lxml")
However I cannot ssh into my box remotely to test this.
Re: Help installing LXML
Posted: Mon Aug 24, 2015 8:22 pm
by clinton.hall
Sorry... I had a typo in the start script...
Please test this version
https://www.dropbox.com/s/4ebuz0f84kzws ... 24_any.apk
Re: Help installing LXML
Posted: Mon Aug 24, 2015 8:53 pm
by burgernz
Fixed!
Looks like everything is working correctly now. Search/Send to Deluge all worked perfectly.