[viewvc-dev] viewvc-1.1.1 does not work with python-1.5.2

Simon Holm Thøgersen <[email protected]> Fri, 14 Aug 2009 10:02:00 +0200
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Message-ID <D0FC7BB0B53C4E4CBFC122421738D32A5B9C__32164.6305536435$1250253885$gmane$org@POST.uni.ad.aau.dk>
I've tried python-2.6.2 in place of 1.5.2 and that works fine. With 1.5.2 I get the following error when trying standalone.py

Traceback (innermost last):
  File "bin/standalone.py", line 682, in ?
    cli(sys.argv)
  File "bin/standalone.py", line 633, in cli
    serve(options.host, options.port, ready)
  File "bin/standalone.py", line 295, in serve
    handle_config(options.config_file)
  File "bin/standalone.py", line 344, in handle_config
    cfg = viewvc.load_config(config_file or CONF_PATHNAME)
  File "/tmp/viewvc-1.1.1/lib/viewvc.py", line 4062, in load_config
    files = map(lambda x: os.path.join(os.path.dirname(pathname), x), files)
  File "/tmp/viewvc-1.1.1/lib/viewvc.py", line 4062, in <lambda>
    files = map(lambda x: os.path.join(os.path.dirname(pathname), x), files)
NameError: pathname

I'm unsure where to report it, so here you go. Perhaps the only problem is that the front page of viewvc.org says python 1.5.2 is fine.


Best regards,
Simon Holm Thøgersen

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

To unsubscribe from this discussion, e-mail: [[email protected]].