Skip to content

Instantly share code, notes, and snippets.

@mosquito
Created November 5, 2014 16:54
Show Gist options
  • Select an option

  • Save mosquito/c6e46f601ff29f2cfeb4 to your computer and use it in GitHub Desktop.

Select an option

Save mosquito/c6e46f601ff29f2cfeb4 to your computer and use it in GitHub Desktop.
Unhandled Error
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 783, in __bootstrap
self.__bootstrap_inner()
File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File "/usr/lib64/python2.7/site-packages/twisted/python/threadpool.py", line 196, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "rmq_postgres.py", line 130, in put_data
cursor.executemany(statement, data)
psycopg2.ProgrammingError: column "serial" of relation "tdrs" does not exist
LINE 1: ...oad_id", "time1", "lon1", "path", "imei", "lon0", "serial") ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment