Skip to content

Problems Using list-plots Option #43

@GoFroggyRun

Description

@GoFroggyRun

When I trying to follow the instructions in the README.md file to upload a plot, I ran into the following issues:

Sean-Wangs-MacBook-Pro:plots seanwang$ python setup.py install
running install
running bdist_egg
running egg_info
writing Tax_Plots.egg-info/PKG-INFO
writing top-level names to Tax_Plots.egg-info/top_level.txt
writing dependency_links to Tax_Plots.egg-info/dependency_links.txt
writing entry points to Tax_Plots.egg-info/entry_points.txt
reading manifest file 'Tax_Plots.egg-info/SOURCES.txt'
writing manifest file 'Tax_Plots.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-x86_64/egg
running install_lib
running build_py
creating build/bdist.macosx-10.6-x86_64/egg
creating build/bdist.macosx-10.6-x86_64/egg/taxplots
copying build/lib/taxplots/__init__.py -> build/bdist.macosx-10.6-x86_64/egg/taxplots
copying build/lib/taxplots/cli.py -> build/bdist.macosx-10.6-x86_64/egg/taxplots
copying build/lib/taxplots/utils.py -> build/bdist.macosx-10.6-x86_64/egg/taxplots
byte-compiling build/bdist.macosx-10.6-x86_64/egg/taxplots/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.6-x86_64/egg/taxplots/cli.py to cli.pyc
byte-compiling build/bdist.macosx-10.6-x86_64/egg/taxplots/utils.py to utils.pyc
creating build/bdist.macosx-10.6-x86_64/egg/EGG-INFO
copying Tax_Plots.egg-info/.DS_Store -> build/bdist.macosx-10.6-x86_64/egg/EGG-INFO
copying Tax_Plots.egg-info/PKG-INFO -> build/bdist.macosx-10.6-x86_64/egg/EGG-INFO
copying Tax_Plots.egg-info/SOURCES.txt -> build/bdist.macosx-10.6-x86_64/egg/EGG-INFO
copying Tax_Plots.egg-info/dependency_links.txt -> build/bdist.macosx-10.6-x86_64/egg/EGG-INFO
copying Tax_Plots.egg-info/entry_points.txt -> build/bdist.macosx-10.6-x86_64/egg/EGG-INFO
copying Tax_Plots.egg-info/top_level.txt -> build/bdist.macosx-10.6-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/Tax_Plots-0.1.0-py2.7.egg' and adding 'build/bdist.macosx-10.6-x86_64/egg' to it
removing 'build/bdist.macosx-10.6-x86_64/egg' (and everything under it)
Processing Tax_Plots-0.1.0-py2.7.egg
Removing /Users/seanwang/anaconda2/lib/python2.7/site-packages/Tax_Plots-0.1.0-py2.7.egg
Copying Tax_Plots-0.1.0-py2.7.egg to /Users/seanwang/anaconda2/lib/python2.7/site-packages
Tax-Plots 0.1.0 is already the active version in easy-install.pth
Installing build-plots script to /Users/seanwang/anaconda2/bin
Installing list-plots script to /Users/seanwang/anaconda2/bin
Installing upload-plots script to /Users/seanwang/anaconda2/bin

Installed /Users/seanwang/anaconda2/lib/python2.7/site-packages/Tax_Plots-0.1.0-py2.7.egg
Processing dependencies for Tax-Plots==0.1.0
Finished processing dependencies for Tax-Plots==0.1.0
Sean-Wangs-MacBook-Pro:plots seanwang$ list-plots
Traceback (most recent call last):
  File "/Users/seanwang/anaconda2/bin/list-plots", line 9, in <module>
    load_entry_point('Tax-Plots==0.1.0', 'console_scripts', 'list-plots')()
  File "build/bdist.macosx-10.6-x86_64/egg/taxplots/cli.py", line 109, in list_plots
  File "build/bdist.macosx-10.6-x86_64/egg/taxplots/cli.py", line 104, in _list_plots
  File "/Users/seanwang/anaconda2/lib/python2.7/site-packages/pandas/core/frame.py", line 262, in __init__
    arrays, columns = _to_arrays(data, columns, dtype=dtype)
  File "/Users/seanwang/anaconda2/lib/python2.7/site-packages/pandas/core/frame.py", line 5364, in _to_arrays
    coerce_float=coerce_float, dtype=dtype)
  File "/Users/seanwang/anaconda2/lib/python2.7/site-packages/pandas/core/frame.py", line 5480, in _list_of_dict_to_arrays
    columns = lib.fast_unique_multiple_list_gen(gen)
  File "pandas/lib.pyx", line 504, in pandas.lib.fast_unique_multiple_list_gen (pandas/lib.c:10100)
  File "/Users/seanwang/anaconda2/lib/python2.7/site-packages/pandas/core/frame.py", line 5479, in <genexpr>
    gen = (list(x.keys()) for x in data)
AttributeError: 'NoneType' object has no attribute 'keys'

Where I got an error after running the list-plots command. Not sure why this is happening. @talumbau, @brendancol could you please advice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions