Menu

#4 A new error when open a file name with spaces?

open
nobody
None
5
2010-12-10
2010-12-10
Anonymous
No

To repeat the error
1) ensure the plug in is enabled
2) From the command prompt type gedit "a b.tex". A file selector for a master document opens.
3) Closing the dialog produces a crash in the plug in.

Is this genuinely new error? If not how do I resolve this. Thanks in advance!!

Error text:
Package: gedit-2:2.30.4-1.fc14
Latest Crash: Fri 10 Dec 2010 11:10:45 PM
Command: gedit 'test latex.tex'
Reason: __init__.py:1488:__check_return:TypeCheckError: Return value: for None, expected <class 'GeditLaTeXPlugin.src.base.File'>, got <type 'NoneType'>
Comment: None
Bug Reports:

Back trace for error 1
__init__.py:1488:__check_return:TypeCheckError: Return value: for None, expected <class 'GeditLaTeXPlugin.src.base.File'>, got <type 'NoneType'>

Traceback (most recent call last):
File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/base/decorators.py", line 735, in _on_load
self._adjust_editor()
File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/base/decorators.py", line 794, in _adjust_editor
editor_class.__init__(self._editor, self, file)
File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/base/__init__.py", line 428, in __init__
self.init(file, self._window_context)
File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/latex/editor.py", line 111, in init
self.__parse()
File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/latex/editor.py", line 344, in __parse
master_file = self.__master_file
File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/typecheck/__init__.py", line 1365, in fake_function
return fake_function.__check_result(func, result)
File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/typecheck/__init__.py", line 1488, in __check_return
raise TypeCheckError("Return value: ", return_vals, e)
TypeCheckError: Return value: for None, expected <class 'GeditLaTeXPlugin.src.base.File'>, got <type 'NoneType'>

Local variables in innermost frame:
sig_types: <class 'GeditLaTeXPlugin.src.base.File'>
return_vals: None
e: _TC_TypeError()
func: <function __master_file at 0x29c27d0>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.