Please delete file `/etc/scalr/private.d/db.sqlite` and restart Scalarizr
On Thursday, March 22, 2012 8:52:50 PM UTC+2, Val wrote:
>
> Hello Scalr-Discuss Folks,
>
> I get the following error on a Centos 5.7 image when I try to create a
> role from an imported server. I have done this before successfully
> but now it is not working. Could this be an issue with the current
> version of the scalarizr (scalarizr-ec2.noarch 0:0.7.196-1.el5)?
>
>
> Starting import process...
> Don't terminate Scalarizr until Scalr will create the new role
> 2012-03-22 14:49:32,103 - INFO - scalarizr.config - State: importing
> 2012-03-22 14:49:32,568 - ERROR - scalarizr - no such table: state
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/scalarizr/__init__.py", line
> 695, in main
> STATE['global.start_after_update'] =
> int(bool(STATE['global.version'] and STATE['global.version'] !=
> __version__))
> File "/usr/lib/python2.6/site-packages/scalarizr/config.py", line
> 934, in __getitem__
> cur.execute("SELECT value FROM state WHERE name = ?", [name])
> OperationalError: no such table: state
> Exception in thread Thread-1 (most likely raised during interpreter
> shutdown):
> Traceback (most recent call last):
> File "/usr/lib64/python2.6/threading.py", line 532, in
> __bootstrap_inner
> File "/usr/lib64/python2.6/threading.py", line 484, in run
> File "/usr/lib/python2.6/site-packages/scalarizr/util/log.py", line
> 186, in _sender
> File "/usr/lib64/python2.6/threading.py", line 395, in wait
> File "/usr/lib64/python2.6/threading.py", line 254, in wait
> <type 'exceptions.TypeError'>: 'NoneType' object is not callable
>
--
You received this message because you are subscribed to the Google Groups
"scalr-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/scalr-discuss/-/f8dHU1GLJ_sJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/scalr-discuss?hl=en.