Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2010 22:30:39 GMT
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153457: net/straw is broken with python-2.6
Message-ID:  <201012262230.oBQMUdwL018382@red.freebsd.org>
Resent-Message-ID: <201012262240.oBQMe6pE017900@freefall.freebsd.org>

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

>Number:         153457
>Category:       ports
>Synopsis:       net/straw is broken with python-2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 26 22:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        8.2-PRERELEASE
>Organization:
>Environment:
8.2-PRERELEASE i386
>Description:
Runtime of net/straw is BROKEN when using with python 2.6:

[mrk@smeshariki2 ~]> straw
Traceback (most recent call last):
  File "/usr/local/bin/straw", line 137, in <module>
    sdir = find_straw_lib()
  File "/usr/local/bin/straw", line 57, in find_straw_lib
    raise "FileNotFoundError", "couldn't find straw library dir"
TypeError: exceptions must be old-style classes or derived from BaseException, not str

In python2.6 exceptions cannot be a strings anymore. 
This can be easy fixed, but i believe there is no real reason to do so.
Because our mainline python version in ports is 2.6 i suggest to start process of deprecation and removing this port from the tree. Last release was produced at May 14th 2007 [1] and project seems dead. User can be suggested to use more fast and modern replacement - net/liferea instead. 

[1] http://projects.gnome.org/straw/
>How-To-Repeat:

>Fix:


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



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