Errors in compute stacksize on 3.10
See original GitHub issuePeople have been seeing a few errors on python 3.10 with inkcut
File "/home/himbeere/.local/lib/python3.10/site-packages/inkcut/core/plugin.py", line 80, in start_default_workspace
ui.select_workspace('inkcut.workspace')
File "/home/himbeere/.local/lib/python3.10/site-packages/enaml/workbench/ui/ui_plugin.py", line 157, in select_workspace
new_workspace.start()
File "/home/himbeere/.local/lib/python3.10/site-packages/inkcut/ui/workspace.py", line 46, in start
self.workbench.get_plugin('inkcut.ui')
File "/home/himbeere/.local/lib/python3.10/site-packages/enaml/workbench/workbench.py", line 151, in get_plugin
plugin.start()
File "/home/himbeere/.local/lib/python3.10/site-packages/inkcut/ui/plugin.py", line 91, in start
self._refresh_dock_items()
File "/home/himbeere/.local/lib/python3.10/site-packages/inkcut/ui/plugin.py", line 194, in _refresh_dock_items
DockItem = declaration.factory()
File "/home/himbeere/.local/lib/python3.10/site-packages/inkcut/preview/manifest.enaml", line 30, in preview_factory
from .view import PreviewDockItem
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "/home/himbeere/.local/lib/python3.10/site-packages/enaml/core/import_hooks.py", line 140, in exec_module
code, _ = self.get_code()
File "/home/himbeere/.local/lib/python3.10/site-packages/enaml/core/import_hooks.py", line 401, in get_code
return self.compile_code()
File "/home/himbeere/.local/lib/python3.10/site-packages/enaml/core/import_hooks.py", line 366, in compile_code
code = EnamlCompiler.compile(ast, file_info.src_path)
File "/home/himbeere/.local/lib/python3.10/site-packages/enaml/core/enaml_compiler.py", line 178, in compile
return compiler.visit(node)
File "/home/himbeere/.local/lib/python3.10/site-packages/enaml/core/enaml_ast.py", line 359, in visit
result = visitor(node, *args, **kwargs)
File "/home/himbeere/.local/lib/python3.10/site-packages/enaml/core/enaml_compiler.py", line 206, in visit_Module
return cg.to_code()
File "/home/himbeere/.local/lib/python3.10/site-packages/enaml/core/code_generator.py", line 119, in to_code
return bc_code.to_code()
File "/home/himbeere/.local/lib/python3.10/site-packages/bytecode/bytecode.py", line 204, in to_code
stacksize = self.compute_stacksize(check_pre_and_post=check_pre_and_post)
File "/home/himbeere/.local/lib/python3.10/site-packages/bytecode/bytecode.py", line 195, in compute_stacksize
cfg = _bytecode.ControlFlowGraph.from_bytecode(self)
File "/home/himbeere/.local/lib/python3.10/site-packages/bytecode/cfg.py", line 391, in from_bytecode
if not block[-1].is_final():
File "/home/himbeere/.local/lib/python3.10/site-packages/bytecode/cfg.py", line 44, in __getitem__
value = super().__getitem__(index)
IndexError: list index out of range
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Bump from 2.3.3 to 3.10 - RangeError: Maximum call stack ...
After upgrading a personal project to version 3.1.0 some of my cypress spec started failing with the error below I'm using cypress 7.1.0 ......
Read more >angular error module build failed.-Error: Maximum call stack ...
I found and deleted node_modules/@angular/compiler-cli/ngcc/ngcc_lock_file , I deleted the node_modules folder and installed npm, still the ...
Read more >Stack overflow during regex matching (#17659) · Issues - GitLab
-G "Visual Studio 14 2015 Win64" works for me with CMake 3.10.2. What kind of crash do you see? Abort? Assertion failure? Etc.?...
Read more >682 java.lang.IllegalArgumentException: Stack size becomes ...
ProGuard.main(ProGuard.java:572) Not inlining this method Unexpected error while computing stack sizes: Class = [C0] Method ...
Read more >Reducing the default stack size in emscripten - Google Groups
I have an open PR to reduce the default stack size in emscripten from 5Mb to 1Mb, ... As long as there are...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will try to cut a 0.14.1 ASAP.
Thank you!