Jump to content


Photo

zap2xml.py error: No module named HTMLParser


  • Please log in to reply
13 replies to this topic

#1 Emtec

  • Member
  • 14 posts

0
Neutral

Posted 26 December 2017 - 23:18

Hi

 

I'm trying to get the egg working of a couple of USA channels through zap2it.com

There is a file which I need to run on the box called zap2xml.py

On the box I run: phyton zap2xml.py however I'm getting the following error:

 

File "zap2xml.py", line 4, in <module>

    from HTMLParser import HTMLParser

ImportError: No module named HTMLParser

 

I also installed the python mechanize with the following command which was executed successfully:

opkg install python-mechanize

 

The error "no module named HTMLParser" what does it actually mean? Do I forgot to install something?

I'm stuck on this one and hope somebody can help me out.



Re: zap2xml.py error: No module named HTMLParser #2 doglover

  • Rytec EPG Team
  • 17,382 posts

+657
Excellent

Posted 27 December 2017 - 09:18

I have no idea what is going on, but there is a python module:

 

python-html

 

May you need that installed?

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: zap2xml.py error: No module named HTMLParser #3 Emtec

  • Member
  • 14 posts

0
Neutral

Posted 27 December 2017 - 23:44

Thank you for your reply.

 

I'll try that and report back.



Re: zap2xml.py error: No module named HTMLParser #4 Emtec

  • Member
  • 14 posts

0
Neutral

Posted 28 December 2017 - 22:17

That definitely did the trick  :)

However I'm now getting the following error:

 

 File "zap2xml.py", line 102, in <module>

    from BeautifulSoup import BeautifulStoneSoup

ImportError: No module named BeautifulSoup

 

Do I need to install a module?



Re: zap2xml.py error: No module named HTMLParser #5 Emtec

  • Member
  • 14 posts

0
Neutral

Posted 28 December 2017 - 22:24

I tried opkg install beautifulsoup4 but that module doesn't exist.



Re: zap2xml.py error: No module named HTMLParser #6 catastrofus

  • Senior Member
  • 3,480 posts

+43
Good

Posted 29 December 2017 - 08:38

Try installing python-bs4


2 x vu+ultimo4k ((nb & 9.0r) dvb-c fbc + 1 dvb-s2) + een vu+duo4k ((nb) fallbackclient) met een Synology ds214+ (2 x 6 TB) op DSM 7.1.1 in ziggo oost (voormalig @Home) + A1/A2/A3/HB (TechniSat)
 


Re: zap2xml.py error: No module named HTMLParser #7 Emtec

  • Member
  • 14 posts

0
Neutral

Posted 29 December 2017 - 12:24

Thank you for your reply.

If I try opkg install python-bs4 it return with: Unknown package 'python-bs4'.



Re: zap2xml.py error: No module named HTMLParser #8 catastrofus

  • Senior Member
  • 3,480 posts

+43
Good

Posted 29 December 2017 - 20:19

I think this module isn't available within openembedded/openpli. You can ask one of the core-members to make it available so you can install it.


2 x vu+ultimo4k ((nb & 9.0r) dvb-c fbc + 1 dvb-s2) + een vu+duo4k ((nb) fallbackclient) met een Synology ds214+ (2 x 6 TB) op DSM 7.1.1 in ziggo oost (voormalig @Home) + A1/A2/A3/HB (TechniSat)
 


Re: zap2xml.py error: No module named HTMLParser #9 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 29 December 2017 - 23:05

It is part of Rocko which is scheduled for OpenPLi 7.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: zap2xml.py error: No module named HTMLParser #10 Emtec

  • Member
  • 14 posts

0
Neutral

Posted 30 December 2017 - 00:05

Ok cool when will OpenPLi 7 will be available?



Re: zap2xml.py error: No module named HTMLParser #11 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 30 December 2017 - 11:24

When it's ready. It is being worked on.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: zap2xml.py error: No module named HTMLParser #12 Emtec

  • Member
  • 14 posts

0
Neutral

Posted 30 December 2017 - 20:26

Ok is there any other solution to install this?



Re: zap2xml.py error: No module named HTMLParser #13 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 30 December 2017 - 20:31

Compile your own image?

 

Beautfulsoup is a full featured screen grabber, a very heavy tool to run on a box. This tool seems clearly designed to run on PC hardware. 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: zap2xml.py error: No module named HTMLParser #14 Emtec

  • Member
  • 14 posts

0
Neutral

Posted 31 December 2017 - 02:09

Thanks :-)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users