orange-web | Orange Data Mining Homepage | Data Mining library
kandi X-RAY | orange-web Summary
kandi X-RAY | orange-web Summary
Orange Data Mining Homepage
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of orange-web
orange-web Key Features
orange-web Examples and Code Snippets
Community Discussions
Trending Discussions on orange-web
QUESTION
I'm super new to web development, but not new to programming as a whole. I'm extremely confused by this application which I was pulled into fixing because the person who normally does it can't anymore.
This may be a silly question, but I can't find the code or any HTML that contains the actual web pages. In the main folder, ~/myapp
, there contains:
ANSWER
Answered 2021-Mar-17 at 02:32Note: This might not be a complete answer, but it might be a starting place for one.
Possibly in answer to your first question, and based on the comments from earlier, this project looks to me like it might be a Flask web application. Flask is a Python microframework that can be used to build simple or complex web applications. I'm guessing this based on the following observations:
- The
passenger_wsgi.py
file - The observation of the files ending in
.py
made by brombeer in the comments - The item at the bottom of your application structure list called
myapp_flask
As far as the passenger_wsgi.py
file, Passenger is a web application server used to run web applications written in things like Python, Ruby, or Node.js.
As far as brombeer's observation about the file extensions, files that end in .py
are typically Python files.
As far as that myapp_flask
item, if there are contents inside this file or folder, I wonder if it might contain the main web application code. Would it be possible to check that file or folder to see if it contains application code? Warning: It might contain sensitive data (e.g., passwords, secrets, or keys), so I don't know if it should be posted in your original post above.
So, I guess I touched on your second main question in that earlier response: you might be able to find the main web application code in the myapp_flask
item. If nothing is there, however, you might be able to determine where the main application code is by looking at the contents of your passenger_wsgi.py
.
In this example passenger_wsgi.py
file in the Passenger documentation, it shows how an example (Django, in that case) application might be referred to in this type of file. If you open your passenger_wsgi.py
in a text editor, it might a show a reference to the main application code on a line that contains the term application =
(or something similar), like in the earlier example. Maybe this could help you know what the name of the application might be.
Then, you could possibly use grep
to search for the application name in your file structure, if grep
is available on your system. Maybe using a search command like: grep -r 'application-name' *
. That might give you more clues as to where the main application code is located.
As far as the additional note about your ImportError: cannot import name _remove_dead_weakref
error, I don't know if it's similar to this other question from the past. I would recommend caution, however, before changing up your Python 2 related setup based on answers in that other question thread, unless you are alright with whatever might happen along the way. I haven't tried out the answers myself from that thread.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install orange-web
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page