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
Describe the bug
A clear and concise description of what the bug is. What did you expect? What happened instead?
I imported a python package called mwpf, and when I tried to list its attributes (by pressing tab in REPL) I got the following error message that asked me to submit a bug report.
using PythonCall
const mwpf = PythonCall.pynew()
function init()
PythonCall.pycopy!(mwpf, pyimport("mwpf"))
return
end
julia> mwpf
Python: <module 'mwpf' from 'C:\Users\rismail\Desktop\EarlyFT\.CondaPkg\env\Lib\site-packages\mwpf\init.py'>
julia> mwpf.
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x7ffca6d86cbd -- PyType_Lookup at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
in expression starting at none:0
PyType_Lookup at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
PyObject_Dir at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
PyObject_Dir at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\C\pointers.jl:303 [inlined]
macro expansion at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\Py.jl:132 [inlined]
pydir at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\builtins.jl:216
propertynames at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\Py.jl:293
unknown function (ip: 00000177aa93ff62)
complete_symbol at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:208
#complete_identifiers!#57 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1179
complete_identifiers! at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1079 [inlined]
completions at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1436
#complete_line#85 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPL.jl:637
complete_line at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPL.jl:634
unknown function (ip: 000001770966f468)
check_for_hint at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:387 #143 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2527
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:875
#invokelatest#2 at .\essentials.jl:1055 [inlined]
invokelatest at .\essentials.jl:1052 [inlined] #30 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:1711
jfptr_YY.30_8433.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line) #254 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2614
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:875
#invokelatest#2 at .\essentials.jl:1055 [inlined]
invokelatest at .\essentials.jl:1052 [inlined] #30 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:1711
jfptr_YY.30_8473.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
macro expansion at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2861 [inlined]
macro expansion at .\lock.jl:273 [inlined] #282 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2851
jfptr_YY.282_9008.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
start_task at C:/workdir/src\task.c:1202
Allocations: 97558492 (Pool: 97554124; Big: 4368); GC: 96
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x7ffca6ea27c4 -- Py_FinalizeEx at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
in expression starting at none:0
Py_FinalizeEx at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
Py_FinalizeEx at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\C\pointers.jl:303 [inlined] #37 at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\C\context.jl:194
unknown function (ip: 00000177aa940394)
_atexit at .\initdefs.jl:459
jfptr__atexit_71360.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
ijl_atexit_hook at C:/workdir/src\init.c:271
ijl_exit at C:/workdir/src\init.c:207
jl_exception_handler at C:/workdir/src\signals-win.c:337 [inlined]
jl_exception_handler at C:/workdir/src\signals-win.c:229
__julia_personality at C:/workdir/src\win32_ucontext.c:28
_chkstk at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
RtlWow64GetCurrentCpuArea at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
KiUserExceptionDispatcher at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
PyType_Lookup at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
PyObject_Dir at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
PyObject_Dir at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\C\pointers.jl:303 [inlined]
macro expansion at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\Py.jl:132 [inlined]
pydir at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\builtins.jl:216
propertynames at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\Py.jl:293
unknown function (ip: 00000177aa93ff62)
complete_symbol at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:208
#complete_identifiers!#57 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1179
complete_identifiers! at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1079 [inlined]
completions at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1436
#complete_line#85 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPL.jl:637
complete_line at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPL.jl:634
unknown function (ip: 000001770966f468)
check_for_hint at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:387 #143 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2527
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:875
#invokelatest#2 at .\essentials.jl:1055 [inlined]
invokelatest at .\essentials.jl:1052 [inlined] #30 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:1711
jfptr_YY.30_8433.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line) #254 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2614
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:875
#invokelatest#2 at .\essentials.jl:1055 [inlined]
invokelatest at .\essentials.jl:1052 [inlined] #30 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:1711
jfptr_YY.30_8473.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
macro expansion at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2861 [inlined]
macro expansion at .\lock.jl:273 [inlined] #282 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2851
jfptr_YY.282_9008.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
start_task at C:/workdir/src\task.c:1202
Allocations: 97558492 (Pool: 97554124; Big: 4368); GC: 96
Your system
Please provide detailed information about your system:
Affects: PythonCall
Describe the bug
A clear and concise description of what the bug is. What did you expect? What happened instead?
I imported a python package called mwpf, and when I tried to list its attributes (by pressing tab in REPL) I got the following error message that asked me to submit a bug report.
using PythonCall
const mwpf = PythonCall.pynew()
function init()
PythonCall.pycopy!(mwpf, pyimport("mwpf"))
return
end
julia> mwpf
Python: <module 'mwpf' from 'C:\Users\rismail\Desktop\EarlyFT\.CondaPkg\env\Lib\site-packages\mwpf\init.py'>
julia> mwpf.
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x7ffca6d86cbd -- PyType_Lookup at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
in expression starting at none:0
PyType_Lookup at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
PyObject_Dir at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
PyObject_Dir at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\C\pointers.jl:303 [inlined]
macro expansion at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\Py.jl:132 [inlined]
pydir at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\builtins.jl:216
propertynames at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\Py.jl:293
unknown function (ip: 00000177aa93ff62)
complete_symbol at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:208
#complete_identifiers!#57 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1179
complete_identifiers! at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1079 [inlined]
completions at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1436
#complete_line#85 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPL.jl:637
complete_line at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPL.jl:634
unknown function (ip: 000001770966f468)
check_for_hint at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:387
#143 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2527
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:875
#invokelatest#2 at .\essentials.jl:1055 [inlined]
invokelatest at .\essentials.jl:1052 [inlined]
#30 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:1711
jfptr_YY.30_8433.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
#254 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2614
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:875
#invokelatest#2 at .\essentials.jl:1055 [inlined]
invokelatest at .\essentials.jl:1052 [inlined]
#30 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:1711
jfptr_YY.30_8473.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
macro expansion at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2861 [inlined]
macro expansion at .\lock.jl:273 [inlined]
#282 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2851
jfptr_YY.282_9008.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
start_task at C:/workdir/src\task.c:1202
Allocations: 97558492 (Pool: 97554124; Big: 4368); GC: 96
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x7ffca6ea27c4 -- Py_FinalizeEx at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
in expression starting at none:0
Py_FinalizeEx at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
Py_FinalizeEx at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\C\pointers.jl:303 [inlined]
#37 at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\C\context.jl:194
unknown function (ip: 00000177aa940394)
_atexit at .\initdefs.jl:459
jfptr__atexit_71360.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
ijl_atexit_hook at C:/workdir/src\init.c:271
ijl_exit at C:/workdir/src\init.c:207
jl_exception_handler at C:/workdir/src\signals-win.c:337 [inlined]
jl_exception_handler at C:/workdir/src\signals-win.c:229
__julia_personality at C:/workdir/src\win32_ucontext.c:28
_chkstk at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
RtlWow64GetCurrentCpuArea at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
KiUserExceptionDispatcher at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
PyType_Lookup at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
PyObject_Dir at C:\Users\rismail\Desktop\EarlyFT.CondaPkg\env\python312.dll (unknown line)
PyObject_Dir at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\C\pointers.jl:303 [inlined]
macro expansion at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\Py.jl:132 [inlined]
pydir at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\builtins.jl:216
propertynames at C:\Users\rismail.julia\packages\PythonCall\WMWY0\src\Core\Py.jl:293
unknown function (ip: 00000177aa93ff62)
complete_symbol at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:208
#complete_identifiers!#57 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1179
complete_identifiers! at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1079 [inlined]
completions at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPLCompletions.jl:1436
#complete_line#85 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPL.jl:637
complete_line at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\REPL.jl:634
unknown function (ip: 000001770966f468)
check_for_hint at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:387
#143 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2527
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:875
#invokelatest#2 at .\essentials.jl:1055 [inlined]
invokelatest at .\essentials.jl:1052 [inlined]
#30 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:1711
jfptr_YY.30_8433.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
#254 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2614
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:875
#invokelatest#2 at .\essentials.jl:1055 [inlined]
invokelatest at .\essentials.jl:1052 [inlined]
#30 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:1711
jfptr_YY.30_8473.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
macro expansion at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2861 [inlined]
macro expansion at .\lock.jl:273 [inlined]
#282 at C:\workdir\usr\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2851
jfptr_YY.282_9008.1 at C:\Users\rismail.julia\juliaup\julia-1.11.3+0.x64.w64.mingw32\share\julia\compiled\v1.11\REPL\u0gqU_hz07T.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:2157 [inlined]
start_task at C:/workdir/src\task.c:1202
Allocations: 97558492 (Pool: 97554124; Big: 4368); GC: 96
Your system
Please provide detailed information about your system:
julia> versioninfo()
Julia Version 1.11.3
Commit d63adeda50 (2025-01-21 19:42 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 22 × Intel(R) Core(TM) Ultra 7 155H
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, alderlake)
Threads: 22 default, 0 interactive, 11 GC (on 22 virtual cores)
Environment:
JULIA_DEBUG = Distributed
JULIA_PYTHONCALL_PICKLE = dill
JULIA_EDITOR = code
JULIA_NUM_THREADS =
The text was updated successfully, but these errors were encountered: