Bug 153457 - net/straw is broken with python-2.6
Summary: net/straw is broken with python-2.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-26 22:40 UTC by R.Mahmatkhanov
Modified: 2010-12-27 12:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description R.Mahmatkhanov 2010-12-26 22:40:06 UTC
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/
Comment 1 wenheping 2010-12-27 03:11:00 UTC
Hi,

   Shall we restrict the python to 2.4-2.5 instead of removing it ?

wen
Comment 2 R.Mahmatkhanov 2010-12-27 06:44:38 UTC
27.12.2010 06:11, wen heping пиÑеÑ:
> Hi,
>
>     Shall we restrict the python to 2.4-2.5 instead of removing it ?
>
> wen

Maybe. But i'm not sure that anybody use it. It's pretty old and slow.
This port already was marked for removal three years ago. (see commit 
history). But i fixed it and taked maintainership in hope that 
development will not be stopped. But it is.
So it's up to you what to do with it. But i'd remove.

-- 
Regards,
Ruslan
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-12-27 12:13:55 UTC
wen         2010-12-27 12:13:49 UTC

  FreeBSD ports repository

  Modified files:
    net/straw            Makefile distinfo 
  Log:
  - Mark it DEPRECATED because abandoned upstream and does not work with python 2.6
  - Remove MD5
  
  PR:             ports/153457
  Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer)
  
  Revision  Changes    Path
  1.32      +3 -0      ports/net/straw/Makefile
  1.10      +0 -1      ports/net/straw/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Wen Heping freebsd_committer freebsd_triage 2010-12-27 12:14:58 UTC
State Changed
From-To: open->closed

Committed. Thanks!