jaredly / jaredly/css

error in pypi package: AttributeError: type object 'ClassHolder' has no attribute 'start'

Offen
#2 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
17
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

After grabbing codetalker from github and css from pypi:

> Python 2.7 (r27:82500, Sep 29 2010, 23:01:31)
> [GCC 4.5.1 20100924 (Red Hat 4.5.1-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> # from css import css
>
> Traceback (most recent call last):
> File "", line 1, in
> File "/home/sirpengi/virtualenv/zanderloo/lib/python2.7/site-packages/css/**init**.py", line 2, in
> from grammar import grammar, t as css
> File "/home/sirpengi/virtualenv/zanderloo/lib/python2.7/site-packages/css/grammar.py", line 64, in
> @t.translates(ast.start)
> AttributeError: type object 'ClassHolder' has no attribute 'start'

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing the Python 2.7 import using the css package from PyPI and the codetalker version from GitHub. Inspect css/__init__.py and css/grammar.py, especially the ast.start reference at grammar.py line 64; done means importing css no longer raises this AttributeError.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.