In this howto I’ll try to document my experience getting Promnesia from zero to fully up and running and integrated with my [[personal knowledge management]] system and the [[agora]].
From [[go/promnesia/git]], which I will be following in this procedure:
"[[Promnesia]] is a [[browser extension]] for Chrome and Firefox which serves as a web surfing copilot, enhancing your browsing history and web exploration experience"
I would myself qualify this a bit and say that Promnesia is a tool with several legs, one of which is the browser extension; to get the full benefits, you also need to install a local process in your machine (a "backend"). In any case, let’s begin:
pip3 install --user promnesia bs4 lxml mistletoe logzero
. If pip3 is not found, please refer to [[pip]] to install it.promnesia config
to seed a config in .config/promnesia/config.py
promnesia index
. I run mine every 10 minutes.crontab -e
and add the following*/10 * * * * ~/.local/bin/promnesia index >/tmp/promnesia-index-stdout.log 2>/tmp/promnesia-index-stderr.log
promnesia serve
promnesia index
).promnesia install-server
promnesia install-server
to set up systemctl!pip3 install --user promnesia
suffices?AssertionError: /home/flancian/.local/share/promnesia/promnesia.sqlite
auto
and guess
in the config does sound like a good idea (as per the comment in the [[promnesia config]]).promnesia index
mostly works, yields 8601 visits but 7 errors:[ERROR 2021-04-30 14:14:26 promnesia __main__.py:101] 'RuntimeError' object has no attribute 'norm_url'
[ERROR 2021-04-30 14:14:26 promnesia __main__.py:101] 'RuntimeError' object has no attribute 'norm_url'
[ERROR 2021-04-30 14:14:26 promnesia __main__.py:101] 'RuntimeError' object has no attribute 'norm_url'
[ERROR 2021-04-30 14:14:26 promnesia __main__.py:101] 'RuntimeError' object has no attribute 'norm_url'
[ERROR 2021-04-30 14:14:26 promnesia __main__.py:101] 'RuntimeError' object has no attribute 'norm_url'
[ERROR 2021-04-30 14:14:26 promnesia __main__.py:101] 'RuntimeError' object has no attribute 'norm_url'
[ERROR 2021-04-30 14:14:26 promnesia __main__.py:101] 'RuntimeError' object has no attribute 'norm_url'
[ERROR 2021-04-30 14:14:26 promnesia __main__.py:102] 7 errors, exit code 1
Unsure how to debug further except going in and adding more logging in __main__.py
.
Rendering context...