architecture-building-systems / revitpythonshell

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

Fatal Error when running hitting the run button #30

Closed engsabbagh closed 8 years ago

engsabbagh commented 8 years ago

I am using the Revit structure 2015 update release 9) i am facing fatal error every time hit the run button even for a sample code , Any Help test2 test1

daren-thomas commented 8 years ago

does the error happen when you press "."?

On Tue, Aug 18, 2015 at 2:41 PM, Mohammad Elsabbagh < notifications@github.com> wrote:

I am using the Revit structure 2015 update release 9) i am facing fatal error every time hit the run button even for a sample code [image: test2] https://cloud.githubusercontent.com/assets/12892747/9330086/86003e0e-45bf-11e5-9626-784be260fdf0.png [image: test1] https://cloud.githubusercontent.com/assets/12892747/9330085/85fee9dc-45bf-11e5-8828-15217cbfd1f3.png

— Reply to this email directly or view it on GitHub https://github.com/architecture-building-systems/revitpythonshell/issues/30 .

engsabbagh commented 8 years ago

Hi Daren,

Thank you for your quick reply. No , I am getting this fatal error every time I click on the Run Button even with empty code .

Thx. for ur help.

daren-thomas commented 8 years ago

that is really strange. which version are you running? 2015.05.21?

can you run an external script?

as it is, this is very hard to debug. Try installing an external script (with the configure dialog, just download one from the rps-samples repository on github) and see if that produces the same results.

On Tue, Aug 18, 2015 at 2:59 PM, Mohammad Elsabbagh < notifications@github.com> wrote:

Hi Daren,

Thank you for your quick reply. No , I am getting this fatal error every time I click on the Run Button even with empty code .

Thx. for ur help.

— Reply to this email directly or view it on GitHub https://github.com/architecture-building-systems/revitpythonshell/issues/30#issuecomment-132198541 .

engsabbagh commented 8 years ago

The version available on https://github.com/architecture-building-systems/revitpythonshell is 2015.0

daren-thomas commented 8 years ago

did you build it yourself or download the release 2015.05.21 from the releases section?

apothetron commented 8 years ago

I get the same error. I am running Revit 2015 Update 9 with RevitPythonShell 2015.04.29 . IronPython IronPython v2.7.5b3. Windows 7 x64. I tried a fresh install with no updates and got the same error on 3 different computers. I am simply just trying to run a print 'Hello World' to get started.

I tried installing an external script from the configure dialog and it does work! I get the error when using Interactive Shell and Non-modal Shell.

daren-thomas commented 8 years ago

thank you. i'll look into it next week.

On Thu, Oct 15, 2015 at 10:31 AM, apothetron notifications@github.com wrote:

I get the same error. I am running Revit 2015 Update 9 with RevitPythonShell 2015.04.29 . I tried a fresh install with no updates and got the same error on 3 different computers. I am simply just trying to run a print 'Hello World' to get started.

— Reply to this email directly or view it on GitHub https://github.com/architecture-building-systems/revitpythonshell/issues/30#issuecomment-148317106 .

hienngocloveyou commented 8 years ago

Yes, now i have a same issue ??? same error with @engsabbagh

daren-thomas commented 8 years ago

It could be the IronPython version - RPS bundles its own IronPython (2.7.3). In fact, just installing IronPython 2.7.5 makes Revit crash when RPS is configured with a startup script. I'm investigating.

colinrichardson commented 8 years ago

I had the same error and saw somewhere else that reverting to ironpython 2.7.4 could fix it, worked for me.

daren-thomas commented 8 years ago

Yes, currently RPS will not work if IronPython 2.7.5 is installed. I do not know how to fix this. I think it might be out of my control and a Revit issue but cannot really prove this. Separating the RPS shell into its own application works fine with the newer version of IronPython, only when integrated with Revit does this issue show up. I won't be fixing this due to time constraints. Sorry.