Skip to content

Instantly share code, notes, and snippets.

@codervince
Created March 10, 2015 10:52
Show Gist options
  • Save codervince/411dc78f5a59f1a3eb05 to your computer and use it in GitHub Desktop.
Save codervince/411dc78f5a59f1a3eb05 to your computer and use it in GitHub Desktop.
#in cron file
* * * * * /Users/vmac/Documents/PROGRAMMING/PY/scrapy/NEWHKODDS/v3/HKOdds/test.sh
#error
Traceback (most recent call last):
File "/Users/vmac/Documents/PROGRAMMING/PY/scrapy/NEWHKODDS/v3/HKOdds/HKOddsCollector.py", line 210, in <module>
collector = HKOddsCollector()
File "/Users/vmac/Documents/PROGRAMMING/PY/scrapy/NEWHKODDS/v3/HKOdds/HKOddsCollector.py", line 30, in __init__
self.db = Database()
File "/Users/vmac/Documents/PROGRAMMING/PY/scrapy/NEWHKODDS/v3/HKOdds/database.py", line 24, in __init__
self.config = config.getDBSettings()
File "/Users/vmac/Documents/PROGRAMMING/PY/scrapy/NEWHKODDS/v3/HKOdds/config.py", line 30, in getDBSettings
return (dict(self.config.items("database")), "sqlalchemy.")
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'database'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment