Closed lovezjh0909 closed 8 months ago
@lovezjh0909 Can you provide me with the following information?
C:\Windows\System32\icsneo40.dll
for 64-bit)Here is version formation: 1.Windows version:Windows 11 pro ,64bit 2.icsneo40.dll version:3.9.0.79 3.Python 3.9.13 64bit
@lovezjh0909 Your icsneo40 version is pretty old. I would try updating that first.
Which icsneo40 version is available?How can i get it?@drebbe-intrepid
@lovezjh0909 I'm going to assume the situation is resolved, if not feel free to reopen this issue.
The issue is similar to #71 & #118 。I Use ValueCAN4-2 to test,when scripts seted bitrate,this issue occured。My python-ics version is 912.4post1。 Here is codes in neovi_bus.py and error information in pycharm:![img_v3_0252_de83caed-e530-4f88-ac08-8ddaacbfc65g](https://github.com/intrepidcs/python_ics/assets/11376255/ae42ca43-d5e0-4b6a-a852-eff7df46b99b)
collecting ... Windows fatal exception: access violation
Current thread 0x00005194 (most recent call first): File "C:\Users\AppData\Roaming\Python\Python39\site-packages\can\interfaces\ics_neovi\neovi_bus.py", line 199 in init File "E:\HILWork\VCU_Prj\VCU_Prj\002PythonScript_modifying\vcu_UDS.py", line 36 in
File "", line 228 in _call_with_frames_removed
File "", line 850 in exec_module
File "", line 680 in _load_unlocked
File "", line 986 in _find_and_load_unlocked
File "", line 1007 in _find_and_load
File "E:\HILWork\VCU_Prj\VCU_Prj\002PythonScript_modifying\00BVT_TestCase.py", line 4 in
File "C:\Program Files\Python39\lib\site-packages_pytest\assertion\rewrite.py", line 172 in exec_module
File "", line 680 in _load_unlocked
File "", line 986 in _find_and_load_unlocked
File "", line 1007 in _find_and_load
File "", line 1030 in _gcd_import
File "C:\Program Files\Python39\lib\importlib__init.py", line 127 in import_module
File "C:\Program Files\Python39\lib\site-packages_pytest\pathlib.py", line 546 in import_path
File "C:\Program Files\Python39\lib\site-packages_pytest\python.py", line 617 in _importtestmodule
File "C:\Program Files\Python39\lib\site-packages_pytest\python.py", line 528 in _getobj
File "C:\Program Files\Python39\lib\site-packages_pytest\python.py", line 310 in obj
File "C:\Program Files\Python39\lib\site-packages_pytest\python.py", line 545 in _inject_setup_module_fixture
File "C:\Program Files\Python39\lib\site-packages_pytest\python.py", line 531 in collect
File "C:\Program Files\Python39\lib\site-packages_pytest\runner.py", line 372 in
File "C:\Program Files\Python39\lib\site-packages_pytest\runner.py", line 341 in from_call
File "C:\Program Files\Python39\lib\site-packages_pytest\runner.py", line 372 in pytest_make_collect_report
File "C:\Program Files\Python39\lib\site-packages\pluggy_callers.py", line 39 in _multicall
File "C:\Program Files\Python39\lib\site-packages\pluggy_manager.py", line 80 in _hookexec
File "C:\Program Files\Python39\lib\site-packages\pluggy_hooks.py", line 265 in call
File "C:\Program Files\Python39\lib\site-packages_pytest\runner.py", line 547 in collect_one_node
File "C:\Program Files\Python39\lib\site-packages_pytest\main.py", line 832 in genitems
File "C:\Program Files\Python39\lib\site-packages_pytest\main.py", line 665 in perform_collect
File "C:\Program Files\Python39\lib\site-packages_pytest\main.py", line 333 in pytest_collection
File "C:\Program Files\Python39\lib\site-packages\pluggy_callers.py", line 39 in _multicall
File "C:\Program Files\Python39\lib\site-packages\pluggy_manager.py", line 80 in _hookexec
File "C:\Program Files\Python39\lib\site-packages\pluggy_hooks.py", line 265 in call
File "C:\Program Files\Python39\lib\site-packages_pytest\main.py", line 322 in _main
File "C:\Program Files\Python39\lib\site-packages_pytest\main.py", line 269 in wrap_session
File "C:\Program Files\Python39\lib\site-packages_pytest\main.py", line 316 in pytest_cmdline_main
File "C:\Program Files\Python39\lib\site-packages\pluggy_callers.py", line 39 in _multicall
File "C:\Program Files\Python39\lib\site-packages\pluggy_manager.py", line 80 in _hookexec
File "C:\Program Files\Python39\lib\site-packages\pluggy_hooks.py", line 265 in call
File "C:\Program Files\Python39\lib\site-packages_pytest\config\init__.py", line 166 in main
File "E:\HILWork\VCU_Prj\VCU_Prj\002PythonScript_modifying\vcu_main .py", line 149 in
由于 Exception.ToString() 失败,因此无法打印异常字符串。
Process finished with exit code -1073741819 (0xC0000005)