[viewvc-users] Version 1.1.19 - viewvc.py - bugreport

"Maag, Manuel" <[email protected]> Thu, 25 Apr 2013 15:24:57 +0000
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
I have become an error when i take the "view" from a file in viewvc.

There's a syntax-error in line 1786. --> lin --> line
        line = string.expandtabs(lin, cfg.options.tabsize)

An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
  File "/home/kundeIPA/www/viewvc/lib/viewvc.py", line 4827, in main
    request.run_viewvc()
  File "/home/kundeIPA/www/viewvc/lib/viewvc.py", line 402, in run_viewvc
    self.view_func(self)
  File "/home/kundeIPA/www/viewvc/lib/viewvc.py", line 2102, in view_markup
    markup_or_annotate(request, 0)
  File "/home/kundeIPA/www/viewvc/lib/viewvc.py", line 2025, in markup_or_annotate
    path[-1], mime_type, encoding, False)
  File "/home/kundeIPA/www/viewvc/lib/viewvc.py", line 1786, in markup_stream
    line = string.expandtabs(lin, cfg.options.tabsize)
NameError: global name 'lin' is not defined


Kind Regards!

Manuel Maag
Vocational Trainee Vocational Education Computer Science
Corporate Center

Sunrise Communications AG
Industriestrasse 30
8320 Kloten
Mobile: +41 76 777 64 72
[email protected]<mailto:[email protected]>
www.sunrise.ch<http://www.sunrise.ch/>

[Embedded Image]

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3054289

To unsubscribe from this discussion, e-mail: [[email protected]].
image001.jpg (image/jpeg, 10 KB) - not displayed