linux - 无法在 Komodo Edit/IDE 7.0.2 中打开多个选项卡

标签 linux exception tabs ubuntu-11.10 komodo

我无法在 Komodo Edit/IDE 7.0.2 中打开多个文件。我已删除/.komodoedit 文件夹以解决启动时的此问题。它打开第一个文档,但我在日志中看到此警告:

[2012-03-29 17:33:36,549] [WARNING] koLanguageServiceBase.indenting: Found non-positive guess of 0 (min 1)
[2012-03-29 17:33:36,550] [WARNING] koLanguageServiceBase.indenting: Found non-positive guess of 0 (min 1)
[2012-03-29 17:33:36,550] [WARNING] koLanguageServiceBase.indenting: Found non-positive guess of 0 (min 1)

对于第二个文件,它不会打开该文件并抛出此异常:

ERROR:xpcom:Unhandled exception calling 'int8 note_loc(in nsISomething, in boolean, in nsISomething, out retval nsISomething);'
Traceback (most recent call last):
  File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/xpcom/server/policy.py", line 310, in _CallMethod_
    return 0, func(*params)
  File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/components/koHistory.py", line 119, in note_loc
    recent_back_visits = self.get_session(loc.session_name).recent_back_visits
  File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py", line 1249, in get_session
    self.sessions[session_name] = HistorySession(session_name, self.db)
  File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py", line 679, in __init__
    self.load()
  File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py", line 716, in load
    self._load_recent_history_cache(top_loc_id, num_forward_visits, cu=cu)
  File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py", line 740, in _load_recent_history_cache
    loc = self.db.visit_from_id(id, session_name=self.session_name, cu=cu)
  File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py", line 487, in visit_from_id
    is_obsolete=row[11]
  File "/home/ali/Programlar/Komodo-Edit-7/lib/python/lib/python2.6/contextlib.py", line 34, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py", line 233, in connect
    yield cu
  File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py", line 472, in visit_from_id
    uri_id = int(row[1])
TypeError: int() argument must be a string or a number, not 'NoneType'
[2012-03-29 17:35:13,927] [ERROR] root: 
-- EXCEPTION START --
+ QueryInterface (function) 3 lines
+ message (string) 'TypeError: int() argument must be a string or a number, not 'NoneType''
+ result (number) 2147500037
+ name (string) 'visit_from_id'
+ filename (string) '/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py'
+ lineNumber (number) 472
+ columnNumber (number) 0
+ location (object) File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py", line 472, in visit_from_id
| + QueryInterface (function) 3 lines
| + language (number) 0
| + languageName (string) 'Python'
| + filename (string) '/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py'
| + name (string) 'visit_from_id'
| + lineNumber (number) 472
| + sourceLine (string) 'uri_id = int(row[1])'
| + caller (object) File "/home/ali/Programlar/Komodo-Edit-7/lib/mozilla/python/komodo/editorhistory.py", line 233, in connect
| *
+ inner (object) null
| *
+ data (object) null
| *
*
-- EXCEPTION END --

我的操作系统:Ubuntu 11.10

最佳答案

您的机器上有完整的 C++ 支持吗?一known issue科莫多岛是:

Komodo may not start up correctly on some Linux systems if C++ compatibility libraries have not been installed. On Fedora and Red Hat systems, install the "compat-libstdc++" package. On SuSE, install the "compat" package. On Gentoo, as root, run emerge lib-compat. This is not thought to be a problem on Debian systems.

关于linux - 无法在 Komodo Edit/IDE 7.0.2 中打开多个选项卡,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9928710/

相关文章:

linux - EOF 和 openssl 密码

Linux 中的 Java 堆大小

java - 我尝试在 s40 手机上使用 Nokicert,但是当我在 cmd 中打开它时,出现异常错误

html - Bootstrap Tabs 不工作但代码看起来不错

ide - 如何在 Notepad++ 中一次缩进多行?

linux - Bash 脚本日志文件连续显示到屏幕上

c - Linux opengl es 2.0 来自 windows

Java 可选 orElseThrow 与空集合

python - sys.exc_info() 是如何工作的?

python - 无法看到 ttk.Notebook 中的所有选项卡