I'm working on a script with the most excellent uTibyLib library. The script works just fine on Mac, but on Windows I get this:
File "findtables.py" , line 82, in cleanHTML
return str(tidy.parseS tring(decentDoc ))
File "c:\Python24\Li b\site-packages\tidy\l ib.py", line 207, in parseString
doc = self._create(** kwargs)
File "c:\Python24\Li b\site-packages\tidy\l ib.py", line 183, in _create
doc = _Document()
File "c:\Python24\Li b\site-packages\tidy\l ib.py", line 135, in __init__
self.cdoc = _tidy.Create()
File "c:\Python24\Li b\site-packages\tidy\l ib.py", line 46, in __getattr__
return getattr(self.li b, name)
File "C:\Python24\Li b\site-packages\ctypes \__init__.py", line 353, in __getatt
func = self.__getitem_ _(name)
File "C:\Python24\Li b\site-packages\ctypes \__init__.py", line 358, in __getite
func = self._FuncPtr(( name_or_ordinal , self))
AttributeError: function 'Create' not found
I do have the tidy.dll installed (if I didn't, I couldn't even import the tidy module).
Anyone have any ideas to try?
--
mhostetl@sdf.lo nestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
File "findtables.py" , line 82, in cleanHTML
return str(tidy.parseS tring(decentDoc ))
File "c:\Python24\Li b\site-packages\tidy\l ib.py", line 207, in parseString
doc = self._create(** kwargs)
File "c:\Python24\Li b\site-packages\tidy\l ib.py", line 183, in _create
doc = _Document()
File "c:\Python24\Li b\site-packages\tidy\l ib.py", line 135, in __init__
self.cdoc = _tidy.Create()
File "c:\Python24\Li b\site-packages\tidy\l ib.py", line 46, in __getattr__
return getattr(self.li b, name)
File "C:\Python24\Li b\site-packages\ctypes \__init__.py", line 353, in __getatt
func = self.__getitem_ _(name)
File "C:\Python24\Li b\site-packages\ctypes \__init__.py", line 358, in __getite
func = self._FuncPtr(( name_or_ordinal , self))
AttributeError: function 'Create' not found
I do have the tidy.dll installed (if I didn't, I couldn't even import the tidy module).
Anyone have any ideas to try?
--
mhostetl@sdf.lo nestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Comment