[moin-user] moi2 doesn.t works

Renato Pontefice renato.pontefice at gmail.com
Fri Feb 7 11:00:19 EST 2020


Hi Roger,

I send the screen shot

this is the content of wsgi.py:
------------------------------------------
# Copyright: 2020 MoinMoin:RogerHaase
# License: GNU GPL v2 (or any later version), see LICENSE.txt for details.

# Upload this file to the pythonanywhere
# Working directory: /home/<account-name>/moin

import sys
import os
import site

this_dir = os.path.dirname(os.path.abspath(__file__))

site.addsitedir(this_dir + 
'-venv-{0}/lib/{0}/site-packages'.format(sys.executable))

if not (this_dir in sys.path or this_dir.lower() in sys.path):
     sys.path.insert(0, this_dir)

wiki_config = this_dir + '/wikiconfig_local.py'
if not os.path.exists(wiki_config):
     wiki_config = this_dir + '/wikiconfig.py'

# application is the Flask application
from moin.app import create_app
application = create_app(wiki_config)
---------------------------------------------------
and this is the content of _pythonanywhere_com_wsgi.py

# Copy the contents of this file to the pythonanywhere
# WSGI configuration file: 
/var/www/<account-name>_pythonanywhere_com_wsgi.py

from wsgi import application  # noqa
____________________________________________________________

I've reload it but it still does not works...
Renato

-------------- next part --------------
A non-text attachment was scrubbed...
Name: py.pdf
Type: application/pdf
Size: 28006 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/moin-user/attachments/20200207/7ea41a8b/attachment-0001.pdf>


More information about the moin-user mailing list