ports/153457: net/straw is broken with python-2.6

Ruslan Mahmatkhanov cvs-src at yandex.ru
Sun Dec 26 22:40:07 UTC 2010

>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
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 26 22:40:06 UTC 2010
>Originator:     Ruslan Mahmatkhanov
>Release:        8.2-PRERELEASE
Runtime of net/straw is BROKEN when using with python 2.6:

[mrk at 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/



More information about the freebsd-ports-bugs mailing list