Opened 12 years ago

Closed 11 years ago

#2107 closed patch (Fixed)

Patch for create_plugin.py to call correct version of python

Reported by: bwrsandman Owned by:
Priority: minor Milestone: 1.3.6
Component: Plugin Version: 1.3.5
Keywords: create plugin Cc:

Description

Overview: When create_plugin.py creates create_dev_link.sh, it calls python. In some distros with both python 2 and python 3 installed, Python 2 is called with python2.

Steps to reproduce:

  • Have python 3 installed as the default python command.
  • Run create_plugin.py with python 2

Unpatched result:

  • Script calls the wrong version of python and crashes when running create_dev_link.sh

Patched result:

  • Script calls python from the same path as create_pugin.py

Platform, Build: Arch linux x86_64 python 3.2.3 python2 2.7.3

Additional info: I have included a patch.

Attachments (1)

create_plugin.patch (1.4 KB) - added by bwrsandman 12 years ago.
Patch to fix bug in create_plugin. Calls sys to get path of current running python version and uses that for create_dev_link.sh call to python.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by bwrsandman

Patch to fix bug in create_plugin. Calls sys to get path of current running python version and uses that for create_dev_link.sh call to python.

comment:1 Changed 11 years ago by Cas

  • Milestone changed from Future to 1.3.6
  • Resolution set to fixed
  • Status changed from new to closed

Fixed 1.3-stable: d9f1210f

Note: See TracTickets for help on using tickets.