Jump to content

Volume

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Volume's Achievements

Newbie

Newbie (1/14)

  1. *bump* Okay, it's definitely a problem with python module paths. The file "pyexample" is the configuration file and "pyexample.py" is the module. Both files are in the same folder. I've added a few calls to the PyErr_Print() function in conf.c like so: And this is the error output: Clearly python fails to find the specified module, but I've always thought that the interpreter also searches the application working path for the given modules. Unfortunately I'm not a python expert so this might be a rough one for me to fix on my own. EDIT: Eh, stupid environmental variables. It turns out that PYTHONPATH did not exist on my system. Running "export PYTHONPATH=." without the quotes in a shell fixed the problem. Although you'll have to modify the configuration files and add relative paths to the modules from the directory you're running airpwn, else it won't work i.e. the pyexample conf file should look like: ~Vol
  2. Yes. It would seem that airpwn can find the conf file, but for some reason fails to locate the pyexample.py module. I have copied both files into one directory, but I get the same result. Perhaps there should be some variable that tells the interpreter where to look for the given py script.
  3. Hey, has anyone gotten the python scripting to work in airpwn 1.4? I upgraded the python implementation from 2.4 to my system python version 2.5 and reinstalled airpwn. While trying the python example included in airpwn 1.4 I get this:
×
×
  • Create New...