Issue 7 in desigle: Error opening a file

2 views
Skip to first unread message

codesite...@google.com

unread,
Nov 4, 2008, 5:39:06 PM11/4/08
to desigle...@googlegroups.com
Issue 7: Error opening a file
http://code.google.com/p/desigle/issues/detail?id=7

New issue report by grimm.markus:
What steps will reproduce the problem?
1. Opening a file named 01.tex or sth like that


What is the expected output? What do you see instead?
Traceback (most recent call last):
File "/opt/desigle/desigle.py", line 445, in <lambda>
self.ui.get_widget('toolbutton_open').connect('clicked', lambda x:
self.open())
File "/opt/desigle/desigle.py", line 745, in open
self.open_file( filename )
File "/opt/desigle/desigle.py", line 760, in open_file
self.refresh_preview()
File "/opt/desigle/desigle.py", line 697, in refresh_preview
if fname in include_files or fname_base in include_files:
UnboundLocalError: local variable 'fname_base' referenced before assignment
Traceback (most recent call last):
File "desigle.py", line 817, in watch_editor
self.refresh_preview()
File "desigle.py", line 697, in refresh_preview
if fname in include_files or fname_base in include_files:
UnboundLocalError: local variable 'fname_base' referenced before assignment


What version of the product are you using? On what operating system?
current SVN Version. Ubuntu Intrepid

Please provide any additional information below.
I added a line in line 695 like that to introduce fname_base:
fname_base = ''
This one works for me.


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

--
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

Reply all
Reply to author
Forward
0 new messages