Open HalMorris opened 3 years ago
Some additional info. First, I'm running on Linux 20.10. Installed the extension on Chrome as well; couldn't find any sign that that was working. Also I'm not sure what to do with the information "Serving on 13131. When open localhost:13131 I get something like:
<div class="toolbar"><div class="devtools-separator"></div><input class="searchBox devtools-filterinput" placeholder="Filter JSON"></div><div class="panelContent">
|
-- | --
404 | "The API call you tried to make was not defined. Here's a definition of the API to help you get going :)"
documentation |
handlers |
/status |
POST |
usage | "\n Ideally, status will always respond, regardless the internal state of the backend?\n "
examples |
0 | "http://localhost/status"
outputs |
format | "JSON (Javascript Serialized Object Notation)"
content_type | "application/json; charset=utf-8"
GET |
usage | "\n Ideally, status will always respond, regardless the internal state of the backend?\n "
examples |
0 | "http://localhost/status"
outputs |
format | "JSON (Javascript Serialized Object Notation)"
content_type | "application/json; charset=utf-8"
/visits |
POST |
outputs |
format | "JSON (Javascript Serialized Object Notation)"
content_type | "application/json; charset=utf-8"
inputs |
url |
type | "Basic text / string value"
/search |
</div>
``` (Lots of formatting lost or mangled).
Finally I try promnesia demo and get:
$ promnesia demo
[INFO 2021-05-21 09:30:44 promnesia main.py:375] CLI args: Namespace(as='guess', config=None, dry=False, mode='demo', name='demo', overwrite=False, params=[], port='13131', sources=None)
[INFO 2021-05-21 09:30:44 promnesia extract.py:49] extracting via promnesia.sources.guess:index () {} ... ...
[ERROR 2021-05-21 09:30:44 promnesia extract.py:55] index() missing 1 required positional argument: 'path'
Traceback (most recent call last):
File "/home/hal/.local/lib/python3.8/site-packages/promnesia/extract.py", line 52, in extract_visits
vit: Results = extr()
File "/home/hal/.local/lib/python3.8/site-packages/promnesia/extract.py", line 43, in
/#######################################################################\
.----``..-------..``.----. :/:::::--:---------:--::::://. .+::::----##/-/oo+:-##----:::://
//::-------/oosoo-------::://. ## ## ## ## #####
.-:------./++o/o-.------::-``` ## ## ## ## ##
----.-./+o+:..----. .:///. ######## ## ## ## ```
----.-::::::------ .-:::://. ## ## ## ## ## #### ://::--.``` -:``...-----...
:--::::::-.
## ## ## ## ## ##
:/:::::::::-:- ``` .:::::-.` ## ## #### ######
.--:::::::. .:::. ``..::. .:: EMBRACE THE APIs OF THE FUTURE ::- .:- -::
::- VERSION 2.6.1
::- -::
-::-` -::-
########################################################################/
Copyright (C) 2016 Timothy Edmund Crosley Under the MIT License
Serving on :13131...
Did NEW install on UBUNTU 20.4 system (LTS. Previously using 20.10, and interim release)
RESULTS: No Error messages
ON LOCALHOST:13131 (I'm not sure what to expect but probably not this) { "404": "The API call you tried to make was not defined. Here's a definition of the API to help you get going :)", "documentation": { "handlers": { "/status": { "POST": { "usage": "\n Ideally, status will always respond, regardless the internal state of the backend?\n ", "examples": [ "http://localhost/status" ], "outputs": { "format": "JSON (Javascript Serialized Object Notation)", "content_type": "application/json; charset=utf-8" } }, "GET": { "usage": "\n Ideally, status will always respond, regardless the internal state of the backend?\n ", "examples": [ "http://localhost/status" ], "outputs": { "format": "JSON (Javascript Serialized Object Notation)", "content_type": "application/json; charset=utf-8" } } }, "/visits": { "POST": { "outputs": { "format": "JSON (Javascript Serialized Object Notation)", "content_type": "application/json; charset=utf-8" }, "inputs": { "url": { "type": "Basic text / string value" } } } }, "/search": { "POST": { "outputs": { "format": "JSON (Javascript Serialized Object Notation)", "content_type": "application/json; charset=utf-8" }, "inputs": { "url": { "type": "Basic text / string value" } } } }, "/search_around": { "POST": { "outputs": { "format": "JSON (Javascript Serialized Object Notation)", "content_type": "application/json; charset=utf-8" }, "inputs": { "timestamp": { "type": "A whole number" } } } }, "/visited": { "POST": { "outputs": { "format": "JSON (Javascript Serialized Object Notation)", "content_type": "application/json; charset=utf-8" }, "inputs": { "urls": { "type": "Basic text / string value" }, "client_version": { "type": "String", "default": "" } } } } } } }
LATEST (YOU MIGHT WANT TO KNOW BEFORE READING THIS). PROBLEMS OCCURRED ON UBUNTU 20.10, AN INTERIM RELEASE. ON MY 20.4 SYSTEM THINGS SEEMED TO GO BETTER.
I was puzzled by result of "promnesia demo https://github.com/karlicoss/exobrain"
On localhost:13131, I got a largish JSON structure which could also be viewed as "headers" yielding: (Maybe this is just part of setup and not supposed to look like anything?)
I went, as directed, to reddit.com, did ctrl/alt/E and got a reasonable looking sidebar.
I ran promnesia doctor config and got
Commented out references to "signal" and "doctor" says all OK.
Now, however, promnesia index yields:
################################################################################# The following concerns my attempt to install on a ubuntu 20.10 (non-LTS) laptop which failed I've installed the firefox app, and "addons and themes" shows it as installed, BUT IT IS NOT VISIBLE
I tried to make it work a while ago but gave up after a while, however now it is more important; I'm trying to do full-blown PKM along the lines of "Building a Second Brain" and using Roam, and this is a big missing piece, which I would highly recommend to the forum of the BASB cohort I'm taking (1000+ enrolled), so I'll
I think I've installed everything, but when I try: promnesia demo https://github.com/karlicoss/exobrain
I get, first "No module named "orgparse" "No module named magic"
Then after a lot of other output: