You are not logged in.

#1 2013-05-19 21:05:50

King Mew
Member
Registered: 2013-04-16
Posts: 2

ndisgtk Syntax Error

I have installed ndiswrapper and ndisgtk onto my computer so my wireless card can work. Unfortunately, whenever I try to run ndisgtk, I run into an error:

  File "/usr/sbin/ndisgtk", line 47
    print "Failed to load GTK bindings. Please check your Gnome installation."
                                                                             ^
SyntaxError: invalid syntax

I tried commenting out the line in question, but more syntax errors popped up. I have all ndisgtk dependencies installed. I searched the web to see if anyone else was encountering  this problem, but I couldn't find anything. Does anyone know what's wrong?

Offline

#2 2013-05-19 21:32:29

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: ndisgtk Syntax Error

pygtk depends on python2 and that is Python 2 syntax, so you need to change (at least) the first line of /usr/sbin/ndisgtk to refer to python2 instead of python (and ask the maintainer of the AUR package, which I assume you used, to fix that in the PKGBUILD).

Offline

Board footer

Powered by FluxBB