New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PassengerStartupFile wsgi.py isnt honoroed #1233

Closed
kiranos opened this Issue Jul 10, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@kiranos

kiranos commented Jul 10, 2014

Hi I tried setting up a different file start file with python as:

<VirtualHost *:80>
  ServerName www.yourhost.com
  DocumentRoot /home/python/myblog/
  <Directory /home/python/myblog/>
        AllowOverride all
        Options -MultiViews
  </Directory>

    PassengerEnabled on
    PassengerAppRoot /home/python/myblog
    PassengerStartupFile wsgi.py
    PassengerAppType wsgi

CustomLog /home/python/logs/wgsi-env-access_log varnishcombined
</VirtualHost>

but after I try to reach the site I get:

Raw process output:

Traceback (most recent call last):
  File "/usr/share/passenger/helper-scripts/wsgi-loader.py", line 293, in <module>
    app_module = load_app()
  File "/usr/share/passenger/helper-scripts/wsgi-loader.py", line 56, in load_app
    return imp.load_source('passenger_wsgi', 'passenger_wsgi.py')
IOError: [Errno 2] No such file or directory

apache2 restart doesnt help and if I rename wsgi.py to passenger_wsgi.py it starts to work again.

I have a test machine if you would like to bugtest locally.

@FooBarWidget

This comment has been minimized.

Show comment
Hide comment
@FooBarWidget

FooBarWidget Jul 10, 2014

Member

Thanks for reporting this. The issue has been fixed.

Member

FooBarWidget commented Jul 10, 2014

Thanks for reporting this. The issue has been fixed.

@FooBarWidget FooBarWidget added this to the 4.0.46 milestone Jul 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment