Hello.
I'm a bit late to the 2.0 party, but I'm trying to upgrade my environment.
This code fails:
from System.Threading import Thread
Thread.Sleep(3000)
Traceback (most recent call last):
File stdin, line 1, in module
File C:\Program Files\IronPython 2.0\Lib\warnings.py, line 61, in warn
Carl Trachte wrote:
Hello.
I'm a bit late to the 2.0 party, but I'm trying to upgrade my environment.
This code fails:
from System.Threading import Thread
Thread.Sleep(3000)
Traceback (most recent call last):
File stdin, line 1, in module
File C:\Program Files\IronPython
Or if your program has no UI components you can start with the -X:MTA option
and the warning won't get issued.
Unfortunately the 2nd you hit a different warning it's likely you'll have the
same problem. So the underlying problem looks like we're somehow picking up a
different linecache.py or
Dino Viehland wrote:
Or if your program has no UI components you can start with the -X:MTA option
and the warning won't get issued.
Unfortunately the 2nd you hit a different warning it's likely you'll have the
same problem. So the underlying problem looks like we're somehow picking up a
Hi IronPython team,
Occasionally, when importing one particular module on a background
thread I get this error:
SystemError: Collection was modified; enumeration operation may not execute.
The offending line is:
class SerializeCustom(_custom_base):
And _custom_base is defined earlier in the
Eureka - I'm an idiot.
Thanks for suggesting the simple trick of printing out the result of
dir(System). I should have thought of that earlier.
Turns out the problem is that there is a module named system.py (all
lowercase) in the same subdirectory (or package) as the module I was
trying to
We fixed the case insensitivity issue in 2.0 so that might be incentive to
upgrade :)
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Pierre-Jules Tremblay
Sent: Monday, February 09, 2009 5:52 PM
To: Discussion of
Hi Dino,
I modified the importing code a to spit out the CLR trace and to auto
refresh the browser if there is no error. 299 reloads later it crashed
because it ran out of memory, looks like IE/silverlight has a leak.
108 reloads after that I hit paydirt. There error was in another
module, but