On 11/07/21 2:24 am, Dennis Lee Bieber wrote:
Off-hand, that looks like a BASH command, so stuff it in your .bashrc
or .profile and see what happens.
Or make yourself a little shell script that starts flask with
the appopriate settings.
--
Greg
--
https://mail.python.org/mailman/listi
Στις Παρασκευή, 9 Ιουλίου 2021 στις 11:48:43 μ.μ. UTC+3, ο χρήστης Menno
Holscher έγραψε:
> Op 09-07-2021 om 15:01 schreef vergos@gmail.com:
> > please tell me what i need to do to be able to see error messages in
> > browser and not only via console:
> >
> > app = Flask(__name__)
> > app.
Op 09-07-2021 om 15:01 schreef vergos@gmail.com:
please tell me what i need to do to be able to see error messages in browser
and not only via console:
app = Flask(__name__)
app.debug = True
application = app
The above only displays error via console into the error_log, having to open it
Στις Παρασκευή, 9 Ιουλίου 2021 στις 4:10:29 μ.μ. UTC+3, ο χρήστης Chris
Angelico έγραψε:
> On Fri, Jul 9, 2021 at 11:07 PM vergos@gmail.com
> wrote:
> > please tell me what i need to do to be able to see error messages in
> > browser and not only via console:
> >
> > app = Flask(__name__
Στις Παρασκευή, 9 Ιουλίου 2021 στις 4:10:29 μ.μ. UTC+3, ο χρήστης Chris
Angelico έγραψε:
> On Fri, Jul 9, 2021 at 11:07 PM vergos@gmail.com
> wrote:
> > please tell me what i need to do to be able to see error messages in
> > browser and not only via console:
> >
> > app = Flask(__name__
On Fri, Jul 9, 2021 at 11:07 PM vergos@gmail.com
wrote:
> please tell me what i need to do to be able to see error messages in browser
> and not only via console:
>
> app = Flask(__name__)
> app.debug = True
> application = app
>
> The above only displays error via console into the error_log,
Στις Παρασκευή, 9 Ιουλίου 2021 στις 3:57:11 μ.μ. UTC+3, ο χρήστης Menno
Holscher έγραψε:
> Op 09-07-2021 om 08:14 schreef vergos@gmail.com:
> > Στις Παρασκευή, 9 Ιουλίου 2021 στις 12:03:00 π.μ. UTC+3, ο χρήστης Menno
> > Holscher έγραψε:
> >> Op 08-07-2021 om 15:42 schreef vergos@gmail.c
Op 09-07-2021 om 08:14 schreef vergos@gmail.com:
Στις Παρασκευή, 9 Ιουλίου 2021 στις 12:03:00 π.μ. UTC+3, ο χρήστης Menno
Holscher έγραψε:
Op 08-07-2021 om 15:42 schreef vergos@gmail.com:
import flask
dir(flask)
['Blueprint', 'Config', 'Flask', 'Markup', 'Request', 'Response',
'Sessio
Στις Παρασκευή, 9 Ιουλίου 2021 στις 12:03:00 π.μ. UTC+3, ο χρήστης Menno
Holscher έγραψε:
> Op 08-07-2021 om 15:42 schreef vergos@gmail.com:
> > i just moved from bottleframework to flask. I changes what needed to be
> > altered to convert the code and when i run it i just get "Internal serve
Op 08-07-2021 om 15:42 schreef vergos@gmail.com:
i just moved from bottleframework to flask. I changes what needed to be altered to
convert the code and when i run it i just get "Internal server error"
This error is the error any web site shows when the code of your
application has an error
> Στις Πέμ, 8 Ιουλ 2021 στις 7:02 μ.μ., ο/η Stestagg
> > έγραψε:
> >
> >> Hi
> >>
> >> Do you have a file or folder named 'flask' in the same directory as
> >> www.py by any chance?
> >>
> >> Steve
> >>
Στις Πέμπτη, 8 Ιουλίου 2021 στις 7:16:27 μ.μ. UTC+3, ο χρήστης Stestagg έγραψε:
> [my reply on the list this time :)]
>
> That's fine. Sorry, I should have provided more information.
>
> This type of error that you're gettting /can/ happen if you have the
> library correctly installed, but wit
Στις Πέμπτη, 8 Ιουλίου 2021 στις 7:09:49 μ.μ. UTC+3, ο χρήστης Stestagg έγραψε:
> Hi
>
> Do you have a file or folder named 'flask' in the same directory as www.py
> by any chance?
No, the way i have installed flask was under root account with the command
pip3 install flask.
But even if i inst
μ., ο/η Stestagg
> έγραψε:
>
>> Hi
>>
>> Do you have a file or folder named 'flask' in the same directory as
>> www.py by any chance?
>>
>> Steve
>>
>> On Thu, Jul 8, 2021 at 4:50 PM vergos....@gmail.com <
>> vergos.niko...@gmail
Hi
Do you have a file or folder named 'flask' in the same directory as www.py
by any chance?
Steve
On Thu, Jul 8, 2021 at 4:50 PM vergos@gmail.com <
vergos.niko...@gmail.com> wrote:
> i just moved from bottleframework to flask. I changes what needed to be
> altered t
Jul 8, 2021 at 4:50 PM vergos@gmail.com <
> vergos.niko...@gmail.com> wrote:
>
>> i just moved from bottleframework to flask. I changes what needed to be
>> altered to convert the code and when i run it i just get "Internal server
>> error"
>>
>> Runn
i just moved from bottleframework to flask. I changes what needed to be altered
to convert the code and when i run it i just get "Internal server error"
Running tail -f ../logs/error_log i get no errors.
How can i find out what is the culprit here?
[nikos@superhost wsgi]$ export
17 matches
Mail list logo