Code Monkey home page Code Monkey logo

Comments (2)

hcarter333 avatar hcarter333 commented on August 11, 2024

After deployment, came back with error message:
ImportError: No module named facebook

at . ( [/base/data/home/apps/m~hamdaise/20230121t120549.449449965854881469/main.py:31](https://console.cloud.google.com/debug?referrer=fromlog&file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fm~hamdaise%2F20230121t120549.449449965854881469%2Fmain.py&line=31&project=hamdaise) )

Although that line has not been in the main.py for some time.
Removed the line pointing at fancyurl as well as the code that used it.
Just in case.

from ham-radio-freedom.

hcarter333 avatar hcarter333 commented on August 11, 2024

Finally got rid of error message by deleting all isntances of app found at
https://console.cloud.google.com/appengine/instances?serviceId=default ...

Then ran into

ImportError: No module named apiclient.discovery

at . ( [/base/data/home/apps/m~hamdaise/20230122t084036.449469853045614909/main.py:22](https://console.cloud.google.com/debug?referrer=fromlog&file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fm~hamdaise%2F20230122t084036.449469853045614909%2Fmain.py&line=22&project=hamdaise) )

Deleted the line in main.py

The app now works, but one error message remians:

TemplateDoesNotExist: simple_login.html

at .find_template ( [/base/alloc/tmpfs/dynamic_runtimes/python27g/d8396ee824abfb26/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader.py:138](https://console.cloud.google.com/debug?referrer=fromlog&file=%2Fbase%2Falloc%2Ftmpfs%2Fdynamic_runtimes%2Fpython27g%2Fd8396ee824abfb26%2Fpython27%2Fpython27_lib%2Fversions%2F1%2Fgoogle%2Fappengine%2F_internal%2Fdjango%2Ftemplate%2Floader.py&line=138&project=hamdaise) )
at .get_template ( [/base/alloc/tmpfs/dynamic_runtimes/python27g/d8396ee824abfb26/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader.py:157](https://console.cloud.google.com/debug?referrer=fromlog&file=%2Fbase%2Falloc%2Ftmpfs%2Fdynamic_runtimes%2Fpython27g%2Fd8396ee824abfb26%2Fpython27%2Fpython27_lib%2Fversions%2F1%2Fgoogle%2Fappengine%2F_internal%2Fdjango%2Ftemplate%2Floader.py&line=157&project=hamdaise) )
at ._load_internal_django ( [/base/alloc/tmpfs/dynamic_runtimes/python27g/d8396ee824abfb26/python27/python27_lib/versions/1/google/appengine/ext/webapp/template.py:163](https://console.cloud.google.com/debug?referrer=fromlog&file=%2Fbase%2Falloc%2Ftmpfs%2Fdynamic_runtimes%2Fpython27g%2Fd8396ee824abfb26%2Fpython27%2Fpython27_lib%2Fversions%2F1%2Fgoogle%2Fappengine%2Fext%2Fwebapp%2Ftemplate.py&line=163&project=hamdaise) )
at .render ( [/base/alloc/tmpfs/dynamic_runtimes/python27g/d8396ee824abfb26/python27/python27_lib/versions/1/google/appengine/ext/webapp/template.py:89](https://console.cloud.google.com/debug?referrer=fromlog&file=%2Fbase%2Falloc%2Ftmpfs%2Fdynamic_runtimes%2Fpython27g%2Fd8396ee824abfb26%2Fpython27%2Fpython27_lib%2Fversions%2F1%2Fgoogle%2Fappengine%2Fext%2Fwebapp%2Ftemplate.py&line=89&project=hamdaise) )
at .get ( [/base/data/home/apps/m~hamdaise/20230122t084820.449469972767650056/main.py:2086](https://console.cloud.google.com/debug?referrer=fromlog&file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fm~hamdaise%2F20230122t084820.449469972767650056%2Fmain.py&line=2086&project=hamdaise) )

and it should since that file was removed from the repository. The code in main.py has been changed from simple_login.html to login.html. Checking the results now. Here's what the browser message looked like:

image

The error is fixed and the app is deploying from the local repository directory!!!
image

from ham-radio-freedom.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.