Hi guys,
since the last update, Whoogle doesn’t work anymore. I used to make it work by using the command
sudo chown whoogle:whoogle /opt/whoogle-search/ -R
sudo systemctl restart whoogle.service
But now I have the localhost:5000 error again.
When using systemctl status whoogle
, I’ve got that :
elphaco@elphaco in ~ took 1s
[🧱] × systemctl status whoogle
● whoogle.service - Whoogle
Loaded: loaded (/usr/lib/systemd/system/whoogle.service; disabled; preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2025-01-05 16:34:41 CET; 828ms ago
Invocation: 1edfebce68554db38e9bb7e494b9d855
Process: 99364 ExecStart=/opt/whoogle-search/venv/bin/python -um app --host $BIND_ADDRESS --port $LISTEN_PORT (code=exited, status=>
Main PID: 99364 (code=exited, status=1/FAILURE)
Mem peak: 13.6M
CPU: 66ms
Could someone explain me how to have my Whoogle back ?
Thanks and happy new year to the Garuda community !
SGS
5 January 2025 15:51
2
Check github, it is a known problem, we have just to wait.
Ah ok, thanks, I missed this info, hope it will be fixed asap !
By the way, is there a solution for definitely use whoogle without running the sudo
> chown whoogle:whoogle /opt/whoogle-search/ -R
> sudo systemctl restart whoogle.service
each time I boot on Garuda ?
SGS
5 January 2025 15:59
4
sudo systemctl daemon-reload
sudo systemctl enable --now whoogle
sudo chown -R whoogle:whoogle /opt/whoogle-search/
systemctl status whoogle
Once is enough
Just check status, if the fix was made.
BTW,
4 Likes
Ok, thanks, I’ll try this when Whoogle is fixed.
And sorry for the double issue post, thought they were related enough not to open a second topic.
Here is the issue:
opened 09:50AM - 25 Dec 24 UTC
bug
**Describe the bug**
Python 3.13 has arrived in Arch repositories, and seemingl… y it broke Whoogle. There is a loop of the following logs after building it:
~~~
Dec 25 09:38:07 dragons-ryzen whoogle[37663]: ModuleNotFoundError: No module named 'cgi'
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: Traceback (most recent call last):
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/venv/lib/python3.13/site-packages/cssutils/util.py", line 16, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: from ._fetchgae import _defaultFetcher
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/venv/lib/python3.13/site-packages/cssutils/_fetchgae.py", line 5, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: from google.appengine.api import urlfetch
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: ModuleNotFoundError: No module named 'google'
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: During handling of the above exception, another exception occurred:
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: Traceback (most recent call last):
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "<frozen runpy>", line 189, in _run_module_as_main
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "<frozen runpy>", line 148, in _get_module_details
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "<frozen runpy>", line 112, in _get_module_details
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/app/__init__.py", line 1, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: from app.filter import clean_query
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/app/filter.py", line 1, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: import cssutils
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/venv/lib/python3.13/site-packages/cssutils/__init__.py", line 80, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: from . import css
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/venv/lib/python3.13/site-packages/cssutils/css/__init__.py", line 60, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: from .cssstylesheet import CSSStyleSheet
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/venv/lib/python3.13/site-packages/cssutils/css/cssstylesheet.py", line 13, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: from cssutils.util import _Namespaces, _readUrl
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/venv/lib/python3.13/site-packages/cssutils/util.py", line 18, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: from ._fetch import _defaultFetcher
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/venv/lib/python3.13/site-packages/cssutils/_fetch.py", line 12, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: import encutils
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: File "/opt/whoogle-search/venv/lib/python3.13/site-packages/encutils/__init__.py", line 55, in <module>
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: import cgi
Dec 25 09:38:10 dragons-ryzen whoogle[37665]: ModuleNotFoundError: No module named 'cgi'
~~~
**To Reproduce**
Steps to reproduce the behavior:
1. Use either method to obtain a fully updated Arch system (e.g. Docker or Distrobox)
2. Build the app as outlined (I used the [AUR PKGBUILD](https://aur.archlinux.org/packages/whoogle-git)
3. Start the app
**Deployment Method**
- [ ] Heroku (one-click deploy)
- [ ] Docker
- [ ] `run` executable
- [ ] pip/pipx
- [x] Other: Archlinux + PKGBUILD linked above (which uses the Systemd method of the README)
**Version of Whoogle Search**
- [x] Latest build from [source] latest master branch commit via
- [ ] Version [version number]
- [ ] Not sure
**Desktop (please complete the following information):**
- OS: Archlinux
**Other information**
From a quick search, it looks like `cgi` no longer exists in Python 3.13?
https://github.com/rpetit3/fastq-dl/issues/34
https://github.com/cherrypy/cherrypy/issues/2014#issue-2067137907
There is a workaround suggested at the bottom if you want to try building it yourself and see how it goes. Or you can just disable the service for now and use Garuda’s public Whoogle instance: https://search.garudalinux.org/
6 Likes
system
Closed
7 January 2025 16:44
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.