Jump to content

strayer

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by strayer

  1. I also was email by the Cronk daemon for estrayer@tommy after this occurred.

     

    To provide a bit more explanation I was having trouble testing a second web app on the same site without taking down the first one. I was not able to figure out how to get that to work which is why I tried to create a second account. Very sorry about this and I will not try to do it again, I really appreciate the service here and do not want to abuse it.

  2. I had created the account estrayer on tommy with my e-mail address. I intended to create a second account on ricky to test out a different idea, I mixed up what e-mail address I had used and set up a second account with the same e-mail as the first. Now when I login as estrayer it takes me to an empty account on ricky and I cannot figure out how to access my files on tommy.

     

    I have not done anything with my account on Ricky and am totally fine with that being removed. I would prefer to remain able to access my account already in use on Tommy.

     

    Please advise!

  3. <p>I took that exampled and have changed it to work with my app and html and now I can see the first page.</p>

    <p> </p>

    <p>I still need to play with things from here to get the rest of it to work like I want, but flask and python are both working for me!</p>

    <p> </p>

    <p>Thank you so much for all your help. I really appreciate your knowledge and work!</p>

  4. I adjusted my script so it will run on python 3.6 I tested on my computer using localhost and it worked. I changed the shebang on app.py and I am still getting the same cron error.

     

    Traceback (most recent call last):

    File "/home/estrayer/public_html/cgi-bin/app.py", line 3, in <module>

    from flask import Flask, session, request, render_template

    ImportError: No module named flask

     

    I have tried both #! usr/bin/python3 and #! usr/bin/python3.6

     

    what am I doing wrong?

    Thanks so much for your help, sorry to be a pain.

     

    Edit:

    realized I did not adjust my cron to usr/bin/python3 just made that change and set it to run in a few minutes. Hopefully that will show me where my next error is.

  5. I ran a cron job and received:

     

    Traceback (most recent call last):

    File "/home/estrayer/public_html/cgi-bin/app.py", line 3, in <module>
    from flask import Flask, session, request, render_template
    ImportError: No module named flask

     

    I would like to have Flask installed for my account on tommy for python 2.7.5

     

    thanks!

  6. I am still in the learning process for python and have only used python 2 (I have 2.7.10 on my computer) It would be best for me if I did not have to figure out how to re-do things in python 3 yet.

     

    I think it may be best for me to move from Johnny to another server that has python 2.7 installed.

  7. This is the first time I have run a python app from a web host and I have been unable to get it to work.

    I set it up using web.py on my own computer.

     

    I have run it via localhost:8080 on my computer and everything was functional there, but I can't figure out how to get it to work after it has been uploaded.

     

    I saw https://www.helionet.org/index/topic/28800-how-to-set-indexpycgi-as-default-index/?hl=python and tried the steps listed in that post as well to no avail. Ultimately that user needed to have python installed and I wanted to know if that was the solution for me as well.

     

    I am on server johnny

    I used python 2.7.10

     

    thanks for any help!

×
×
  • Create New...