(SOLVED)Help installing LXML
Moderator: Lillian.W@AST
-
- Posts: 5
- youtube meble na wymiar Warszawa
- Joined: Sat Jul 25, 2015 5:10 pm
(SOLVED)Help installing LXML
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"
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"
- clinton.hall
- Posts: 845
- Joined: Thu May 09, 2013 7:01 pm
- Location: New Zealand
- Contact:
Re: Help installing LXML
You can't compile on Asustor. You need to cross compile on another system and the copy the files across.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
-
- Posts: 5
- Joined: Sat Jul 25, 2015 5:10 pm
Re: Help installing LXML
Hi Clinton,
Thanks for your reply. Can you give me a little more info? My knowledge of linux is rather limited.
Cheers
Thanks for your reply. Can you give me a little more info? My knowledge of linux is rather limited.
Cheers
- clinton.hall
- Posts: 845
- Joined: Thu May 09, 2013 7:01 pm
- Location: New Zealand
- Contact:
Re: Help installing LXML
Compiling this, then building into the App is on my to-do list... I'll try and update this App soon.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
- clinton.hall
- Posts: 845
- Joined: Thu May 09, 2013 7:01 pm
- Location: New Zealand
- Contact:
Re: Help installing LXML
Please download the latest version from here {{ removed }} and let me know how it goes... this now includes lxml
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
-
- Posts: 5
- Joined: Sat Jul 25, 2015 5:10 pm
Re: Help installing LXML
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: []
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: []
- clinton.hall
- Posts: 845
- Joined: Thu May 09, 2013 7:01 pm
- Location: New Zealand
- Contact:
Re: Help installing LXML
Can you enable debug logging (settings, general, debug), then restart couchpotato and try the search again?
Is there any more information in the logs?
Is there any more information in the logs?
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
-
- Posts: 5
- Joined: Sat Jul 25, 2015 5:10 pm
Re: Help installing LXML
Hiya,
Here is a more thorough output:
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.
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
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.
- clinton.hall
- Posts: 845
- Joined: Thu May 09, 2013 7:01 pm
- Location: New Zealand
- Contact:
Re: Help installing LXML
Sorry... I had a typo in the start script...
Please test this version
https://www.dropbox.com/s/4ebuz0f84kzws ... 24_any.apk
Please test this version
https://www.dropbox.com/s/4ebuz0f84kzws ... 24_any.apk
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
-
- Posts: 5
- Joined: Sat Jul 25, 2015 5:10 pm
Re: Help installing LXML
Fixed!
Looks like everything is working correctly now. Search/Send to Deluge all worked perfectly.
Looks like everything is working correctly now. Search/Send to Deluge all worked perfectly.