ngxtop icon indicating copy to clipboard operation
ngxtop copied to clipboard

sqlite3.ProgrammingError: library routine called out of sequence

Open JayXon opened this issue 10 years ago • 0 comments

I'm using python 2.7.6 ngxtop --config /usr/local/nginx/conf/nginx.conf It works for 933 seconds, then I got this

Traceback (most recent call last):
  File "/opt/python2.7.6/bin/ngxtop", line 11, in <module>
    sys.exit(main())
  File "/opt/python2.7.6/lib/python2.7/site-packages/ngxtop/ngxtop.py", line 446, in main
    process(args)
  File "/opt/python2.7.6/lib/python2.7/site-packages/ngxtop/ngxtop.py", line 429, in process
    total = process_log(source, pattern, processor, arguments)
  File "/opt/python2.7.6/lib/python2.7/site-packages/ngxtop/ngxtop.py", line 334, in process_log
    total = processor.process(records)
  File "/opt/python2.7.6/lib/python2.7/site-packages/ngxtop/ngxtop.py", line 282, in process
    cursor.execute(insert, r)
sqlite3.ProgrammingError: library routine called out of sequence

JayXon avatar Mar 26 '14 06:03 JayXon