Ticket #2107 (closed patch: fixed)

Opened 12 months ago

Last modified 7 months ago

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

create_plugin.patch (1.4 KB) - added by bwrsandman 12 months 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.

Change History

Changed 12 months 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.

Changed 7 months ago by Cas

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from Future to 1.3.6

Fixed 1.3-stable:  d9f1210f

Note: See TracTickets for help on using tickets.