Opened 14 months ago

Last modified 3 months ago

#3759 new New feature needs upgrade to Python 3 or updated shebang line

Reported by: WindPower Owned by:
Priority: normal Milestone: 2.x - The Great Piwik 2.x Backlog
Component: Core Keywords: log-analytics, python
Cc: Sensitive: no


Some distributions like Arch have /usr/bin/python point to python3, not Python 2.x. Even more popular distributions are transitioning to do the same thing. Currently, the script does not work under Python 3. As such, either it should be updated to support Python 3, either its shebang line should be changed to #!/usr/bin/python2 instead of assuming that /usr/bin/python is Python 2.x.

Change History (4)

comment:1 Changed 14 months ago by matt (mattab)

  • Milestone set to 1.x - Piwik 1.x

sounds like a very good idea to make it python 3 compatible. Please send pull request if you manage this (btw is it possible to keep compatibility with Python 2.6?)

comment:2 Changed 14 months ago by matt (mattab)

  • Milestone changed from 1.x - Piwik 1.x to 1.12.x - Piwik 1.12.x

comment:3 Changed 13 months ago by matt (mattab)

  • Milestone changed from 1.12 - The Great 1.x Backlog to 2.x - Piwik 2.x

comment:4 Changed 3 months ago by matt (mattab)

  • Type changed from Bug to New feature
Note: See TracTickets for help on using tickets.