[GRASS-dev] Re: [GRASS-CVS] hamish: grass6/lib/init init.sh, 1.119, 1.120

Markus Neteler neteler at itc.it
Sat Oct 6 18:41:23 EDT 2007



HamishB wrote:
> 
> Markus:
>> > Above was there for many months without problems. The recent
>> > problem seems to arise from a different modification.
> 
> Moritz: 
>> Yes, the revision just before
>>
> (http://freegis.org/cgi-bin/viewcvs.cgi/grass6/lib/init/init.sh.diff?r1=1.118&r2=1.119):
> 
> ie the missing check for the existence of VAR before overwriting the file.
> 

Would like to check that but...:

Python Exception Occurred
Traceback (most recent call last):
  File "/home/www/viewcvs/lib/viewcvs.py", line 2630, in run_cgi
    main()
  File "/home/www/viewcvs/lib/viewcvs.py", line 2608, in main
    view_diff(request, full_name[:-5])
  File "/home/www/viewcvs/lib/viewcvs.py", line 2335, in view_diff
    if revcmp(rev1, rev2) > 0:
  File "/home/www/viewcvs/lib/viewcvs.py", line 1098, in revcmp
    rev2 = map(int, string.split(rev2, '.'))
ValueError: invalid literal for int(): 119)


Ouch?

Markus

PS: Martin has prepared a CVS backup via rsync and with viewCVS:
http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass6/lib/init/init.sh?root=grass&r1=1.118&r2=1.119
So, seems to be my fault (the overwrite, not that the VAR file disappears!)
-- 
View this message in context: http://www.nabble.com/Re%3A--GRASS-CVS--hamish%3A-grass6-lib-init-init.sh%2C-1.119%2C-1.120-tf4579018.html#a13078288
Sent from the Grass - Dev mailing list archive at Nabble.com.




More information about the grass-dev mailing list