helpSavannah Administration - Support: sr #108810, Some source codes is breaked by...

 
 

sr #108810: Some source codes is breaked by Python error

Submitted by:  Hsing-yen He <hammerandsickle>
Submitted on:  Wed 29 Apr 2015 02:14:56 PM UTC  
 
Category: Project webpagesPriority: 5 - Normal
Severity: 3 - NormalStatus: Need Info
Assigned to: Assaf Gordon <agn>Operating System: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 18 Feb 2017 02:55:55 AM UTC, comment #3:

(triaging old savannah tickets)

Hello,

Regarding this:

> I always found some source codes is breaked by Python traceback error
> when I browse source codes from Savannah, please fix it.
> http://svn.savannah.gnu.org/viewvc/trunk/freefont/sfd/FreeSerif.sfd?revision=3038&root=freefont&view=markup


After a long while,
we've upgraded savannah to new servers with newer python version.

Can you confirm this issue is resolved ?

Thanks!
- assaf

Assaf Gordon <agn>
Site AdministratorIn charge of this item.
 Spam posted by kristentruong
Fri 01 May 2015 04:32:42 AM UTC, comment #2:

Well, I found the “Python Traceback” notice at the end of the source code for a long time when I got the source code of GNU FreeFont, I have sent file #33070 to show this error.

This is the notice that I always seen:

An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
File "/var/www/off-site/viewvc/lib/viewvc.py", line 3746, in main
request.run_viewvc()
File "/var/www/off-site/viewvc/lib/viewvc.py", line 403, in run_viewvc
self.view_func(self)
File "/var/www/off-site/viewvc/lib/viewvc.py", line 1470, in view_markup
generate_page(request, "markup", data)
File "/var/www/off-site/viewvc/lib/viewvc.py", line 855, in generate_page
template.generate(request.server.file(), data)
File "/var/www/off-site/viewvc/lib/ezt.py", line 326, in generate
self._execute(self.program, ctx)
File "/var/www/off-site/viewvc/lib/ezt.py", line 455, in _execute
step[0](step[1], ctx)
File "/var/www/off-site/viewvc/lib/ezt.py", line 460, in _cmd_print
_write_value(value, args, ctx)
File "/var/www/off-site/viewvc/lib/ezt.py", line 636, in _write_value
apply(value, [ctx] + list(args))
File "/var/www/off-site/viewvc/lib/viewvc.py", line 1213, in _call_
copy_stream(self.fp, ctx.fp, self.htmlize)
File "/var/www/off-site/viewvc/lib/viewvc.py", line 1198, in copy_stream
dst.write(chunk)
File "/var/www/off-site/viewvc/lib/vclib/svn/__init__.py", line 589, in _sigterm_handler
sys.exit(-1)
NameError: global name 'sys' is not defined

Hsing-yen He <hammerandsickle>
Thu 30 Apr 2015 02:38:25 AM UTC, comment #1:

Hello,

Could you provide more details regarding the error you are experiencing?

I was able to view the entire file using a Firefox web browser version 33.1 with the URL you've provided, without seeing any server-side error.
Note that this specific file is 7.1MB in size with some long lines, viewing it in a web browser could be problematic.

You could download it and view it locally using:
$ svn co svn://svn.savannah.gnu.org/freefont/trunk/freefont/sfd
$ ls -lhog sfd/FreeSerif.sfd
-rw-r--r-- 1 7.1M Apr 30 02:33 sfd/FreeSerif.sfd
$ less sfd/FreeSerif.sfd

regards,
- assaf

Assaf Gordon <agn>
Site AdministratorIn charge of this item.
Wed 29 Apr 2015 02:14:56 PM UTC, original submission:

Hi,

I always found some source codes is breaked by Python traceback error when I browse source codes from Savannah, please fix it.

http://svn.savannah.gnu.org/viewvc/trunk/freefont/sfd/FreeSerif.sfd?revision=3038&root=freefont&view=markup

Hsing-yen He <hammerandsickle>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kristentruong (Posted a comment)
  • -unavailable- added by agn (Posted a comment)
  • -unavailable- added by hammerandsickle (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 Apr 2015 02:38:25 AM UTCagnStatusNone=>Need Info
      Assigned toNone=>agn

    Back to the top


    Powered by Savane 3.1-cleanup1