I wrote a little win32 console application that uses libxml2. It is
working fine. If I create an .exe version, I get this error when I try
to start the program:
Traceback (most recent call last):
File "MyProgram.py", line 3, in ?
File "mylib\item.pyc", line 5, in ?
ImportError: dynamic module does not define init function (initlibxml2)
What is wrong here?
Thanks
Laszlo 2 2519
Laszlo Nagy a écrit :
>
I wrote a little win32 console application that uses libxml2. It is
working fine. If I create an .exe version, I get this error when I try
to start the program:
Traceback (most recent call last):
File "MyProgram.py", line 3, in ?
File "mylib\item.pyc", line 5, in ?
ImportError: dynamic module does not define init function (initlibxml2)
What is wrong here?
Thanks
A quick Google search reveals a thread in the py2exe-users list: http://aspn.activestate.com/ASPN/Mai...-users/3180430
It seems a regression since py2exe 0.6.5, already corrected in CVS trunk.
And according to another post, version 0.6.3 works fine: http://permalink.gmane.org/gmane.com...on.py2exe/1502
Hope this helps,
--
Amaury
Amaury Forgeot d'Arc írta:
Laszlo Nagy a écrit :
>I wrote a little win32 console application that uses libxml2. It is working fine. If I create an .exe version, I get this error when I try to start the program:
Traceback (most recent call last): File "MyProgram.py", line 3, in ? File "mylib\item.pyc", line 5, in ? ImportError: dynamic module does not define init function (initlibxml2)
What is wrong here? Thanks
A quick Google search reveals a thread in the py2exe-users list:
http://aspn.activestate.com/ASPN/Mai...-users/3180430
It seems a regression since py2exe 0.6.5, already corrected in CVS trunk.
And according to another post, version 0.6.3 works fine: http://permalink.gmane.org/gmane.com...on.py2exe/1502
Thank you. I need to downgrade until they fix the problem. :-( This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: RJS |
last post by:
Hi all,
I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32-
py2.2).
Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222.
In the sample below, commenting out...
|
by: Rene Olsthoorn |
last post by:
Dear readers,
py2exe has a problem including libxml2. Not at building time, but at
runtime. The libxml2.dll cannot be loaded... Is there anyone that NOT has
the problem? (and can you drop me...
|
by: Luc Saffre |
last post by:
Hello,
I had a strange problem when freezing (using either py2exe or McMillan
installer) a script that imports reportlab (which imports PIL (which
imports FixTk))).
- Python 2.3.3c (also with...
|
by: Vlajko Knezic |
last post by:
Not so sure what is going on here but is something to do with the way UTF8
is handled in Perl and/or LibXML
The sctript below:
- accepts a value from a form text field;
- ...
|
by: Ian Gregory |
last post by:
Hi,
One of our servers has recently been upgraded and as a result both
libxml and XML::LibXML have been upgraded. The OS is OpenBSD 3.3.
libxml has gone from version 2.4.18 to 2.5.7p1 and...
|
by: Olav |
last post by:
I need to do some cross-platform XML in C++.
Previously I have used Xerces, but some Googeling indicated that many
people prefer libxml. Also it is UTF-8, which is easier for us
(Xerces is...
|
by: jwang |
last post by:
I'm currently writing some C code that uses libxml. I've seen several
example of parsing xml when the xml are in files. However, I would like
to parse the xml from a char buffer. Currently I am ...
|
by: Rich |
last post by:
I am trying to obtain more debugging information for an issue I
reported (ref. Bug #37185
<http://bugs.php.net/bug.php?id=37185&edit=2>). Unfortunately, I do not
have access to the now-ancient...
|
by: kellner |
last post by:
Hello,
I'm parsing a chunk of XML code and would like to add attribute values
to individual tags if these are lacking. This is with perl 5.8.6,
libxml2 2.6.17, XML::LibXML 1.58.
Basically, I...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
|
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,...
| |