mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-26 12:45:48 +03:00
[GH-ISSUE #504] [BUG] <Internal Server Error> #323
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#323
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @drugal on GitHub (Oct 28, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/504
Describe the bug
search for "my ip" returns error 500
To Reproduce
Steps to reproduce the behavior:
Deployment Method
runexecutableVersion of Whoogle Search
Desktop (please complete the following information):
all
Smartphone (please complete the following information):
all
Additional context



@benbusby commented on GitHub (Oct 28, 2021):
You run whooglesearch.net right? If so, are you logging application errors somewhere? Seeing a traceback would be helpful, as I can't replicate on my end (both locally and with deployed instances).
@benbusby commented on GitHub (Oct 28, 2021):
@vacom13 FYI, looks like this is related to the "my ip" feature. Let me know if you have an idea of what could cause the error, otherwise I don't mind investigating further.
@drugal commented on GitHub (Oct 28, 2021):
hi @benbusby! this is what I get from the logs
@vacom13 commented on GitHub (Oct 28, 2021):
@benbusby this has been closed? Should I investigate more or not?
@drugal commented on GitHub (Oct 28, 2021):
I didn't want to do it. Sorry
@benbusby commented on GitHub (Oct 29, 2021):
@vacom13 looks like @drugal closed it by mistake. That error actually is kinda confusing -- the error from the log should only be shown if BeautifulSoup is passed a file object, which shouldn't be the case here. The
responsebody should only ever get passed as a string.@benbusby commented on GitHub (Oct 29, 2021):
I realized the problem. In the new feature where search terms are now made bold, the response was being reformed into a new bsoup object, which was causing this error. Converting the response to a string before creating the "my ip" card fixed the issue.
@vacom13 commented on GitHub (Oct 29, 2021):
Oh okay. Great!