You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm triying to run IronPython 3.4.1 (ipy.exe) as my python interpreter inside GNU Emacs 28.2 (build 2, x86_64-w64-mingw32), but it doesn't work. The original cpython interpreter, from the cygwin package, does work, ironpython 3.0.0 from the mono project installer also works.
Steps to Reproduce
To reproduce this error:
Run GNU Emacs 28.2 having the python-mode 20221008.1936 installed.
Run the M-x customize command and search for the Python Shell Interpreter variable.
Put the ipy.exe full path on the variable and save it for the current session and future sessions.
Run the M-x run-python command to ask emacs for a python shell.
Expected behavior:
It should show the ironpython shell and let me work on it as an older version that comes from the mono project does:
Or as the cpython interpreter that comes from cygwin does:
Actual behavior:
Emacs tries to execute the interpreter but enters on some kind of infinite loop repeating "OSError: [Errno 9] The handle is invalid." until it is stopped either through the task manager or via the C-c C-c key combo:
Also i don't understand why emacs opens 2 sub-process of ironpython, maybe related to the error:
$ dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.302
Commit: c857713418
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19044
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.302\
global.json file:
Not found
Host:
Version: 6.0.7
Architecture: x64
Commit: 0ec02c8c96
.NET SDKs installed:
5.0.416 [C:\Program Files\dotnet\sdk]
6.0.302 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.AspN
etCore.App]
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspN
etCore.App]
Microsoft.AspNetCore.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNe
tCore.App]
Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore
.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore
.App]
Microsoft.NETCore.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.
App]
Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.
WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.
WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.W
indowsDesktop.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
Operating system used: Windows 10 Professional Version 21H2 OS build 19044.3324
sys.version:
$ ipy
IronPython 3.4.1 (3.4.1.1000)
[.NETFramework,Version=v4.6.2 on .NET Framework 4.8.4645.0 (64-bit)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version
'3.4.1 (3.4.1.1000)\n[.NETFramework,Version=v4.6.2 on .NET Framework 4.8.4645.0
(64-bit)]'
As I'm comparing against the ironpython 3.0.0 that comes with mono here I include the version:
$ mono --version
Mono JIT compiler version 6.12.0 (Visual Studio built mono)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-proj
ect.com
TLS: __thread
SIGSEGV: normal
Notification: Thread + polling
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: preemptive
GC: sgen (concurrent by default)
Also I'm comparing against the cpython interpreter from cygwin, here I include the cygwin version:
$ uname -a
CYGWIN_NT-10.0-19044 DTI-6005-66 3.3.6-341.x86_64 2022-09-05 11:15 UTC x86_64 Cygwin
The text was updated successfully, but these errors were encountered:
Prerequisites
Confirmed is an error not a question.
Description
I'm triying to run IronPython 3.4.1 (ipy.exe) as my python interpreter inside GNU Emacs 28.2 (build 2, x86_64-w64-mingw32), but it doesn't work. The original cpython interpreter, from the cygwin package, does work, ironpython 3.0.0 from the mono project installer also works.
Steps to Reproduce
To reproduce this error:
customize
command and search for the Python Shell Interpreter variable.run-python
command to ask emacs for a python shell.Expected behavior:
It should show the ironpython shell and let me work on it as an older version that comes from the mono project does:
![image](https://private-user-images.githubusercontent.com/5130273/282826444-1680a0f6-09a3-45fe-a97e-d7217a23f30e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMjcwMDQsIm5iZiI6MTcyNjEyNjcwNCwicGF0aCI6Ii81MTMwMjczLzI4MjgyNjQ0NC0xNjgwYTBmNi0wOWEzLTQ1ZmUtYTk3ZS1kNzIxN2EyM2YzMGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMDczODI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmU4N2I1MDJjMzI3ZDM4ZGNlMzI4YTU1NWQ2YjE0NzlhNDI0MWQxOWQ0MWEwZWU1NjlkYjVmOWYyZDQ2NWNjZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.ro5SDJeCUWxJST1vjh3SBkrJUQr_OviorLkXffekmyc)
Or as the cpython interpreter that comes from cygwin does:
![image](https://private-user-images.githubusercontent.com/5130273/282826786-8af4408c-c67a-4f52-bb4c-2628c208db18.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMjcwMDQsIm5iZiI6MTcyNjEyNjcwNCwicGF0aCI6Ii81MTMwMjczLzI4MjgyNjc4Ni04YWY0NDA4Yy1jNjdhLTRmNTItYmI0Yy0yNjI4YzIwOGRiMTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMDczODI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWE3OTQxMjEyNWU0ODRkNDQxODVjMGJlNWViMjI0NDNkMmI1NzZiODExYzM0NDhmMDI0OTZkZWE4MTU2YTMxYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.sigIxo7CVIg5xXQzIkom8DymlWihaDZHCCuYFA9rh2g)
Actual behavior:
Emacs tries to execute the interpreter but enters on some kind of infinite loop repeating "OSError: [Errno 9] The handle is invalid." until it is stopped either through the task manager or via the C-c C-c key combo:
![image](https://private-user-images.githubusercontent.com/5130273/282824966-878d33a3-1605-481a-8465-d489d6a1a453.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMjcwMDQsIm5iZiI6MTcyNjEyNjcwNCwicGF0aCI6Ii81MTMwMjczLzI4MjgyNDk2Ni04NzhkMzNhMy0xNjA1LTQ4MWEtODQ2NS1kNDg5ZDZhMWE0NTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMDczODI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2FmNTAzNjJlYmU3MjA1MmI1NDgwZmY4OGIyMTE2YTUwMjFhNDJlN2Q4NjAxNGM3MWIzYzE4Yjk0NTBhOTU0YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.y-lo1M5hSmgQr3Cq_3A_35RCTaE6gx5j8NAwQK_uJ4Q)
Also i don't understand why emacs opens 2 sub-process of ironpython, maybe related to the error:
![image](https://private-user-images.githubusercontent.com/5130273/282825704-654408fa-b265-4df5-8a8f-9cacbde069a1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMjcwMDQsIm5iZiI6MTcyNjEyNjcwNCwicGF0aCI6Ii81MTMwMjczLzI4MjgyNTcwNC02NTQ0MDhmYS1iMjY1LTRkZjUtOGE4Zi05Y2FjYmRlMDY5YTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMDczODI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWU2YzY0MjlkZTBlYzFhZWQ4OWY5OGZlY2FjY2ZlM2ZmYmQ0YjIxOGZlMTkzMDM5YzllMmE1ZTk2YzQxNWIwNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.kL9eqldyxIlnTJxrW01usoke6NoqYdgEI0NUlsKuqwA)
Version Information
Result of
ipy -VV
:.NET platform used:
Operating system used:
Windows 10 Professional Version 21H2 OS build 19044.3324
sys.version:
As I'm comparing against the ironpython 3.0.0 that comes with mono here I include the version:
Also I'm comparing against the cpython interpreter from cygwin, here I include the cygwin version:
The text was updated successfully, but these errors were encountered: