Skip to content

AttributeError: 'list' object has no attribute 'push' #3

@arabelle

Description

@arabelle

I am trying to import the lib package in my python application and it seems to run into a problem where the package has a bug (as shown below)

ERROR:tornado.application:Uncaught exception POST /image?
...
Traceback (most recent call last):
...
  File "/usr/local/lib/python2.7/dist-packages/lib/__init__.py", line 136, in __call__
    body = self.__py2body__(args, kwargs)
  File "/usr/local/lib/python2.7/dist-packages/lib/__init__.py", line 204, in __py2body__
    a.push(value)
AttributeError: 'list' object has no attribute 'push'

All I am doing is from lib import lib.

Is this a known problem? I am running this in a docker container where I run:
pip install lib on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions