Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IronPython installation breaks revitpythonshell #25

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 8 comments
Open

IronPython installation breaks revitpythonshell #25

GoogleCodeExporter opened this issue Mar 16, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 2 Feb 2015 at 6:13

@daren-thomas
Copy link
Member

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
Copy link

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
Copy link

Uninstalling IronPython fixed the issue for now.

@daren-thomas
Copy link
Member

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 [email protected]
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
#25 (comment)

@jbuccola
Copy link

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
Copy link
Member

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 [email protected] 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
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC1P3JwAkTuST6Fyc3bbykP4imxxQzduks5qXSufgaJpZM4EQSim
.

@jbuccola
Copy link

jbuccola commented Jul 27, 2016

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...

@eirannejad eirannejad self-assigned this Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants