Replies: 11 comments 4 replies
-
Hi! Do you see any other messages in the shell aside from the "WARNING:app:404" one? That warning message wouldn't be causing the Internal Server Error issue that you're seeing. Also could you provide details about how you're running whoogle (i.e. what command you're using in the shell)? If you cloned the repo locally, you should be able to run "python3 -um app", but only after you've installed all dependencies via pip. Edit: If you installed via pip, are you just running |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. Yes, I only run one program or software at a time. I only use idle to run py files, or use cmd to run after using pip to install whoogle. I haven't found much relevant content about whoogle-search on the network. Few, pip to install whoogle-search, and then run whoogle-search -- host127.0.1 -- port5000; If I run the app folder, routes.py directly, I will prompt an error. I search, modify some function names, and then rerun them. Then they will be displayed in the page after I click the page search box: “Internal Server Error That is, there are no search results. Of course, if there is a detailed successful example for me to watch, such as a video or a picture, I think I will be very happy, and then I can solve the problem. I may need to read more tutorials, or find solutions to those problems, and then I estimate that I will have time to reply and research tomorrow |
Beta Was this translation helpful? Give feedback.
-
My God, you are the author himself. I am honored to chat with you,hhh |
Beta Was this translation helpful? Give feedback.
-
In this scenario, the host and port aren't required since they're the default values. So you should just be able to run As for running the repo locally, can you confirm that you performed the following steps: git clone https://github.com/benbusby/whoogle-search.git
cd whoogle-search
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
./run If so, can you try running the following command from the whoogle-search directory:
And then navigate to localhost:5000 in your browser. If you perform a search and see another error message, can you send the output from your terminal? These steps should help me narrow down what the problem could be. I'm unfortunately unable to reproduce the issue on my side, so I'm doing the best I can without having access to your actual machine.
I'm happy to be chatting with you! Thanks for trying out my project! |
Beta Was this translation helpful? Give feedback.
-
Ok, I'll try it out based on your comments ,and contact you if there's an update |
Beta Was this translation helpful? Give feedback.
-
hhh,I'm also happy to talk to you, in my eyes, engineers are great and amazing jobs, making the rules and making everything run according to the rules; now i go to try the new idea |
Beta Was this translation helpful? Give feedback.
-
Sorry to bother you again """As for running the repository locally, can you confirm that you performed the following steps: This line of code fails to run in cmd, prompt: I downloaded, "Anaconda3-2022.10-Windows-x86_64", and then conda got git, I think it may be that my computer is missing a lot of modules and causing the failure, tomorrow I will spend part of the time researching this problem, encounter problems that cannot be solved immediately, so that I can learn more new things I want to know how to build a web page with search function (like: whoogle-search), through Python, implement the specific process, now my idea is : |
Beta Was this translation helpful? Give feedback.
-
I apologize for the delayed reply, I got busy with contracting work and needed to focus on that for a bit. Did you run the other steps aside from the |
Beta Was this translation helpful? Give feedback.
-
Thank you for replying to me when you are busy, I followed the steps to run until "source venv/bin/activate"," source" does not exist, but I have pip downloaded, "pip install -r requirements.txt" can run, I am not in a hurry about this, now research this matter, it is more like a hobby of mine |
Beta Was this translation helpful? Give feedback.
-
Can you walk me through step by step and include the console output for each command? Once you've installed all dependencies, you should be able to run |
Beta Was this translation helpful? Give feedback.
-
Also, in the meantime, I'm going to convert this issue into a discussion since I think this is a configuration problem rather than a bug with Whoogle. |
Beta Was this translation helpful? Give feedback.
-
Pleace ,Can you help me,I'm a Python noob
When using pip deployment or running routes.py file, I set 127.0.0.1:5000, I can't see the search box after opening the web page, I can't see the input content, but when I click search, it prompts :
“Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.”
and python idle shell 3.10 show:
"WARNING:app:404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."
Beta Was this translation helpful? Give feedback.
All reactions