Bug 1623606 - [abrt] python3-mypy: lookup_qualified_stnode(): fixup.py:259:lookup_qualified_stnode:AssertionError: Cannot find collections.ChainMap
Summary: [abrt] python3-mypy: lookup_qualified_stnode(): fixup.py:259:lookup_qualified...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python3-mypy
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:13ce626731f255c788607450732...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-29 17:53 UTC by sedrubal
Modified: 2019-05-28 23:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 23:01:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.24 KB, text/plain)
2018-08-29 17:53 UTC, sedrubal
no flags Details
File: cgroup (331 bytes, text/plain)
2018-08-29 17:53 UTC, sedrubal
no flags Details
File: cpuinfo (1.41 KB, text/plain)
2018-08-29 17:53 UTC, sedrubal
no flags Details
File: environ (4.40 KB, text/plain)
2018-08-29 17:53 UTC, sedrubal
no flags Details
File: mountinfo (3.77 KB, text/plain)
2018-08-29 17:53 UTC, sedrubal
no flags Details
File: namespaces (129 bytes, text/plain)
2018-08-29 17:53 UTC, sedrubal
no flags Details
File: open_fds (241 bytes, text/plain)
2018-08-29 17:53 UTC, sedrubal
no flags Details

Description sedrubal 2018-08-29 17:53:35 UTC
Version-Release number of selected component:
python3-mypy-0.620-1.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/mypy --show-column-numbers --shadow-file /home/se/documents/rommel/webteam/homepage/rommelhp/wsgi.py /tmp/nvimx3ExN4/12/wsgi.py /home/se/documents/rommel/webteam/homepage/rommelhp/wsgi.py
crash_function: lookup_qualified_stnode
exception_type: AssertionError
executable:     /usr/bin/mypy
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.17.18-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
fixup.py:259:lookup_qualified_stnode:AssertionError: Cannot find collections.ChainMap

Traceback (most recent call last):
  File "/usr/bin/mypy", line 11, in <module>
    load_entry_point('mypy==0.620', 'console_scripts', 'mypy')()
  File "/usr/lib/python3.6/site-packages/mypy/__main__.py", line 8, in console_entry
    main(sys.argv[0])
  File "/usr/lib/python3.6/site-packages/mypy/main.py", line 91, in main
    res = type_check_only(sources, bin_dir, options, flush_errors, fscache)  # noqa
  File "/usr/lib/python3.6/site-packages/mypy/main.py", line 148, in type_check_only
    fscache=fscache)
  File "/usr/lib/python3.6/site-packages/mypy/build.py", line 177, in build
    flush_errors, fscache)
  File "/usr/lib/python3.6/site-packages/mypy/build.py", line 350, in _build
    graph = dispatch(sources, manager)
  File "/usr/lib/python3.6/site-packages/mypy/build.py", line 2564, in dispatch
    process_graph(graph, manager)
  File "/usr/lib/python3.6/site-packages/mypy/build.py", line 2850, in process_graph
    process_fresh_modules(graph, prev_scc, manager)
  File "/usr/lib/python3.6/site-packages/mypy/build.py", line 2936, in process_fresh_modules
    graph[id].fix_cross_refs()
  File "/usr/lib/python3.6/site-packages/mypy/build.py", line 1979, in fix_cross_refs
    self.options.use_fine_grained_cache)
  File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 24, in fixup_module
    node_fixer.visit_symbol_table(tree.names)
  File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 89, in visit_symbol_table
    value.node.accept(self)
  File "/usr/lib/python3.6/site-packages/mypy/nodes.py", line 2539, in accept
    return visitor.visit_type_alias(self)
  File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 135, in visit_type_alias
    a.target.accept(self.type_fixer)
  File "/usr/lib/python3.6/site-packages/mypy/types.py", line 511, in accept
    return visitor.visit_instance(self)
  File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 149, in visit_instance
    inst.type = lookup_qualified_typeinfo(self.modules, type_ref, self.quick_and_dirty)
  File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 234, in lookup_qualified_typeinfo
    node = lookup_qualified(modules, name, quick_and_dirty)
  File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 245, in lookup_qualified
    stnode = lookup_qualified_stnode(modules, name, quick_and_dirty)
  File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 259, in lookup_qualified_stnode
    assert '.' in head, "Cannot find %s" % (name,)
AssertionError: Cannot find collections.ChainMap

Local variables in innermost frame:
mod: None
tail: 'ChainMap'
rest: ['ChainMap']
head: 'collections'
quick_and_dirty: False
name: 'collections.ChainMap'
modules: {'rommelhp.wsgi': <mypy.nodes.MypyFile object at 0x7f092f76e318>, 'rommelhp': <mypy.nodes.MypyFile object at 0x7f092f76e5a0>, '_importlib_modulespec': <mypy.nodes.MypyFile object at 0x7f092f748480>, 'types': <mypy.nodes.MypyFile object at 0x7f092f698678>, 'abc': <mypy.nodes.MypyFile object at 0x7f092f68c1f8>, 'mypy_extensions': <mypy.nodes.MypyFile object at 0x7f092f698558>, 'typing': <mypy.nodes.MypyFile object at 0x7f092f587990>, 'sys': <mypy.nodes.MypyFile object at 0x7f092f5b5438>, 'builtins': <mypy.nodes.MypyFile object at 0x7f092f1c0af8>}

Comment 1 sedrubal 2018-08-29 17:53:40 UTC
Created attachment 1479545 [details]
File: backtrace

Comment 2 sedrubal 2018-08-29 17:53:41 UTC
Created attachment 1479546 [details]
File: cgroup

Comment 3 sedrubal 2018-08-29 17:53:42 UTC
Created attachment 1479547 [details]
File: cpuinfo

Comment 4 sedrubal 2018-08-29 17:53:43 UTC
Created attachment 1479548 [details]
File: environ

Comment 5 sedrubal 2018-08-29 17:53:45 UTC
Created attachment 1479549 [details]
File: mountinfo

Comment 6 sedrubal 2018-08-29 17:53:46 UTC
Created attachment 1479550 [details]
File: namespaces

Comment 7 sedrubal 2018-08-29 17:53:47 UTC
Created attachment 1479551 [details]
File: open_fds

Comment 8 Marek Suchánek 2018-10-25 14:19:59 UTC
This is also happening on my Fedora 29 with python3-mypy-0.620-1.fc29.

Comment 9 Ben Cotton 2019-05-02 19:16:45 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2019-05-02 20:34:37 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Ben Cotton 2019-05-28 23:01:02 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.