Export to GitHub

gui2exe - issue #26

Impossible to add python script without .py extension


Posted on Nov 11, 2010 by Helpful Wombat

What steps will reproduce the problem? 1. Start a new or existing py2exe project 2. Add a target class and browse for a Python main script 3. Try to open a Python script without extension

What is the expected output? What do you see instead? I'd like to add this file as my startup script, but can't choose it. I tried manually typing the filename, but GUI2exe adds the .py automaticly.

What version of GUI2Exe, Python and wxPython are you using? On what operating system? GUI2exe 0.5.0 Python 2.6.6 wxPython 2.8.10.1 Windows XP

Please provide any additional information below.

Comment #1

Posted on Nov 11, 2010 by Helpful Wombat

Ok, looked at the source and fixed it by changing _pywild in the Constants file to: _pywild = "All files (.)|.|Python source (.py)|.py"

Not the best solution since more parts of the program use this wildcard, but it's possible to make a new one for this in particular.

Comment #2

Posted on Aug 24, 2011 by Massive Kangaroo

Fixed in SVN and in the latest release (0.5.1) on the download page.

Status: Fixed

Labels:
Type-Defect Priority-Medium