Tagged Questions
0
votes
1answer
190 views
Unable to write to files with mod_python and PSP
So, I have a Python Server Pages script that when ran, saves stuff to a file in /var/www/. It opens the file with:
open(filename, 'wb')
Which causes this:
IOError: [Errno 13] Permission denied: ...
0
votes
0answers
371 views
Issue with python object/class “instance has no attribute” from external PythonServerPage
So I created this class called BigIPLTM in a python script file named pycontrol.py. I also have a python server page which imports the script and creates an object. I am running into an issue when ...
0
votes
1answer
138 views
Not able to access parts of imported .PY in a .PSP
I'm trying to load a weather plugin for a website I'm working on. The weather plugin is a separate weather.py file located at /var/www/piss/plugins/base/weather.py. In the PSP it seems to import ...
1
vote
1answer
857 views
psp (python server pages) code under mod_wsgi?
Is there some way to run .psp (python server pages) code under apache + mod_wsgi? While we are moving towards newer wsgi based frameworks we still have some legacy code written in psp which runs ...