jaredly / jaredly/css

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

Aperta
#2 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
17
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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'

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.