question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pyasn1 0.3.1 doesn't work with pyasn1-module 0.0.9

See original GitHub issue

pyasn1 0.3.1 caused a regression with pyasn1-module 0.0.9:

virtualenv-3.4 /tmp/a
source /tmp/a/bin/activate
pip install pyasn1 pyasn1-modules
python -c 'from pyasn1_modules import (rfc2560)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/a/lib/python3.4/site-packages/pyasn1_modules/rfc2560.py", line 137, in <module>
    class ResponseData(univ.Sequence):
  File "/tmp/a/lib/python3.4/site-packages/pyasn1_modules/rfc2560.py", line 143, in ResponseData
    namedtype.NamedType('responses', univ.SequenceOf(SingleResponse())),
TypeError: __init__() takes 1 positional argument but 2 were given

Is this combination of library supported?

A workaround is

pip install -U pyasn1==0.2.3

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
etingofcommented, Jul 26, 2017

The combination of these two libraries should definitely be supported. The update for pyasn1-modules is on its way.

Sorry for the hiccup!

1reaction
etingofcommented, Jul 26, 2017

Here is the emergency release on PyPI.

Please speak up in case of further troubles.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pyasn1 - PyPI
Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208). Project details. Project links. Homepage. Statistics. GitHub statistics:.
Read more >
Unable to install python3-pyasn1 or python3-pyasn1-modules
Today, I can not. It doesn't appear to be an issue with the specific system as I can't 'dnf download' from other systems....
Read more >
How to install pyasn1 module in Python2.7 path instead of ...
I'll use this method going forward but for the moment I just installed pip2 which is an alternative approach and seems to have...
Read more >
Python dependency error modules has requirement which is ...
pyasn1-modules 0.2.1 has requirement pyasn1<0.5.0,>=0.4.1, but you'll have pyasn1 0.1.9 ... Let say that this time module idna is causing the same problem....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found