473,396 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

utidylib won't import

I've installed utidylib on Python 2.3, Win2K, using
uTidylib-0.1.win32.exe from http://sourceforge.net/projects/utidylib .

When I try to import tidy, I get:

"""
import tidy

Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Python23\Lib\site-packages\tidy.py", line 38, in ?
from tidylib.lib import parse, parseString
File "C:\Python23\Lib\site-packages\tidylib\lib.py", line 80, in ?
_tidy.lookupOption.restype=c.POINTER(_TidyOptionIm pl)
File "C:\Python23\Lib\site-packages\tidylib\lib.py", line 32, in
__getattr__
return getattr(self.lib, name)
File "C:\Python23\Lib\site-packages\ctypes\__init__.py", line 231,
in __getattr__
func = self._CdeclFuncPtr(name, self)
AttributeError: function 'lookupOption' not found
"""

.... though tidylib.lib does define lookupOption().

Any clues appreciated.

-- Wade Leftwich
Ithaca, NY
Jul 18 '05 #1
0 975

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: james roush | last post by:
I'm tryinh to switch from mx.tidy to uTidyLin and it isn't going well. So far I can't even import TidyLib. Below is what I get when trying to import into Idle. I'm using Python 2.1. >>> from...
1
by: Phillip | last post by:
Hi. I'm having some anoying trouble trying to establish a https connection. I've even switched Python Versions (from 2.2.3 to 2.3.3), but the Errors remain basically the same, allthough they now...
1
by: Loane Sharp | last post by:
Hi there I have a Windows Forms application that contacts the server and retrieves particular files, if they exist. To the best of my knowledge, the .exe assembly is properly compiled, strongly...
1
by: bradjensmith | last post by:
I am importing a pipe delimited text file into MS Access 2002. The text file contains | | aka |space| The resulting table when imported converts the space to a null value. Any suggestions on...
1
by: bruce | last post by:
hi... you can do : import tidy s = tidy.parseString(foo) which runs the information in "foo" through tidy, for cleaning. this results in "s" being a "document object"
1
by: Boris | last post by:
Hello I'm using debian linux, Python 2.4.4, and utidylib (http:// utidylib.berlios.de/). I wrote simple functions to get a web page, convert it from windows-1251 to utf8 and then I'd like to...
7
by: Robert Hancock | last post by:
mypackage/ __init__.py push/ __init__.py dest.py feed/ __init__py subject.py In subject.py I have
10
by: nisp | last post by:
Hi all ! I'm trying to capture stderr of an external module I use in my python program. I'm doing this by setting up a class in my module overwriting the stderr file object method write. The...
6
by: provor | last post by:
Hello, I have the following code that I am using when a user presses a button to import an excel file into a table. The code is hard coded to point to the correct table. This works great for this...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.