architecture-building-systems / revitpythonshell

An IronPython scripting environment for Autodesk Revit and Vasari
MIT License
494 stars 113 forks source link

IronPython installation breaks revitpythonshell #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install IronPython 2.7.5 from http://ironpython.codeplex.com/
2. Run Revit and open Python Console

What is the expected output? What do you see instead?
The command line in the top window with starting with >>> is expected to be 
seen. Instead it is blank. Running any code in the bottom window will crash 
Revit

What version of the product are you using? On what operating system?
Revit 2014, Win7 x64

Please provide any additional information below.
Uninstalling IronPython 2.7.5 solves the problem. Is it possible to have them 
coexist?

Original issue reported on code.google.com by jiv...@gmail.com on 2 Feb 2015 at 6:13

GoogleCodeExporter commented 9 years ago
Observed this issue with Revit 2015, Win 7 x64 (IronPython 2.7.4 still works 
though)

Original comment by r...@mooreid.com on 10 Feb 2015 at 12:58

daren-thomas commented 9 years ago

this has to do with the control used for the shell - avalon edit. it needs to be the same platform as Revit, otherwise it won't work.

shtirlitsDva commented 8 years ago

Can you please post a temporary fix? I am a beginner, and your comment does not make any sense to me. Now the Shell doesn't work after I installed IronPython :(.

shtirlitsDva commented 8 years ago

Uninstalling IronPython fixed the issue for now.

daren-thomas commented 8 years ago

Uninstalling is so far the only solution that I can find. I'm very sorry. Maybe with the next version of Revit. There is not much I can do to fix this issue and I have already spent more time on it than I can justify to my employer. I am really sorry about this!

If you install IronPython 2.7.3 (instead of 2.7.5) you should not have a problem.

On Wed, Mar 16, 2016 at 12:11 AM, shtirlitsDva notifications@github.com wrote:

Uninstalling IronPython fixed the issue for now.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/architecture-building-systems/revitpythonshell/issues/25#issuecomment-197063528

jbuccola commented 8 years ago

Hi Daren -- not sure if this is related or not (sorry, I'm very new to RevitPythonShell and IPY as well)

Will there every be any compatibility between RPS and IronPython 2.7.5? I only ask because I'm in dire need of the Requests module for IronPython, which only can be installed into 2.7.5 (primarily because 2.7.3 doesn't seem to support pip - the only way I understand out how to install Requests) -- naturally, I came across the same issue as above when I upgraded IronPython.

Yes, this is a bizarre and irritating chain reaction of incompatibilities -- just curious if I should start looking for a workaround someplace here.

daren-thomas commented 8 years ago

actually, it might be possible to upgrade with revit 2017. but that could break compatibility with older versions. hm. hey. if you want to give it a shot and send me a pull request?

On Tuesday, 19 July 2016, jbuccola notifications@github.com wrote:

Hi Daren -- not sure if this is related or not (sorry, I'm very new to RevitPythonShell and IPY as well)

Will there every be any compatibility between RPS and IronPython 2.7.5? I only ask because I'm in dire need of the Requests http://docs.python-requests.org/en/master/ module for IronPython, which only can be installed into 2.7.5 (primarily because 2.7.3 doesn't seem to support pip http://ironpython.net/blog/2014/12/07/pip-in-ironpython-275.html - the only way I understand out how to install Requests) -- naturally, I came across the same issue as above when I upgraded IronPython.

Yes, this is a bizarre and irritating chain reaction of incompatibilities -- just curious if I should start looking for a workaround someplace here.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/architecture-building-systems/revitpythonshell/issues/25#issuecomment-233746662, or mute the thread https://github.com/notifications/unsubscribe-auth/AC1P3JwAkTuST6Fyc3bbykP4imxxQzduks5qXSufgaJpZM4EQSim .

jbuccola commented 8 years ago

I'm actually not even able to download 2017 at the moment (freaks out our BIM manager). I've managed to work around things using .NET's library WebRequests instead -- far less elegant than the Requests module, but hey, it works. Might be re-writing my plugin this time next year...