Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 378 by dgod.osa: 码表文件名无法使用减号
http://code.google.com/p/ibus/issues/detail?id=378

ibus-table的版本是 ibus-table-1.1.0.20090316-1.fc11.noarch

做出来的数据库文件如果有-号,ibus-table就无法使用这个码表,报的错误如下


  File "/usr/lib/python2.6/site-packages/dbus/service.py", line 702, in
_message_cb
     retval = candidate_method(self, *args, **keywords)
   File "/usr/lib/python2.6/site-packages/ibus/factory.py", line 68, in
CreateEngine
     engine = self.__factory.create_engine(engine_name)
   File "/usr/share/ibus-table/engine/factory.py", line 92, in create_engine
     + str(self.engine_id), self.dbdict[name])
   File "/usr/share/ibus-table/engine/table.py", line 810, in __init__
     super(tabengine,self).__init__ (bus,obj_path)
   File "/usr/lib/python2.6/site-packages/ibus/engine.py", line 33, in  
__init__
     self.__proxy = EngineProxy (self, bus.get_dbusconn(), object_path)
   File "/usr/lib/python2.6/site-packages/ibus/engine.py", line 149, in  
__init__
     super(EngineProxy, self).__init__(conn, object_path)
   File "/usr/lib/python2.6/site-packages/dbus/service.py", line 450, in
__init__
     validate_object_path(object_path)
ValueError: Invalid object path
'/com/redhat/IBus/engines/table/yong-ibus/engine/0': contains invalid
character '-'


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

回复