jgillick / LendingClubAutoInvestor

A simple command line tool that will automatically invest all cash that becomes available
MIT License
47 stars 21 forks source link

Not Starting #20

Closed Ashkaan closed 10 years ago

Ashkaan commented 10 years ago

I installed on an Amazon EC2 instance running Python 2.6.9 and I get the following error when running. This is a fresh install with no changes made to anything.

Traceback (most recent call last): File "/usr/bin/lcinvestor", line 134, in investor = lcinvestor.AutoInvestor(verbose=isVerbose) File "/usr/lib/python2.6/site-packages/lcinvestor/init.py", line 69, in init self.settings = Settings(investor=self, settings_dir=self.app_dir, logger=self.logger, verbose=self.verbose) File "/usr/lib/python2.6/site-packages/lcinvestor/settings/init.py", line 107, in init self.load_investment_settings_file(); File "/usr/lib/python2.6/site-packages/lcinvestor/settings/init.py", line 333, in load_investment_settings_file self.investing_json = self.read_investment_settings_file(file_path) File "/usr/lib/python2.6/site-packages/lcinvestor/settings/init.py", line 324, in read_investment_settings_file raise Exception('The file \'{0}\' doesn\'t exist'.format(file_path)) Exception: The file '/root/.lcinvestor/investing.json' doesn't exist

My pip list in case it's relevant:

argparse (1.2.1) aws-cfn-bootstrap (1.3) awscli (1.3.1) backports.ssl-match-hostname (3.4.0.2) bcdoc (0.12.2) beautifulsoup4 (4.3.2) boto (2.27.0) botocore (0.35.0) chardet (2.0.1) Cheetah (2.4.1) cloud-init (0.5.15) colorama (0.2.5) configobj (4.6.0) distribute (0.6.10) docutils (0.11) html5lib (0.999) iniparse (0.3.1) jmespath (0.3.1) kitchen (1.1.1) lcinvestor (2.2.1) lendingclub (0.1.7) lockfile (0.8) M2Crypto (0.20.2) Markdown (2.0.1) ordereddict (1.1) paramiko (1.7.5) pause (0.1.2) PIL (1.1.6) pip (1.5.4) ply (3.4) pybars (0.0.4) pycrypto (2.6.1) pycurl (7.19.0) Pygments (1.4) pygpgme (0.1) pyliblzma (0.5.3) PyMeta (0.5.0) pystache (0.5.3) python-daemon (1.5.2) python-dateutil (2.1) pyxattr (0.5.0) PyYAML (3.10) requests (1.2.3) rsa (3.1.2) setuptools (0.6c11) simplejson (3.3.0) six (1.2.0) urlgrabber (3.9.1) urllib3 (1.7) yum-metadata-parser (1.1.4)

Thanks

ghost commented 10 years ago

It appears that the investing.json file was not created. Create it manually as an empty file at: /root/.lcinvestor/

The full path would be: '/root/.lcinvestor/investing.json'

Ashkaan commented 10 years ago

Thank you!