RIDE-1.5.2.1 无法导入所有基础库
RIDE-1.5.2.1 can not import all the base Libraries
我将 RIDE-1.5.2.1 更新到 RIDE-1.7.3,我发现 RIDE 不能正常工作。我卸载了 wxpython、robotframework、RIDE 并完全安装它们。但是后来我无法导入库。我收到此错误日志:
20190319 12:21:13.079 [INFO]: Found Robot Framework version 3.0.4 from
'C:\Python27\lib\site-packages\robot'.
20190319 12:21:13.079 [INFO]: Started RIDE 1.5.2.1 using python
version 2.7.14 with wx version 2.8.12.1 in win32.
20190319 12:22:49.749 [WARN]: Library import handling threw an
unexpected exception
Traceback (most recent call last): table libraries has 5 columns but 4
values were supplied File
"C:\Python27\lib\site-packages\robotide\spec\librarymanager.py", line
40, in run
if not self._handle_message(): File "C:\Python27\lib\site-packages\robotide\spec\librarymanager.py", line
66, in _handle_message
self._handle_insert_keywords_message(message) File "C:\Python27\lib\site-packages\robotide\spec\librarymanager.py", line
95, in _handle_insert_keywords_message
lambda res: result_queue.put(res, timeout=3)) File "C:\Python27\lib\site-packages\robotide\spec\librarymanager.py", line
99, in _insert
library_name, library_args, keywords or []) File "C:\Python27\lib\site-packages\robotide\spec\librarydatabase.py", line
84, in insert_library_keywords
lib = self._insert_library(library_name, library_arguments, cur) File "C:\Python27\lib\site-packages\robotide\spec\librarydatabase.py",
line 111, in _insert_library
cursor.execute('insert into libraries values (null, ?, ?, ?)', (name, unicode(arguments), time.time()))
20190319 12:22:51.559 [INFO]: Failed to read keywords from library db:
这里是图书馆:
任何解决此问题的提示,谢谢
1.7.3 中关键字文档存储的数据库发生了变化。
要清理该数据库,您必须删除 %APPDATA%\RobotFramework\ride
目录中的 librarykeywords.db
文件。然后启动 RIDE,它会在您打开测试套件时重新创建(在导入库时红色变为黑色可能需要一些时间)。
我将 RIDE-1.5.2.1 更新到 RIDE-1.7.3,我发现 RIDE 不能正常工作。我卸载了 wxpython、robotframework、RIDE 并完全安装它们。但是后来我无法导入库。我收到此错误日志:
20190319 12:21:13.079 [INFO]: Found Robot Framework version 3.0.4 from 'C:\Python27\lib\site-packages\robot'.
20190319 12:21:13.079 [INFO]: Started RIDE 1.5.2.1 using python version 2.7.14 with wx version 2.8.12.1 in win32.
20190319 12:22:49.749 [WARN]: Library import handling threw an unexpected exception
Traceback (most recent call last): table libraries has 5 columns but 4 values were supplied File "C:\Python27\lib\site-packages\robotide\spec\librarymanager.py", line 40, in run if not self._handle_message(): File "C:\Python27\lib\site-packages\robotide\spec\librarymanager.py", line 66, in _handle_message self._handle_insert_keywords_message(message) File "C:\Python27\lib\site-packages\robotide\spec\librarymanager.py", line 95, in _handle_insert_keywords_message lambda res: result_queue.put(res, timeout=3)) File "C:\Python27\lib\site-packages\robotide\spec\librarymanager.py", line 99, in _insert library_name, library_args, keywords or []) File "C:\Python27\lib\site-packages\robotide\spec\librarydatabase.py", line 84, in insert_library_keywords lib = self._insert_library(library_name, library_arguments, cur) File "C:\Python27\lib\site-packages\robotide\spec\librarydatabase.py", line 111, in _insert_library cursor.execute('insert into libraries values (null, ?, ?, ?)', (name, unicode(arguments), time.time()))
20190319 12:22:51.559 [INFO]: Failed to read keywords from library db:
这里是图书馆:
任何解决此问题的提示,谢谢
1.7.3 中关键字文档存储的数据库发生了变化。
要清理该数据库,您必须删除 %APPDATA%\RobotFramework\ride
目录中的 librarykeywords.db
文件。然后启动 RIDE,它会在您打开测试套件时重新创建(在导入库时红色变为黑色可能需要一些时间)。