question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RESULTS FROM: promnesia demo https://github.com/karlicoss/exobrain

See original GitHub issue

Look below the line of ###########… to see output from promnesia demo … I said β€œNew Issue” but got a lot of old stuff tacked on at the beginning. Dunno if I should erase it or not.

After more reading, ran β€œpromnesia serve” (somewhere you say to run β€œpromnesia server”, a typo I guess because serve works and server doesn’t). Did some stuff, including visiting the gwern site, and going around in circles hoping to see a green eye. Got this log, including complaints about the nonexistence of this file, which I can confirm: ls: cannot access β€˜/home/hal/.local/share/promnesia/promnesia.sqlite’: No such file or directory (Note I am very serious and will put a lot into making this work, being a beta tester, with both programming background and philosophical interests that see to be like yours. You can cut the bureaucracy and contact me at hal@panix.com

Serving on :13131… [INFO 2020-09-19 22:07:51,769 promnesia server.py:129] url: https://www.gwern.net/ [INFO 2020-09-19 22:07:51,770 promnesia server.py:132] normalised url: gwern.net Traceback (most recent call last): File β€œ/usr/lib/python3.7/wsgiref/handlers.py”, line 137, in run self.result = application(self.environ, self.start_response) File β€œfalcon/api.py”, line 274, in falcon.api.API.call File β€œfalcon/api.py”, line 269, in falcon.api.API.call File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 947, in call raise exception File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 918, in call self.call_function(input_parameters), context, request, response, **kwargs File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 840, in call_function return self.interface(**parameters) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 129, in call return __hug_internal_self.function(*args, **kwargs) File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 200, in visits where=lambda table, url: or( File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 134, in search_common engine, binder, table = get_stuff() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 120, in get_stuff db_path = get_db_path() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 97, in get_db_path assert db.exists(), db AssertionError: /home/hal/.local/share/promnesia/promnesia.sqlite 127.0.0.1 - - [19/Sep/2020 22:07:51] β€œPOST /visits HTTP/1.1” 500 59 [DEBUG 2020-09-19 22:08:35,337 promnesia server.py:252] [β€˜https://www.gwern.net/index’, β€˜https://www.gwern.net/About’, β€˜https://www.gwern.net/Links’, β€˜https://www.gwern.net/Changelog’, β€˜https://gwern.substack.com/’, β€˜https://www.reddit.com/r/gwern/’, β€˜https://www.patreon.com/gwern’, β€˜https://www.gwern.net/tags/Silk-Road’, β€˜https://www.gwern.net/tags/Bitcoin’, β€˜https://www.gwern.net/tags/experiments’, β€˜https://www.gwern.net/tags/DNB’, β€˜https://www.gwern.net/Spaced-repetition’, β€˜https://www.gwern.net/Faces’, β€˜https://www.gwern.net/tags/newsletter’, β€˜https://www.gwern.net/newsletter/2020/08’, β€˜https://www.gwern.net/Sidenotes’, β€˜https://www.gwern.net/newsletter/2020/07’, β€˜https://www.gwern.net/newsletter/2020/05#gpt-3’, β€˜https://www.gwern.net/newsletter/2020/06’, β€˜https://www.gwern.net/GPT-3’, β€˜https://www.gwern.net/Crops#hands’, β€˜https://www.gwern.net/Holy-wars’, β€˜https://www.gwern.net/newsletter/2020/05’, β€˜https://www.gwern.net/Faces#danbooru2019e621-256px-biggan’, β€˜https://www.gwern.net/Crops#danbooru2019-figures’, β€˜https://www.gwern.net/newsletter/2020/04’, β€˜https://www.gwern.net/GPT-2-music#generating-midi-with-10k30k-context-windows’, β€˜https://www.gwern.net/#most-popular’, β€˜https://www.gwern.net/Silk-Road’, β€˜https://www.gwern.net/DNM-archives’, β€˜https://www.gwern.net/DNM-arrests’, β€˜https://www.gwern.net/Modafinil’, β€˜https://www.gwern.net/LSD-microdosing’, β€˜https://www.gwern.net/Zeo’, β€˜https://www.gwern.net/DNB-FAQ’, β€˜https://www.gwern.net/Death-Note-Anonymity’, β€˜https://www.gwern.net/Complement’, β€˜https://www.gwern.net/Google-shutdowns’, β€˜https://www.gwern.net/Ads’, β€˜https://www.thiswaifudoesnotexist.net/’, β€˜https://www.gwern.net/TWDNE’, β€˜https://www.gwern.net/Tanks’, β€˜https://www.gwern.net/Self-decrypting-files’, β€˜https://www.gwern.net/Archiving-URLs’, β€˜https://www.gwern.net/Terrorism-is-not-about-Terror’, β€˜https://www.gwern.net/The-Melancholy-of-Subculture-Society’, β€˜https://www.gwern.net/#notable’, β€˜https://www.gwern.net/Causality’, β€˜https://www.gwern.net/Embryo-selection’, β€˜https://www.gwern.net/Mail-delivery’, β€˜https://www.gwern.net/Tool-AI’, β€˜https://www.gwern.net/Complexity-vs-AI’, β€˜https://www.gwern.net/Death-Note-script’, β€˜https://www.gwern.net/The-Existential-Risk-of-Mathematical-Error’, β€˜https://www.gwern.net/Iodine’, β€˜https://www.gwern.net/The-Melancholy-of-Kyon’, β€˜https://www.gwern.net/In-Defense-Of-Inclusionism’, β€˜https://www.gwern.net/Bitcoin-is-Worse-is-Better’, β€˜https://www.gwern.net/Sunk-cost’, β€˜https://www.gwern.net/#statistics’, β€˜https://www.gwern.net/Prediction-markets’, β€˜https://www.gwern.net/Research-criticism’, β€˜https://www.gwern.net/2012-election-predictions’, β€˜https://www.gwern.net/Candy-Japan’, β€˜https://www.gwern.net/Resorter’, β€˜https://www.gwern.net/Google-Alerts’, β€˜https://www.gwern.net/Order-statistics’, β€˜https://www.gwern.net/Everything’, β€˜https://www.gwern.net/docs/statistics/order/beanmachine-multistage/index.html’, β€˜https://www.gwern.net/Milk’, β€˜https://www.gwern.net/Hunter’, β€˜https://www.gwern.net/hpmor#analysis’, β€˜https://www.gwern.net/GoodReads’, β€˜https://www.gwern.net/EA-donations’, β€˜https://www.gwern.net/Statistical-notes’, β€˜https://www.gwern.net/#cryptobitcoin’, β€˜https://www.gwern.net/DNM-survival’, β€˜https://www.gwern.net/Timestamping’, β€˜https://www.gwern.net/#ai’, β€˜https://www.gwern.net/Danbooru2019’, β€˜https://www.gwern.net/Crops#danbooru2019-portraits’, β€˜https://www.gwern.net/Coin-flip’, β€˜https://www.gwern.net/Backstop’, β€˜https://www.gwern.net/RNN-metadata’, β€˜https://www.gwern.net/GPT-2’, β€˜https://www.gwern.net/GPT-2-music’, β€˜https://www.gwern.net/GPT-2-preference-learning’, β€˜https://www.gwern.net/Hyperbolic-Time-Chamber’, β€˜https://www.gwern.net/#cs’, β€˜https://www.gwern.net/haskell/Summer-of-Code’, β€˜https://www.gwern.net/The-3-Grenades’, β€˜https://www.gwern.net/Turing-complete’, β€˜https://www.gwern.net/haskell/Archiving-GitHub’, β€˜https://www.gwern.net/Simulation-inferences’, β€˜https://www.gwern.net/Choosing-Software’, β€˜https://www.gwern.net/haskell/Run-Length-Encoding’, β€˜https://www.gwern.net/haskell/Wikipedia-Archive-Bot’, β€˜https://www.gwern.net/haskell/Wikipedia-RSS-Archive-Bot’, β€˜https://www.gwern.net/Resilient-Haskell-Software’, β€˜https://www.gwern.net/Evolutionary-Licenses’, β€˜https://www.gwern.net/sicp/Introduction’, β€˜https://www.gwern.net/sicp/Chapter-1.1’, β€˜https://www.gwern.net/sicp/Chapter-1.2’, β€˜https://www.gwern.net/sicp/Chapter-1.3’, β€˜https://www.gwern.net/WiFi’, β€˜https://www.gwern.net/AB-testing’, β€˜https://www.gwern.net/#psychology’, β€˜https://www.gwern.net/DNB-meta-analysis’, β€˜https://www.gwern.net/Catnip’, β€˜https://www.gwern.net/Catnip-survey’, β€˜https://www.gwern.net/SMPY’, β€˜https://www.gwern.net/Conscientiousness-and-online-education’, β€˜https://www.gwern.net/Bakewell’, β€˜https://www.gwern.net/Clone’, β€˜https://www.gwern.net/Questions’, β€˜https://www.gwern.net/Morning-writing’, β€˜https://www.gwern.net/Cat-Sense’, β€˜https://www.gwern.net/Replication’, β€˜https://www.gwern.net/Hydrocephalus’, β€˜https://www.gwern.net/Socks’, β€˜https://www.gwern.net/#qs’, β€˜https://www.gwern.net/Melatonin’, β€˜https://www.gwern.net/zeo/Caffeine’, β€˜https://www.gwern.net/zeo/Potassium’, β€˜https://www.gwern.net/zeo/Redshift’, β€˜https://www.gwern.net/zeo/Vitamin-D’, β€˜https://www.gwern.net/zeo/ZMA’, β€˜https://www.gwern.net/Wooden-pillows’, β€˜https://www.gwern.net/Lunar-sleep’, β€˜https://www.gwern.net/Nootropics’, β€˜https://www.gwern.net/Creatine’, β€˜https://www.gwern.net/Lithium’, β€˜https://www.gwern.net/2014-spirulina’, β€˜https://www.gwern.net/Melon’, β€˜https://www.gwern.net/Lewis-meditation’, β€˜https://www.gwern.net/Weather’, β€˜https://www.gwern.net/Treadmill’, β€˜https://www.gwern.net/Bacopa’, β€˜https://www.gwern.net/#practical’, β€˜https://www.gwern.net/Drug-heuristics’, β€˜https://www.gwern.net/Search’, β€˜https://www.gwern.net/Timing’, β€˜https://www.gwern.net/Red’, β€˜https://www.gwern.net/Improvements’, β€˜https://www.gwern.net/Girl-Scouts-and-good-governance’, β€˜https://www.gwern.net/plastination’, β€˜https://www.gwern.net/Charity-is-not-about-helping’, β€˜https://www.gwern.net/Console-Insurance’, β€˜https://www.gwern.net/#politics’, β€˜https://www.gwern.net/Terrorism-is-not-Effective’, β€˜https://www.gwern.net/Slowing-Moores-Law’, β€˜https://www.gwern.net/Littlewood’, β€˜https://www.gwern.net/Colder-Wars’, β€˜https://www.gwern.net/#philosophy’, β€˜https://www.gwern.net/Language’, β€˜https://www.gwern.net/Culture-is-not-about-Esthetics’, β€˜https://www.gwern.net/The-Narrowing-Circle’, β€˜https://www.gwern.net/Modus’, β€˜https://www.gwern.net/Newton’, β€˜https://www.gwern.net/Subscripts’, β€˜https://www.gwern.net/Ontological-pantheism’, β€˜https://www.gwern.net/An-Abortion-Dialogue’, β€˜https://www.gwern.net/On-Disrespect’, β€˜https://www.gwern.net/Justifications’, β€˜https://www.gwern.net/Against-The-Miletians’, β€˜https://www.gwern.net/Copyright’, β€˜https://www.gwern.net/Immoral-Books’, β€˜https://www.gwern.net/Isomorphisms’, β€˜https://www.gwern.net/#fiction’, β€˜https://www.gwern.net/fiction/The-Erl-King’, β€˜https://www.gwern.net/fiction/The-Ones-Who-Walk-Towards-Acre’, β€˜https://www.gwern.net/fiction/Missing-Cities’, β€˜https://www.gwern.net/fiction/Men-of-Iron’, β€˜https://www.gwern.net/fiction/Menard’, β€˜https://www.gwern.net/fiction/How-the-Panther-got-Black’, β€˜https://www.gwern.net/fiction/The-Palace-of-Wonders’, β€˜https://www.gwern.net/fiction/Batman’, β€˜https://www.gwern.net/fiction/Cloud-Nine’, β€˜https://www.gwern.net/fiction/The-Last-Muezzin’, β€˜https://www.gwern.net/fiction/Dinosaur-Comics’, β€˜https://www.gwern.net/fiction/The-Buddhas-Wheel’, β€˜https://www.gwern.net/fiction/Poems’, β€˜https://www.gwern.net/fiction/Brave-poem’, β€˜https://www.gwern.net/fiction/Dying-Outside’, β€˜https://www.gwern.net/fiction/Genshiken’, β€˜https://www.gwern.net/fiction/Safecracker’, β€˜https://www.gwern.net/fiction/Hybrid-Rainbow’, β€˜https://www.gwern.net/#literary-criticism’, β€˜https://www.gwern.net/Story-Of-Your-Life’, β€˜https://www.gwern.net/Dune-genetics’, β€˜https://www.gwern.net/Suzanne-Delage’, β€˜https://www.gwern.net/Scanners’, β€˜https://www.gwern.net/fiction/The-Mulberry-Tree’, β€˜https://www.gwern.net/fiction/The-Snowbanks-of-Time’, β€˜https://www.gwern.net/#anime’, β€˜https://www.gwern.net/Death-Note-Ending’, β€˜https://www.gwern.net/MLP’, β€˜https://www.gwern.net/Hafu’, β€˜https://www.gwern.net/Arias-past-present-and-future’, β€˜https://www.gwern.net/FMP-parody’, β€˜https://www.gwern.net/komm-susser-tod’, β€˜https://www.gwern.net/#docs’, β€˜https://www.gwern.net/docs/radiance/2002-scholz-radiance’, β€˜https://www.gwern.net/docs/xrisks/1985-hofstadter’, β€˜https://www.gwern.net/docs/sociology/1987-rossi’, β€˜https://www.gwern.net/docs/cs/1955-nash’, β€˜https://www.gwern.net/docs/statistics/bayes/1994-falk’, β€˜https://www.gwern.net/docs/bitcoin/2008-nakamoto’, β€˜https://www.gwern.net/docs/bitcoin/2011-davis’, β€˜https://www.gwern.net/docs/japanese/2002-gibson’, β€˜https://www.gwern.net/docs/culture/2007-wolfe’, β€˜https://www.gwern.net/docs/culture/1983-wolfe-thecitadeloftheautarch-thejustman’, β€˜https://www.gwern.net/docs/culture/1963-asimov’, β€˜https://www.gwern.net/docs/sr/2013-power’, β€˜https://www.gwern.net/docs/bitcoin/2014-mccaleb’, β€˜https://www.gwern.net/docs/rotten.com/library/index.html’, β€˜https://www.gwern.net/docs/biology/2000-iapac-norvir/description.html’, β€˜https://www.reddit.com/r/gwern/comments/aapn1l/okcupid_blog_archives/’, β€˜https://www.gwern.net/docs/genetics/selection/www.mountimprobable.com/index.html’, β€˜https://www.gwern.net/docs/philo/2010-richardson-bythenumbers-vectors30’, β€˜https://www.gwern.net/Fulltext’, β€˜https://www.gwern.net/#anime-docs’, β€˜https://www.gwern.net/otaku’, β€˜https://www.gwern.net/docs/eva/2002-takeda-notenkimemoirs’, β€˜https://www.gwern.net/docs/eva/2010-crc’, β€˜https://www.gwern.net/docs/eva/1996-animerica-conscience-otaking’, β€˜https://www.gwern.net/docs/eva/2011-house’, β€˜https://www.gwern.net/docs/eva/1996-newtype-anno-interview’, β€˜https://www.gwern.net/docs/eva/1997-animeland-may-hideakianno-interview-english’, β€˜https://www.gwern.net/docs/eva/1997-animeland-may-hideakianno-interview-french’, β€˜https://www.gwern.net/docs/eva/2003-oshii-izubuchi’, β€˜https://www.gwern.net/docs/eva/2003-rahxephoncomplete-anno-izubuchi’, β€˜https://www.gwern.net/docs/eva/2004-okada’, β€˜https://www.gwern.net/docs/eva/2005-murakami’, β€˜https://www.gwern.net/docs/anime/1997-utena’, β€˜https://www.gwern.net/docs/eva/2005-little-boy’, β€˜https://www.gwern.net/docs/eva/2005-sawaragi’, β€˜https://www.gwern.net/docs/anime/2010-sarrazin’, β€˜https://www.gwern.net/#wikipedia’, β€˜https://www.gwern.net/Wikipedia-and-Dark-Side-Editing’, β€˜https://www.gwern.net/Wikipedia-and-Other-Wikis’, β€˜https://www.gwern.net/Wikipedia-and-YouTube’, β€˜https://www.gwern.net/Wikipedia-and-Knol’, β€˜https://www.gwern.net/Wikipedia-resume’, β€˜https://www.gwern.net/#personal’, β€˜https://www.gwern.net/Notes’, β€˜https://www.gwern.net/Epigrams’, β€˜https://www.gwern.net/Book-reviews’, β€˜https://www.gwern.net/Tea’, β€˜https://www.gwern.net/Blackmail’] Traceback (most recent call last): File β€œ/usr/lib/python3.7/wsgiref/handlers.py”, line 137, in run self.result = application(self.environ, self.start_response) File β€œfalcon/api.py”, line 274, in falcon.api.API.call File β€œfalcon/api.py”, line 269, in falcon.api.API.call File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 947, in call raise exception File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 918, in call self.call_function(input_parameters), context, request, response, **kwargs File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 840, in call_function return self.interface(**parameters) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 129, in call return __hug_internal_self._function(*args, **kwargs) File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 257, in visited engine, binder, table = get_stuff() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 120, in get_stuff db_path = get_db_path() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 97, in get_db_path assert db.exists(), db AssertionError: /home/hal/.local/share/promnesia/promnesia.sqlite 127.0.0.1 - - [19/Sep/2020 22:08:35] β€œPOST /visited HTTP/1.1” 500 59 [INFO 2020-09-19 22:08:54,471 promnesia server.py:129] url: https://github.com/karlicoss/promnesia#how-does-it-work [INFO 2020-09-19 22:08:54,472 promnesia server.py:132] normalised url: github.com/karlicoss/promnesia Traceback (most recent call last): File β€œ/usr/lib/python3.7/wsgiref/handlers.py”, line 137, in run self.result = application(self.environ, self.start_response) File β€œfalcon/api.py”, line 274, in falcon.api.API.call File β€œfalcon/api.py”, line 269, in falcon.api.API.call File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 947, in call raise exception File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 918, in call self.call_function(input_parameters), context, request, response, **kwargs File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 840, in call_function return self.interface(**parameters) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 129, in call return __hug_internal_self.function(*args, **kwargs) File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 200, in visits where=lambda table, url: or( File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 134, in search_common engine, binder, table = get_stuff() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 120, in get_stuff db_path = get_db_path() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 97, in get_db_path assert db.exists(), db AssertionError: /home/hal/.local/share/promnesia/promnesia.sqlite 127.0.0.1 - - [19/Sep/2020 22:08:54] β€œPOST /visits HTTP/1.1” 500 59 [INFO 2020-09-19 22:08:54,492 promnesia server.py:129] url: https://github.com/karlicoss/promnesia#how-does-it-work [INFO 2020-09-19 22:08:54,492 promnesia server.py:132] normalised url: github.com/karlicoss/promnesia Traceback (most recent call last): File β€œ/usr/lib/python3.7/wsgiref/handlers.py”, line 137, in run self.result = application(self.environ, self.start_response) File β€œfalcon/api.py”, line 274, in falcon.api.API.call File β€œfalcon/api.py”, line 269, in falcon.api.API.call File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 947, in call raise exception File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 918, in call self.call_function(input_parameters), context, request, response, **kwargs File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 840, in call_function return self.interface(**parameters) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 129, in call return __hug_internal_self.function(*args, **kwargs) File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 200, in visits where=lambda table, url: or( File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 134, in search_common engine, binder, table = get_stuff() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 120, in get_stuff db_path = get_db_path() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 97, in get_db_path assert db.exists(), db AssertionError: /home/hal/.local/share/promnesia/promnesia.sqlite 127.0.0.1 - - [19/Sep/2020 22:08:54] β€œPOST /visits HTTP/1.1” 500 59 [INFO 2020-09-19 22:08:56,261 promnesia server.py:129] url: https://www.gwern.net/ [INFO 2020-09-19 22:08:56,262 promnesia server.py:132] normalised url: gwern.net Traceback (most recent call last): File β€œ/usr/lib/python3.7/wsgiref/handlers.py”, line 137, in run self.result = application(self.environ, self.start_response) File β€œfalcon/api.py”, line 274, in falcon.api.API.call File β€œfalcon/api.py”, line 269, in falcon.api.API.call File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 947, in call raise exception File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 918, in call self.call_function(input_parameters), context, request, response, **kwargs File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 840, in call_function return self.interface(**parameters) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 129, in call return __hug_internal_self.function(*args, **kwargs) File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 200, in visits where=lambda table, url: or( File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 134, in search_common engine, binder, table = get_stuff() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 120, in get_stuff db_path = get_db_path() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 97, in get_db_path assert db.exists(), db AssertionError: /home/hal/.local/share/promnesia/promnesia.sqlite 127.0.0.1 - - [19/Sep/2020 22:08:56] β€œPOST /visits HTTP/1.1” 500 59 [INFO 2020-09-19 22:08:56,266 promnesia server.py:129] url: https://www.gwern.net/ [INFO 2020-09-19 22:08:56,266 promnesia server.py:132] normalised url: gwern.net Traceback (most recent call last): File β€œ/usr/lib/python3.7/wsgiref/handlers.py”, line 137, in run self.result = application(self.environ, self.start_response) File β€œfalcon/api.py”, line 274, in falcon.api.API.call File β€œfalcon/api.py”, line 269, in falcon.api.API.call File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 947, in call raise exception File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 918, in call self.call_function(input_parameters), context, request, response, **kwargs File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 840, in call_function return self.interface(**parameters) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 129, in call return __hug_internal_self.function(*args, **kwargs) File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 200, in visits where=lambda table, url: or( File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 134, in search_common engine, binder, table = get_stuff() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 120, in get_stuff db_path = get_db_path() File β€œ/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py”, line 97, in get_db_path assert db.exists(), db AssertionError: /home/hal/.local/share/promnesia/promnesia.sqlite 127.0.0.1 - - [19/Sep/2020 22:08:56] β€œPOST /visits HTTP/1.1” 500 59 #################################################################################### $ promnesia demo https://github.com/karlicoss/exobrain [INFO 2020-09-19 22:27:47,548 promnesia common.py:417] extracting via promnesia.sources.guess:index (β€˜https://github.com/karlicoss/exobrain’,) {} … … Cloning into β€˜/tmp/tmp9_odsg42promnesia/httpsgithub.comkarlicossexobrain’… remote: Enumerating objects: 239, done. remote: Counting objects: 100% (239/239), done. remote: Compressing objects: 100% (145/145), done. remote: Total 239 (delta 107), reused 210 (delta 79), pack-reused 0 Receiving objects: 100% (239/239), 115.19 KiB | 3.29 MiB/s, done. Resolving deltas: 100% (107/107), done. /home/hal/.local/lib/python3.7/site-packages/promnesia/common.py:95: UserWarning: You might want to install https://github.com/karlicoss/open-in-editor So you can jump you your text files straight from the browser β€˜β€™'.rstrip()) [DEBUG 2020-09-19 22:27:48,353 promnesia auto.py:271] ignoring /tmp/tmp9_odsg42promnesia/httpsgithub.comkarlicossexobrain/.git: default ignore rules [DEBUG 2020-09-19 22:27:48,424 promnesia auto.py:271] ignoring /tmp/tmp9_odsg42promnesia/httpsgithub.comkarlicossexobrain/.gitignore: default ignore rules [INFO 2020-09-19 22:27:48,633 promnesia common.py:443] extracting via promnesia.sources.guess:index (β€˜https://github.com/karlicoss/exobrain’,) {} …: got 432 visits [INFO 2020-09-19 22:27:48,717 promnesia dump.py:51] saved database to /tmp/tmp6egxbmr3/promnesia.sqlite [INFO 2020-09-19 22:27:48,718 promnesia server.py:305] Running server: [β€˜python3’, β€˜-m’, β€˜hug’, β€˜-p’, β€˜13131’, β€˜-f’, β€˜/home/hal/.local/lib/python3.7/site-packages/promnesia/server.py’]

/#######################################################################
.----``..-------..``.----. :/:::::--:---------:--::::://. .+::::----##/-/oo+:-##----::::// //::-------/oosoo-------::πŸ˜•/. ## ## ## ## ##### .-:------./++o/o-.------::- ``` ## ## ## ## ## ----.-./+o+:…----. .:///. ######## ## ## ## ``` ----.-::::::------ .-:::://. ## ## ## ## ## #### ://::--.``` -:``...-----... :--::::::-. ## ## ## ## ## ## πŸ˜•:::::::::-:- ````` .:::::-. ## ## #### ###### ``.--:::::::. .:::. ``…::. .:: EMBRACE THE APIs OF THE FUTURE ::- .:- -:: ::- VERSION 2.6.1 ::- -:: -::- -::- ########################################################################/

Copyright Β© 2016 Timothy Edmund Crosley Under the MIT License

Traceback (most recent call last): File β€œ/usr/lib/python3.7/runpy.py”, line 193, in _run_module_as_main β€œmain”, mod_spec) File β€œ/usr/lib/python3.7/runpy.py”, line 85, in _run_code exec(code, run_globals) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/main.py”, line 3, in <module> hug.development_runner.hug.interface.cli() File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 650, in call raise exception File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 646, in call result = self.output(self.interface(**pass_to_function), context) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/interface.py”, line 129, in call return __hug_internal_self._function(*args, **kwargs) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/development_runner.py”, line 92, in hug api_module, host, port, no_404_documentation, False if silent else not ran File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/development_runner.py”, line 42, in _start_api API(api_module).http.serve(host, port, no_404_documentation, show_intro) File β€œ/home/hal/.local/lib/python3.7/site-packages/hug/api.py”, line 282, in serve httpd = make_server(host, port, api) File β€œ/usr/lib/python3.7/wsgiref/simple_server.py”, line 153, in make_server server = server_class((host, port), handler_class) File β€œ/usr/lib/python3.7/socketserver.py”, line 452, in init self.server_bind() File β€œ/usr/lib/python3.7/wsgiref/simple_server.py”, line 50, in server_bind HTTPServer.server_bind(self) File β€œ/usr/lib/python3.7/http/server.py”, line 137, in server_bind socketserver.TCPServer.server_bind(self) File β€œ/usr/lib/python3.7/socketserver.py”, line 466, in server_bind self.socket.bind(self.server_address) OSError: [Errno 98] Address already in use

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
GTrunSeccommented, Sep 27, 2020

@jmerizia @HalMorris if you would like using nix(like docker but different) to build promnesia, please see https://github.com/GTrunSec/promnesia-nix (passing linux and macos). furthermore, (Archived) I will modify the system/promnesia/ that makes sure some users just cp the promnesia*.service to ~/.config/users/. able to deploy them.

[~/project/promnesia-nix] - [Sun Sep 27, 01:43]
└─[$] <git:(master)> ./result/bin/promnesia demo https://github.com/karlicoss/exobrain 
[INFO    2020-09-27 01:43:55,228 promnesia common.py:417] extracting via promnesia.sources.guess:index ('https://github.com/karlicoss/exobrain',) {} ... ...
Cloning into '/var/folders/y2/472wmyzd6312_qnn1f4ts4r40000gn/T/tmpc9lnoziypromnesia/httpsgithub.comkarlicossexobrain'...
remote: Enumerating objects: 239, done.
remote: Counting objects: 100% (239/239), done.
remote: Compressing objects: 100% (145/145), done.
remote: Total 239 (delta 107), reused 210 (delta 79), pack-reused 0
Receiving objects: 100% (239/239), 115.19 KiB | 1.28 MiB/s, done.
Resolving deltas: 100% (107/107), done.
/nix/store/i58sza13c2nksb7r2inss6skd4m3vnv0-python3.8-promnesia-0.11.20200605/lib/python3.8/site-packages/promnesia/common.py:69: UserWarning: No xdg-mime on your OS! If you're on OSX, perhaps you can help me! https://github.com/karlicoss/open-in-editor/issues/1
  warnings.warn("No xdg-mime on your OS! If you're on OSX, perhaps you can help me! https://github.com/karlicoss/open-in-editor/issues/1")
/nix/store/i58sza13c2nksb7r2inss6skd4m3vnv0-python3.8-promnesia-0.11.2
0reactions
HalMorriscommented, Feb 21, 2021

I gave up after a bit, but will try again, probably soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found