Hello,
please, when I try to run my code under python2.4-dbg
from Ubuntu, the interpreter complains that the Py_InitModule4
symbol is undefined in a C module I'm using (PyOpenAL):
ImportError: /var/lib/python-support/python2.4/_openal.so: undefined
symbol: Py_InitModule4
Google reveals that this problem is not specific just to PyOpenAL,
but I couldn't find out what is the essence of the problem and how
python-2.4dbg is different from python2.4 except for including
debugging symbols, because in plain python2.4 the module works
fine. Also, the same thing happens with python 2.5 (not the
-dbg variant).
Please, what is the problem and how to overcome it?
Thank you,
Hynek Hanke 1 1695
please, when I try to run my code under python2.4-dbg
from Ubuntu, the interpreter complains that the Py_InitModule4
symbol is undefined in a C module I'm using (PyOpenAL):
ImportError: /var/lib/python-support/python2.4/_openal.so: undefined
symbol: Py_InitModule4
Google reveals that this problem is not specific just to PyOpenAL,
but I couldn't find out what is the essence of the problem and how
python-2.4dbg is different from python2.4 except for including
debugging symbols, because in plain python2.4 the module works
fine.
The dbg version does not define Py_InitModule4, but
Py_InitModule4T raceRefs. This is a safety-measure to prevent modules
compiled for the nodebug version of Python to load into the debug
version. There are major changes to the internal interpreter data
structures in the debug version, so you have to recompile your module
with the debug headers.
HTH,
Martin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jakub Moscicki |
last post by:
Hello,
A small problem: I get a signal during a system call (from xmlrpclib ->
httplib) and an exception "IOError: Interrupted system call" is
raised (this is system dependant, on other machine it does not raise this
exception). I have my own signal handler so I want to simply ignore this
exception if it occures. But for a reason mysterious to me I cannot catch
this exception in the main's program try block.
Anybody knows what's...
|
by: tudor |
last post by:
hello!
I had python 2.2.1 so I upgraded to python 2.3.2, but all my
applications using python (rh8) give errors now. I installed from src.rpm
Traceback (most recent call last):
File "/usr/sbin/redhat-switch-printer", line 84, in ?
main()
File "/usr/sbin/redhat-switch-printer", line 68, in main
from switchprinter_gui import mainDialog
File "/usr/share/redhat-switch-printer/switchprinter_gui.py", line
|
by: Adil Hasan |
last post by:
Hello,
I'm having problems trying to use ZSI to connect to a https url.
I give the command and I get prompted for my X509 cert pass-phrase, but
the program dies with an openssl error.
Here's my code:
from ZSI import *
u=''
n='https://shahzad.fnal.gov/edg-voms-admin/uscms/services/VOMSAdmin'
|
by: km |
last post by:
Hi all,
is there a debian binary of python2.4 ?
tia,
KM
|
by: Tim N. van der Leeuw |
last post by:
Hi,
When trying to use win32com functionality with Python2.4, the
interpreter often crashes!
I don't know if it's a known problem already that will be fixed in an
upcoming Python2.4.1 version.
Basically, the problem is:
makepy.py generates a (large, nearly 2mb) Python file for use with COM
| |
by: Wolfgang |
last post by:
I have a problem with linking my CPP Code under a irix6 machine (sgi,
UNIX). In my CPP code I use some Functions which are written in
Python. So its a kind of CPP wrapper for my Python functions In my
Python Code I use threads to communicate over the network and stuff
like this. Compilation and linking are working very well under Windows
and Linux with the same code. Under the sgi, UNIX machine some errors
occur and I don't no why....
|
by: Miernik |
last post by:
On my Debian GNU/Linux system I have Python 2.3 installed in
/usr/lib/python2.3/ where most Python system files like
/usr/lib/python2.3/gzip.py
/usr/lib/python2.3/gzip.pyc
/usr/lib/python2.3/gzip.pyo
live, besides of course /usr/bin/python2.3
I noticed that all those files come in three "flavours":
|
by: venkatbo |
last post by:
Hi all,
I have python2.4 running on ppc-linux 2.6.17. I'm attempting to get
a TurboGears 0.9a9 (using CherryPy 2.2.1) based app running on
it.
During the TG-app startup sequence, it reaches the point where it
imports cherrypy, which eventually causes py2.4's system file,
compiler/transformer.py, to import a module by name, symbol.
Unable to find it, python quits...
|
by: Christopher Taylor |
last post by:
RHEL comes with Python2.3 installed. A program I need to install
requires Python2.4
So I got Python2.4 from source and compiled it up. I configured it
with --prefix=/usr --exec-prefix=/usr and --enable-unicode=ucs4 . I
then make'd it and then make altinstall so that it didn't overwrite
the /usr/bin/Python link to /usr/bin/Python2.3 .
Well, for some reason, the arch dependent files did NOT get placed
properly in...
|
by: samn |
last post by:
i compiled and installed the release version of python 2.5 for linux to
a directory accessible to 2 computers, configured with
--prefix=/usr/arch (which is accessible to both machines). the
installation went fine and when i run python on one machine i can do
from hashlib import * without a problem. on the other machine i get the
following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |