Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #417  -  It isn't clear which version of python should be used for Plug-Ins
Posted Apr 28, 2013 - updated Jan 05, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     Konstantin Dmitriev
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Konstantin Dmitriev
  • Owned by
    Not owned by anyone
  • Time spent
    2 hours
  • Category
    Not determined
  • Resolution
    RESOLVED
  • Priority
    Must fix before next release
  • Targetted for
    icon_milestones.png 0.64.0
  • Tags
    icon_customdatatype.png Not determined
  • Difficulty
    icon_customdatatype.png Not determined
Issue description
At the moment synfig just calls "python" binary, without checking if it's python 2 or python 3. That leaves inconsistency gap - it isn't clear which version of python users should use to write their plugins (generally python 3 scripts are not compatible with python 2 scripts)

So, first, we have to define, which version of python we should go (python 3 vs python 2). Next, I need to add a code which will check if correct binary of python is used and displays warning otherwise.

For discussion see: http://synfig.org/forums/viewtopic.php?p=18768#p18768
Steps to reproduce this issue
Nothing entered.

#6
Comment posted by
 Konstantin Dmitriev
Apr 29, 10:02
Fixed: Explicitly require Python3. The suitable binary (python or python3) detected automatically at runtime.

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from Being worked on to Closed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
  • Time spent on this issue, from No time spent to 2 hours.
  • Information about the user working on this issue has been changed, from Konstantin Dmitriev to Not being worked on.