Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21252 - [dstat] should use python2 in -testing

Attached to Project: Community Packages
Opened by Marti (intgr) - Thursday, 14 October 2010, 15:55 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 15 October 2010, 02:32 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The 'dstat' command should use python2, instead of python, in -testing.

Steps to reproduce:

% head -n1 `which dstat`
#!/usr/bin/env python

% dstat
File "/usr/bin/dstat", line 119
except getopt.error, exc:
^
SyntaxError: invalid syntax

% python2 `which dstat`
^ works
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 15 October 2010, 02:32 GMT
Reason for closing:  Fixed
Comment by Marti (intgr) - Friday, 15 October 2010, 01:17 GMT
  • Field changed: Percent Complete (100% → 0%)
The dstat command should also list "#!/usr/bin/env python2" as its interpreter. The "python" command now defaults to Python 3.x
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 15 October 2010, 02:17 GMT
Reopen again? Package now uses python2 as an interpreter in rel 3.
Comment by Brad Fanella (cesura) - Friday, 15 October 2010, 02:20 GMT
I cannot reproduce this.
This bug was reopened as a response to:
https://bugs.archlinux.org/task/21260
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 15 October 2010, 02:25 GMT
You cannot reproduce the fix or the problem?
Comment by Brad Fanella (cesura) - Friday, 15 October 2010, 02:28 GMT
I cannot reproduce the *problem*. Maybe you had already fixed the PKGBUILD before I tried it out.
Either way, if you and I can both confirm this working, then I guess it is safe to finally put this bug to rest.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 15 October 2010, 02:32 GMT
Exactly. Closing.

Loading...