Make sure promnesia works under Windows
See original GitHub issueWindows 10 with Python 3.7.6.
When I run promnesia demo --port 16789 https://github.com/karlicoss/exobrain
I get error:
c:\anaconda\lib\site-packages\promnesia\kython\klogging2.py:27: UserWarning: You might want to install 'logzero' for nice colored logs!
warnings.warn("You might want to install 'logzero' for nice colored logs!")
[INFO 2020-05-18 20:49:57,102 promnesia common.py:329] extracting via promnesia.sources.guess:index ('https://github.com/karlicoss/exobrain',) {} ... ...
[INFO 2020-05-18 20:49:57,102 promnesia common.py:329] extracting via promnesia.sources.guess:index ('https://github.com/karlicoss/exobrain',) {} ... ...
Traceback (most recent call last):
File "c:\anaconda\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\anaconda\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\anaconda\Scripts\promnesia.exe\__main__.py", line 7, in <module>
File "c:\anaconda\lib\site-packages\promnesia\__main__.py", line 173, in main
do_demo(index_as=getattr(args, 'as'), params=args.params, port=args.port, config_file=args.config)
File "c:\anaconda\lib\site-packages\promnesia\__main__.py", line 110, in do_demo
errors = _do_index()
File "c:\anaconda\lib\site-packages\promnesia\__main__.py", line 49, in _do_index
hist, errors = previsits_to_history(ex, src=ex.src)
File "c:\anaconda\lib\site-packages\promnesia\common.py", line 333, in previsits_to_history
previsits = list(extr()) # TODO DEFENSIVE HERE!!!
File "c:\anaconda\lib\site-packages\promnesia\sources\guess.py", line 33, in index
yield from index_(path, *args, **kwargs)
File "c:\anaconda\lib\site-packages\promnesia\sources\vcs.py", line 15, in index
check_call(['git', 'clone', repo, tp])
File "c:\anaconda\lib\subprocess.py", line 358, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\anaconda\lib\subprocess.py", line 339, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\anaconda\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "c:\anaconda\lib\subprocess.py", line 1148, in _execute_child
args = list2cmdline(args)
File "c:\anaconda\lib\subprocess.py", line 555, in list2cmdline
needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: argument of type 'WindowsPath' is not iterable
So how can I run this program on Windows?
Issue Analytics
- State:
- Created 3 years ago
- Comments:23 (15 by maintainers)
Top Results From Across the Web
Promnesia - beepb00p
Promnesia is a browser extension (Chrome/Firefox/Firefox mobile) that serves as a web surfing copilot by enhancing your browsing history, improving your web ...
Read more >[[promnesia]] - anagora.org
exclude Json (not sure how?) first go through some data sources and see how well it's gonna work. start with 'static' version. datetime:...
Read more >A Topic Manager for Chrome and emacs - Reddit
BrainTool focuses on enabling and simplifying the active curation of your information space, Promnesia seems to be passively recording and ...
Read more >Show HN: Web browser to help programmers think clearly
I like the floating window concept - can definitely see how that would be useful for having documentation front and centre while working...
Read more >Promnesia (Gimmicks and Online Instructions) - Murphy's Magic
Promnesia is a power house packet effect from the mind of Graeme David Fishwick. Promnesia has multiple changes and multiple moment of visual...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a (fairly) fresh Windows install and had no issues with Promnesia this go around! Right in Windows, not via WSL.
pip3 install --user promnesia
promnesia demo https://github.com/karlicoss/exobrain
seemed to run finepromnesia config create
, added a local folder with .md files,promnesia index
promnesia serve
Seems good 👍
So, is the WSL version working properly?
Update: It does! Strangely, there’s some path issues so have to use
python3 -m promnesia
vspromnesia
.