Skip to content

Instantly share code, notes, and snippets.

@tanqhnguyen
Created April 24, 2012 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanqhnguyen/2477247 to your computer and use it in GitHub Desktop.
Save tanqhnguyen/2477247 to your computer and use it in GitHub Desktop.
import error
/usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module twisted was already imported from /usr/local/lib/python2.7/dist-packages/twisted/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/warp-0.2.3-py2.7.egg is being added to sys.path
import pkg_resources
Importing migrations/album.yaml
Importing migrations/artist.yaml
Importing migrations/comment.yaml
Importing migrations/session.yaml
Importing migrations/song.yaml
Importing migrations/submission.yaml
Importing migrations/tag.yaml
Importing migrations/user.yaml
Upgrading lyrics_user (None => bgh_1)
Upgrading artist (None => bgh_1)
Upgrading album (None => bgh_1)
Upgrading artist (bgh_1 => bgh_2)
Traceback (most recent call last):
File "/usr/local/bin/twistd", line 14, in <module>
run()
File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 27, in run
app.run(runApp, ServerOptions)
File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 652, in run
runApp(config)
File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 386, in run
self.application = self.createOrGetApplication()
File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 446, in createOrGetApplication
ser = plg.makeService(self.config.subOptions)
File "/usr/local/lib/python2.7/dist-packages/warp-0.2.3-py2.7.egg/twisted/plugins/warp_plugin.py", line 108, in makeService
configModule.startup()
File "/vagrant/lyrigram/admin/config/common.py", line 96, in startup
checkSchema()
File "/vagrant/lyrigram/admin/config/common.py", line 120, in checkSchema
sqls = commands.upgrade(runtime.pgSchema, models.stormSchema)
File "/usr/local/lib/python2.7/dist-packages/schemup/commands.py", line 63, in upgrade
upgrader.run(dbSchema)
File "/usr/local/lib/python2.7/dist-packages/schemup/upgraders.py", line 24, in run
self.upgrader(dbSchema)
File "/usr/local/lib/python2.7/dist-packages/schemup/loaders.py", line 53, in <lambda>
upgrader = lambda db, sql=doc['sql']: db.execute(sql)
File "/usr/local/lib/python2.7/dist-packages/schemup/dbs/postgres.py", line 14, in execute
self.runLog.append(cur.mogrify(query, args))
IndexError: tuple index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment