Poxy (more specifically, m.css) crashes when there are many XML files
See original GitHub issuePoxy will crash if we stress it with a large project. Can be reproduced with, for example, https://github.com/GNOME/gtkmm (note that you have to build it first to generate the .cc .h files)
cc @mosra
Post-processing 1656 XML files
Generating HTML files with m.css
m.css failed!
Traceback (most recent call last):
File "/home/wroy/.local/lib/python3.11/site-packages/poxy/data/m.css/documentation/doxygen.py", line 4008, in <module>
run(state, templates=os.path.abspath(args.templates), wildcard=args.wildcard, index_pages=args.index_pages, search_merge_subtrees=not args.search_no_subtree_merging, search_add_lookahead_barriers=not args.search_no_lookahead_barriers, search_merge_prefixes=not args.search_no_prefix_merging)
File "/home/wroy/.local/lib/python3.11/site-packages/poxy/data/m.css/documentation/doxygen.py", line 3865, in run
parsed = parse_xml(state, file)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/wroy/.local/lib/python3.11/site-packages/poxy/data/m.css/documentation/doxygen.py", line 3132, in parse_xml
func = parse_func(state, memberdef)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wroy/.local/lib/python3.11/site-packages/poxy/data/m.css/documentation/doxygen.py", line 2058, in parse_func
if signature.endswith('=default'):
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'endswith'
Traceback (most recent call last):
File "/home/wroy/.local/lib/python3.11/site-packages/poxy/main.py", line 160, in main
run(
File "/home/wroy/.local/lib/python3.11/site-packages/poxy/run.py", line 1269, in run
run_python_script(
File "/home/wroy/.local/lib/python3.11/site-packages/misk/functions.py", line 331, in run_python_script
return subprocess.run(
^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/subprocess.py", line 569, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['python3', '/home/wroy/.local/lib/python3.11/site-packages/poxy/data/m.css/documentation/doxygen.py', '/tmp/poxy/home_wroy_Projects_mm_docs/conf.py', '--no-doxygen', '--sort-globbed-files']' returned non-zero exit status 1.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Issues · marzer/poxy - GitHub
Poxy (more specifically, m.css) crashes when there are many XML files bug Something isn't working m.css The request relates to some m.css behaviour....
Read more >VS slows to a crawl or crashes when editing XML files
Any time I edit an XML file (specifically web.config), Visual Studio slows to a crawl; sometimes it even crashes, as it just did....
Read more >Bug listing with status RESOLVED with resolution FIXED as at ...
... when there is an error" status:RESOLVED resolution:FIXED severity:normal ... Bug:1480 - "locate fails to find a specific file (no pattern found yet)" ......
Read more >Active Gzip Compression | CSS-Tricks
Compression reduces response times by reducing the size of the HTTP response. Gzip is the most popular and effective compression method ...
Read more >Opening a .css file crashes Visual Studio? - Stack Overflow
Can you provide stack trace? To collect stack trace, check event viewer by calling eventvwr from run window. · If you didn't already...
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 FreeTop 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
Top GitHub Comments
Are you able to re-run this with the new
--bug-report
option I’ve added in v0.12.0?@wroyca can you re-run this with
--verbose
and post the output?