Re: [2008.12] BeautifulSoup and Python... how?

2009-01-02 Thread arne anka
ImportError: No module named sgmllib well, _is_ there a module sgmllib? what does find / -name \*sgmllib\* return? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community

Re: [2008.12] BeautifulSoup and Python... how?

2009-01-02 Thread Francesco de Virgilio
Be patient, it exits as follow: r...@om-gta02:~# / -name \*sgmllib\* -sh: /: Permission denied arne anka ha scritto: ImportError: No module named sgmllib well, _is_ there a module sgmllib? what does find / -name \*sgmllib\* return? ___

Re: [2008.12] BeautifulSoup and Python... how?

2009-01-02 Thread Rui Miguel Silva Seabra
Of course it does. Now do a find like arne asked you :) (joking, you just missed the find command, as arne said, type: find / -name \*sgmllib\* Rui On Fri, Jan 02, 2009 at 12:19:43PM +0100, Francesco de Virgilio wrote: Be patient, it exits as follow: r...@om-gta02:~# / -name

Re: [2008.12] BeautifulSoup and Python... how?

2009-01-02 Thread Francesco de Virgilio
Great! I was thinking that something was missing, but the First of the Year has decreased my understanding capacity :D However, no results: r...@om-gta02:~# find / -name \*sgmllib\* r...@om-gta02:~# Could anyone reproduce the import BeautifulSoup and the error? Rui Miguel Silva Seabra ha

Re: [2008.12] BeautifulSoup and Python... how?

2009-01-02 Thread arne anka
However, no results: quite interesting! when i do $ apt-file search sgmllib in debian i get diveintopython: /usr/share/doc/diveintopython/html/html_processing/introducing_sgmllib.html diveintopython-zh: /usr/share/doc/diveintopython-zh/html/html_processing/introducing_sgmllib.html jython:

Re: [2008.12] BeautifulSoup and Python... how?

2009-01-02 Thread Francesco de Virgilio
Yeah, today installing python-something_near_xml it's what i thought, so at now in my moko-box python-xml and python-xmlrpc, but you know the result. Is there any way to see if any of the official 2008.12 packages avaiable from opkg contains sgmllib.py (a sort of apt-file search)? In Python docs

Re: [2008.12] BeautifulSoup and Python... how?

2009-01-02 Thread Francesco de Virgilio
Solved :D I've managed to import manually all the libraries necessary to import BeautifulSoup: I copied on the running dir of my script (on the FR) the following libraries: markupbase.py sgmllib.py BeautifulSoup.py and all worked fine :D Thanks to arne and RMS ;) arne anka ha scritto: However,

Re: [2008.12] BeautifulSoup and Python... how?

2009-01-02 Thread arne anka
Yeah, today installing python-something_near_xml it's what i thought, so at now in my moko-box python-xml and python-xmlrpc, but you know the result. is there a package python-html or so? google offered a slightly confusing posting indicating that maybe sgmllib ended up there, at least in

[2008.12] BeautifulSoup and Python... how?

2009-01-01 Thread Francesco de Virgilio
Hi all, I'm writing a little python script and I need to use BeautifulSoup[1]. So, I've copied the BeautifulSoup.py file on my OM 2008.12 and, after opening a Python console, that's what the terminal prints to me: from BeautifulSoup import BeautifulStoneSoup Traceback (most recent call last):