Mike Driscoll wrote:
Hmmm...I'm not familiar with that DLL, but a little googling seems to
indicate that you may be able to get it off your installation CD:
it actually is there on my system. So this may be the red herring the
Dependency Walker FAQ is warning for
maybe I should leave
Mike Driscoll wrote:
On Apr 29, 4:17 am, Paul Sijben paul.sij...@xs4all.nl wrote:
Is there any way to check which is the offending pyd/dll? (normally
Vista does not give out much data on what went wrong)
Paul
You might be able to find it using the Dependency Walker utility:
http
Gabriel Genellina wrote:
I am currently stuck on the infamous R6034 error but I understand that
after that there may be another issue with certain wxPython functions.
That should be fixed in Python 2.6.2, I think.
Are you compiling all your dependencies, including Python itself? R6034
is
python 2.6, py2exe and Vista do not make a happy set.
Unfortunately I am in dire need to launch my app not only on WinXP but
also on Vista. I need 2.6 because of a number of support packages I am
using and some of which I am compiling myself (and python 2.5 needs a
version of visual studio that
Thanks very much for a clear and concise explanation of the problem and
the solution!
I am implementing it now in my system. Luckily we caught this one during
testing so no important data has been lost.
Unfortunately windows does not seem to support gdbm. But in our case,
everything that is on
I have the problem that my shelve(s) sometimes corrupt (looks like it
has after python has run out of threads).
I am using the default shelve so on linux I get the dbhash version.
Is there a different DB type I can choose that is known to be more
resilient? And if so, what is the elegant way of
I am trying to turn my application into a WinXP exe. Py2exe has packaged
all my files up into one humongous executable. When trying to run the
app, it complains that it can not find modules I just saw it include.
These invariably are modules that have been imported using
from modulename
I am running into a problem with the python interpreter's internals.
For some reason imp.load_module insists on getting a real open file as
the second parameter. I have not able to fool it with stringIO or
overloaded file objects.
So now I have two questions:
1) why does load_module insist on a
I am running into the (apparently) well-known issue with pyrex that
trying to raise an exception using python2.5 and pyrex will lead to a
TypeError, as TypeError: exceptions must be strings, classes, or
instances, not exceptions.ImportError
Is there a fixc for this issue?
best regards,
Paul
Stefan Behnel wrote:
Paul Sijben wrote:
I am running into the (apparently) well-known issue with pyrex that
trying to raise an exception using python2.5 and pyrex will lead to a
TypeError, as TypeError: exceptions must be strings, classes, or
instances, not exceptions.ImportError
You
How often do these things *actually* happen?
Of those that actually do it, how many are clueless enough that when they
run into problems they blame you for it? (And remember that you won't
even find out about the non-clueless ones.)
This is a rethorical question, right?
--
:47:26 +1100 Ben Finney [EMAIL PROTECTED] wrote:
Paul Sijben [EMAIL PROTECTED] writes:
I know that I can not stop a dedicated hacker deconstructing my code.
A direct consequence of this is that you can not stop *anyone* from
deconstructing your code if it's in their possession. It takes only
Robert Latest wrote:
Paul Sijben wrote:
The problem: I have a client-server app written in python. I want to
make sure that the client is not:
1) destabilized by users accidentally or on purpose dropping python
files in the path (after which calling the helpdesk will not be useful)
2
of
freeloaders.
I am now considering overriding import with some code that will only
import modules signed and crypted by me.
However I can not imagine that I would be the first one planning to do this.
So is there a solution like this available somewhere?
Paul Sijben
--
http://mail.python.org
thanks very much!
Grant Edwards wrote:
On 2007-11-07, Paul Sijben [EMAIL PROTECTED] wrote:
To automate/ease configuration in my app I am trying to find
out to which serial port a certain bluetooth device is
connected. With pybluez I can find out which bluetooth devices
I have
am insterested in the
platforms WinXP and linux primarily)
Paul Sijben
--
http://mail.python.org/mailman/listinfo/python-list
thanks very much! I am currently compiling python with the patch and
will test it over the coming days.
Paul
Hrvoje Niksic wrote:
Paul Sijben [EMAIL PROTECTED] writes:
I am running a multi-threaded python application in a dual core
intel running Ubuntu.
[...]
Judging from the stack
I am running a multi-threaded python application in a dual core intel
running Ubuntu.
I am using python 2.5.1 that I compiled myself. At random points I am
getting segmentation faults (sometimes indicating a duplicate free).
Below is the backtrace of the latest segfault.
I am thinking this might
MRAB wrote:
On Jun 13, 7:31 am, Paul Sijben [EMAIL PROTECTED] wrote:
I ran into an internationalization issue. I need a consistent idea about
the timezone my application is running on. However when I run the following:
import time
time.tzname
I get back ('West-Europa (standaardtijd
I ran into an internationalization issue. I need a consistent idea about
the timezone my application is running on. However when I run the following:
import time
time.tzname
I get back ('West-Europa (standaardtijd)', 'West-Europa (zomertijd)')
which is in dutch (the language of the host
Hi Ken,
I am looking for something similar. I can do the communications myself
but need to be able to select a video feed, capture it and also need to
display it through wxPython.
Trawled the web and even tried to hire coders to create it for me. So
far I have been having no luck.
I did learn
All,
in a worker thread setup that communicates via queues is it possible to
catch exceptions raised by the worker executed, put them in an object
and send them over the queue to another thread where the exception is
raised in that scope?
considering that an exception is an object I feel it
Stargaming Diez,
thanks very much!
Stargaming wrote:
Paul Sijben schrieb:
All,
in a worker thread setup that communicates via queues is it possible to
catch exceptions raised by the worker executed, put them in an object
and send them over the queue to another thread where the exception
Gabriel Genellina wrote:
Simply you can't, as you can't have 1 open files at once. Computer
resources are not infinite.
sure but *how* fast they run out is the issue here
Do you really need so many threads?
I might be able to do with a few less but I still need many.
I have done a
Felipe Almeida Lessa wrote:
Maybe Stackless could help the OP?
http://www.stackless.com/
thanks I will look into it!
--
http://mail.python.org/mailman/listinfo/python-list
in some cases struct.unpack would also help
[EMAIL PROTECTED] wrote:
Hello,
I need to convert a 3 byte binary string like
\x41\x00\x00 to 3 int values ( (65,0,0) in this case).
The string might contain characters not escaped with a \x, like
A\x00\x00
Any ideas?
Daniel
--
All thanks for all the input! This was very informative.
Looks like I indeed need stackless as my code benefits from being
concurrently designed.
Paul
Jean-Paul Calderone wrote:
On Wed, 10 Jan 2007 12:11:59 -0200, Felipe Almeida Lessa
[EMAIL PROTECTED] wrote:
On 1/10/07, Laurent Pointal
I have a server in Python 2.5 that generates a lot of threads. It is
running on a linux server (Fedora Core 6).
The server quickly runs out of threads.
I am seeing the following error.
File /home/sijben/ORCA/src/libmercury_mt.py, line 565, in __init__
MercuryObject.__init__(self,mylink)
I am writing some client software that needs to accept connections from
the Internet. So I am looking for a UPnP implementation for a client of
an Internet gateway so I can request the NAT binding.
Googling on this I have found win32 implementations and Twisted
implementations yet I am looking
You are right of course but I was hoping to avoid that. Twisted is very
large and has all kinds of internal dependencies.
Sybren Stuvel wrote:
Paul Sijben enlightened us with:
Googling on this I have found win32 implementations and Twisted
implementations yet I am looking for a way to do
Lawrence D'Oliveiro wrote:
In article [EMAIL PROTECTED],
Paul Sijben [EMAIL PROTECTED] wrote:
I found that the problem was caused by the sending thread not giving
control back quickly enough to the receiving thread.
Also in going through the code I found an old self.s.setblocking(0)call
scheduling?
Paul Sijben
--
http://mail.python.org/mailman/listinfo/python-list
Serge Orlov wrote:
Paul Sijben wrote:
I am stumped by the following problem. I have a large multi-threaded
server accepting communications on one UDP port (chosen for its supposed
speed).
I have been profiling the code and found that the UDP communication is
my biggest drain on performance
Serge Orlov wrote:
Paul Sijben wrote:
Serge Orlov wrote:
Paul Sijben wrote:
I am stumped by the following problem. I have a large multi-threaded
server accepting communications on one UDP port (chosen for its supposed
speed).
I have been profiling the code and found that the UDP
Martin P. Hellwig wrote:
[snip]
Is the connection 1:1 i.e. the receiving end receives data only from one
sender at the time? And how do you handle lost packages in your
application?
no the server is receiving from multiple clients.
and at the moment I do not handle lost packets.
--
just 1.
Thanks to those who took the time to respond to my earlier messages.
Paul
Paul Sijben wrote:
OK the problem I posted about earlier is NOT a UDP/socket problem, it is
a threading problem. Albeit one that only happens when you have many
thrreads
I have made two little scripts
appreciate if anyone can shed light on this!
Paul
Paul Sijben wrote:
I am stumped by the following problem. I have a large multi-threaded
server accepting communications on one UDP port (chosen for its supposed
speed).
I have been profiling the code and found that the UDP communication is
my
37 matches
Mail list logo