-
Notifications
You must be signed in to change notification settings - Fork 275
[panic] execute: too many cycle iterations #1098
Copy link
Copy link
Closed as duplicate of#256
Labels
fatala fatal error (panic or crash)a fatal error (panic or crash)needs-mreNeeds more information for reproductionNeeds more information for reproduction
Description
Hi,
I'm testing ty and got this error:
error[panic]: Panicked at /root/.cargo/git/checkouts/salsa-e6f3bb7c2a062968/918d35d/src/function/execute.rs:215:25 when checking `/usr/src/app/xml_renderer.py`: `infer_definition_types(Id(70970)): execute: too many cycle iterations`
info: Platform: linux x86_64
info: Version: 0.0.1-alpha.19
info: Args: ["ty", "check"]
info: run with `RUST_BACKTRACE=1` environment variable to show the full backtrace information
info: query stacktrace:
0: place_by_id(Id(6ec1d))
at crates/ty_python_semantic/src/place.rs:688
1: Type < 'db >::member_lookup_with_policy_(Id(6c490))
at crates/ty_python_semantic/src/types.rs:635
2: infer_definition_types(Id(70905))
at crates/ty_python_semantic/src/types/infer.rs:167
3: place_by_id(Id(6ec1c))
at crates/ty_python_semantic/src/place.rs:688
4: Type < 'db >::member_lookup_with_policy_(Id(6c48f))
at crates/ty_python_semantic/src/types.rs:635
5: infer_definition_types(Id(6f0d7))
at crates/ty_python_semantic/src/types/infer.rs:167
6: infer_definition_types(Id(6f36d))
at crates/ty_python_semantic/src/types/infer.rs:167
7: infer_definition_types(Id(6f371))
at crates/ty_python_semantic/src/types/infer.rs:167
8: infer_expression_types(Id(6bb6a))
at crates/ty_python_semantic/src/types/infer.rs:248
9: infer_definition_types(Id(6f377))
at crates/ty_python_semantic/src/types/infer.rs:167
10: place_by_id(Id(6ec1a))
at crates/ty_python_semantic/src/place.rs:688
11: Type < 'db >::member_lookup_with_policy_(Id(6c48d))
at crates/ty_python_semantic/src/types.rs:635
12: infer_definition_types(Id(6f096))
at crates/ty_python_semantic/src/types/infer.rs:167
13: place_by_id(Id(6ec19))
at crates/ty_python_semantic/src/place.rs:688
14: Type < 'db >::member_lookup_with_policy_(Id(6c48c))
at crates/ty_python_semantic/src/types.rs:635
15: infer_definition_types(Id(6f037))
at crates/ty_python_semantic/src/types/infer.rs:167
16: place_by_id(Id(6ec18))
at crates/ty_python_semantic/src/place.rs:688
17: Type < 'db >::member_lookup_with_policy_(Id(6c48b))
at crates/ty_python_semantic/src/types.rs:635
18: infer_expression_types(Id(51d43))
at crates/ty_python_semantic/src/types/infer.rs:248
19: infer_definition_types(Id(50e74))
at crates/ty_python_semantic/src/types/infer.rs:167
20: infer_scope_types(Id(4e29e))
at crates/ty_python_semantic/src/types/infer.rs:138
21: check_file_impl(Id(1835))
at crates/ty_project/src/lib.rs:527
I guess it could be related to one of those two libraries:
xmlschema
django.utils.xmlutils.SimplerXMLGenerator
Tell me if you need more data.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fatala fatal error (panic or crash)a fatal error (panic or crash)needs-mreNeeds more information for reproductionNeeds more information for reproduction