develmaycare / pyprojectutils

A collection of documentation and command line utilities for managing a software project.
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

AttributeError on Project When Using Init Project #38

Closed develmaycare closed 7 years ago

develmaycare commented 7 years ago

Using the initproject command with --prompt option, I get the attribute error:

Traceback (most recent call last):
  File "/usr/local/bin/initproject", line 9, in <module>
    load_entry_point('pyprojectutils==0.16.2-d', 'console_scripts', 'initproject')()
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyprojectutils/cli.py", line 743, in project_init
    if project.initialize():
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyprojectutils/library/projects.py", line 483, in initialize
    write_file(version_path, self.version)
AttributeError: 'Project' object has no attribute 'version'