yanne / api-testing

I am using this to test GitHub API
1 stars 0 forks source link

cant open RIDE: "no such table: libraries" #210

Open yanne opened 10 years ago

yanne commented 10 years ago

My friend installed RIDE1.0 first time. He cant start ride. There is the message show in cmd:

C:\Python27\Scripts>ride.py error during database validation "no such table: libraries" removing database "D:\Users\gongxinge615\AppData\Roaming\RobotFramework\ride\lib rarykeywords.db" Traceback (most recent call last): File "C:\Python27\Scripts\ride.py", line 27, in main(_sys.argv[1:]) File "C:\Python27\lib\site-packages\robotideinit.py", line 76, in main _run(inpath, not noupdatecheck, debug_console) File "C:\Python27\lib\site-packages\robotideinit.py", line 96, in _run ride = RIDE(inpath, updatecheck) File "C:\Python27\lib\site-packages\robotide\application\application.py", line 40, in init wx.App.init(self, redirect=False) File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py", line 7981 , in init self._BootstrapApp() File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py", line 7555 , in _BootstrapApp return core.PyApp__BootstrapApp(_args, **kwargs) File "C:\Python27\lib\site-packages\robotide\application\application.py", line 44, in OnInit librarydatabase.initialize_database() File "C:\Python27\lib\site-packages\robotide\spec\librarydatabase.py", line 59 , in initialize_database os.remove(DATABASE_FILE) WindowsError: [Error 32] : 'D:\Users\gongxinge615\AppData\Roaming\RobotFram ework\ride\librarykeywords.db'

C:\Python27\Scripts>

This issue was originally reported to Google Code on Mar 6, 2013.

yanne commented 10 years ago

Original comment by qit...@gmail.com on Mar 6, 2013.

well. I find the way. I delete this file "D:\Users\gongxinge615\AppData\Roaming\RobotFramework\ride\lib rarykeywords.db". reinstall RIDE1.1 Then I can start RIDE.

yanne commented 10 years ago

Original comment by mikko.ko...@gmail.com on Mar 6, 2013.

Seems that for some reason your library database was corrupted and locked.

Have to see if there is a way to handle this situation in a nicer way.