Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2000 15:07:26 GMT
From:      mencl@nenya.ms.mff.cuni.cz
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21355: evg port fails to run - syntax error in a module is reported
Message-ID:  <200009181507.PAA28932@vishnu.ms.mff.cuni.cz>

next in thread | raw e-mail | index | archive | help

>Number:         21355
>Category:       ports
>Synopsis:       evg port fails to run - syntax error in a module is reported
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 18 08:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Mencl
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Department of Software Engineering
Faculty of Mathematics and Physics
Charles University, Prague
>Environment:

FreeBSD vishnu.ms.mff.cuni.cz 4.1-STABLE FreeBSD 4.1-STABLE #0: Wed Sep  6 10:42:34 GMT 2000     root@vishnu.ms.mff.cuni.cz:/usr/obj/usr/cvs/4-stable/src/sys/VISHNU  i386

(Kernel is 4.1-STABLE about of Sep 6, world is 4.1-RELEASE)

ENV=/home/mencl/.shrc
FTP_PASSIVE_MODE=YES
LOGNAME=mencl
SSH_TTY=/dev/ttyp0
MAIL=/var/mail/mencl
PAGER=more
TERM=xterm
HOSTTYPE=i386
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/home/mencl/bin
HOME=/home/mencl
SHELL=/bin/bash
USER=mencl
BLOCKSIZE=K
DISPLAY=odin.ms.mff.cuni.cz:0
SSH_CLIENT=195.113.17.137 36154 22
OSTYPE=FreeBSD
SHLVL=2
EDITOR=vi
_=/usr/bin/env

Python 1.5.2 (#2, Jul 19 2000, 19:09:55)  [GCC 2.95.2 19991024 (release)] on freebsd4

>Description:

The www/evg port, when installed, fails to run.

evg is a Python script. evg uses a library eclipthtml.py, which is a part of the package. There's a syntax error in the library, which causes python to fail with the following message:


Traceback (innermost last):
  File "/usr/local/bin/evg.py", line 8, in ?
    from eclipthtml import *
SyntaxError: non-default argument follows default argument (line 66)


Actually, I do not know, how could the file get packaged in such a condition - I do not know the python language, but the complaint looks really true about the line 66 of eclipthtml.py file.

>How-To-Repeat:

Install packages evg-1.0.1, python-1.5.2 (a dependency) and run

/usr/local/bin/evg.py

The above mentioned error message is produced.

>Fix:

Patch attached:


*** eclipthtml.py	Sat Apr 17 13:03:47 1999
--- /usr/local/lib/python1.5/site-packages/eclipthtml.py	Mon Sep 18 14:29:58 2000
***************
*** 63,69 ****
  # ----------------------------------------------------------------------
  # Start of the Body 
  
! def BodyStart(text = "", bgcolor = "", link = "", alink = "", vlink = "", background):
      if (format == HTML) or (format == Roxen):
  	line = "<body"
  	if (text != ""):
--- 63,69 ----
  # ----------------------------------------------------------------------
  # Start of the Body 
  
! def BodyStart(text = "", bgcolor = "", link = "", alink = "", vlink = "", background = ""):
      if (format == HTML) or (format == Roxen):
  	line = "<body"
  	if (text != ""):





>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009181507.PAA28932>