Bug 161471 - [patch] misc/metromap: fails to run with python27
Summary: [patch] misc/metromap: fails to run with python27
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: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-10 20:10 UTC by Nali Toja
Modified: 2011-10-10 23:40 UTC (History)
0 users

See Also:


Attachments
rawconfigparserfix.patch (1.78 KB, patch)
2011-10-10 20:10 UTC, Nali Toja
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nali Toja 2011-10-10 20:10:06 UTC
It's broken since issue7113 landed, i.e.
  http://hg.python.org/lookup/r83155
probably after python27 became the default at 2011/03/04 (bsd.python.mk)

I have no idea where 0.1.4 version in the launchpad link comes from.

Fix: Obtained from: https://launchpad.net/~zerkalica/+archive/main/+sourcepub/1411331/+listing-archive-extra
How-To-Repeat: $ metromap
Traceback (most recent call last):
  File "/usr/local/bin/metromap", line 368, in <module>
    name = GetMapName(f)
  File "/usr/local/share/metromap/modules/ReadMap.py", line 103, in GetMapName
    return unicode(name, detect_encoding(name))
TypeError: coercing to Unicode: need string or buffer, list found
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-10-10 20:10:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2011-10-10 23:39:18 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-10-10 23:39:23 UTC
amdmi3      2011-10-10 22:39:14 UTC

  FreeBSD ports repository

  Modified files:
    misc/metromap        Makefile 
  Added files:
    misc/metromap/files  patch-python27 
  Log:
  - Fix build with python 2.7
  
  PR:             161471
  Submitted by:   Nali Toja <nalitoja@gmail.com>
  
  Revision  Changes    Path
  1.19      +1 -0      ports/misc/metromap/Makefile
  1.1       +47 -0     ports/misc/metromap/files/patch-python27 (new)
_______________________________________________
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"