jaredly / jaredly/css

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

Ouverte
#2 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
17
Forks
2
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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'

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.