#41 LaTeX lexer crashes

v0.2
closed-fixed
9
2009-05-01
2009-01-23
Anonymous
No

Hi everybody,

i had a problem with Gedit.

There are no problems with simple latex codes but i have a bigger latex code (about 50 sites).

Just then i open the document i became this error-message:

'Lexer' object has no attribute '_VERB_COMMAND'

Traceback (most recent call last):
File "/home/timotheus/.gnome2/gedit/plugins/GeditLaTeXPlugin/src/util.py", line 150, in new_function
return f(*args, **kw)
File "/home/timotheus/.gnome2/gedit/plugins/GeditLaTeXPlugin/src/latex/parser.py", line 311, in _parse
for token in Lexer(string):
File "/home/timotheus/.gnome2/gedit/plugins/GeditLaTeXPlugin/src/latex/lexer.py", line 227, in next
self._state = self._VERB_COMMAND
AttributeError: 'Lexer' object has no attribute '_VERB_COMMAND'

Someone on ubuntuusers.de sad to me, that i have to post it here that intelligant peoble can fix the problem.

So have fun with it.

Greets

Discussion

  • Michael Zeising

    Michael Zeising - 2009-01-26

    Hi,

    thanks for posting the issue. This is definitely a bug in the LaTeX lexer. I'll fix it as soon as I can.

    Michael

     
  • Michael Zeising

    Michael Zeising - 2009-01-26
    • labels: --> LaTeX Parser
    • assigned_to: nobody --> m_zeising
    • milestone: --> v0.2
    • priority: 5 --> 9
     
  • Michael Zeising

    Michael Zeising - 2009-01-28

    Hi,

    can you please attach the document for which this error occured. Thanks!

    Michael

     
  • Michael Zeising

    Michael Zeising - 2009-01-28
    • summary: Gedit can't safe my Document --> LaTeX lexer crashes
     
  • Michael Zeising

    Michael Zeising - 2009-05-01
    • status: open --> closed-fixed
     
  • Michael Zeising

    Michael Zeising - 2009-05-01

    Fixed in SVN

     

Log in to post a comment.