0

Interesting case here: I'm using IronPython 2.7.3 on my home machine and at work. Import unittest works fine at home but not at work:

Iron Python error

Any idea what's going on? The odd thing is the fact I un-installed Iron Python, re-installed, and I was able to import unittest for an hour with no problems. I stepped out for a bit and tried to run additional tests but it is broken again. Any idea what could be the cause?

Edit: Followed Jeff's suggestion and the base exceptions are: enter image description here

1 Answer 1

1

Try running import signal directly and see if it still happens. Also, try running with ipy -X:ExceptionDetail -X:ShowClrExceptions to see if that includes any extra information.

PythonSignal has to do some P/Invoke code, which is always good for some bizarre behaviour.

Sign up to request clarification or add additional context in comments.

8 Comments

Thanks for the help again, Jeff. I modified my question to show the details of the output.
Had a edit ready and lost it :/ Any hoot, yes, importing signal caused the problem today and yesterday as well. Python Tools looks like it was installed twice in my control panel. When I install the RC version with 2012 support, I un-installed the old one on my home box, but not on my work box. Not sure if that had anything to do with it, but I'm re-doing the Tools and IPY install. I'll play with it for a few hours and see how it goes.
Looks like a GAC issue that seems to come and go. Will try to fix once and for all in 2.7.4, but for now, installing pytools first then IronPython 2.7.3 should work.
Just noticed something else today: It works fine in regards to running ipy64.exe.
Oh goody, that means it's probably to do with 32 vs 64 bit code. Those are always fun to debug.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.