setup.py isn't executable in vs. 0.6.1

Bug #373005 reported by Mehdi Abaakouk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Listen
Fix Released
Medium
Mehdi Abaakouk

Bug Description

When I try to compile listen vs. 0.6.1 I get an error saying:

make -C mmkeys
make[1]: Entering directory `/tmp/SBo/listen-0.6.1/mmkeys'
pygtk-codegen-2.0 --prefix mmkeys \
        --register `pkg-config --variable=defsdir pygtk-2.0`/gdk-types.defs \
        --register `pkg-config --variable=defsdir pygtk-2.0`/gtk-types.defs \
        --override mmkeys.override \
        mmkeys.defs > gen-tmp
note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead
note: I will now try to invoke pygobject-codegen-2.0 in the same directory
***INFO*** There are no declared global functions.
***INFO*** There are no declared methods.
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
mv gen-tmp mmkeyspy.c
./setup.py build
make[1]: execvp: ./setup.py: Permission denied
make[1]: *** [build] Error 127
make[1]: Leaving directory `/tmp/SBo/listen-0.6.1/mmkeys'
make: *** [mmkeys.so] Error 2

After looking at the code, the setup.py file in the mmkeys subdirectory is *not* executable. In previous versions it is executable. I would actually change the Makefile in the mmkeys subdirectory from:
./setup.py
to:
python setup.py

That way you don't have to worry about file permissions for setup.py.

This ticket was migrated from the old trac: re #907
Originally reported by: larryhaja

Mehdi Abaakouk (sileht)
Changed in listen:
assignee: nobody → Mehdi Abaakouk (theli48)
importance: Undecided → Medium
Mehdi Abaakouk (sileht)
Changed in listen:
milestone: none → 0.6.2
status: New → Confirmed
status: Confirmed → Fix Committed
Mehdi Abaakouk (sileht)
Changed in listen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.