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.

Improve setup process

See original GitHub issue

I just discovered this project depends in a way of another projects created by you: HPI and kython.

So, I’m doing a test and I replaced the config.py.example to the config found on: https://github.com/karlicoss/promnesia/blob/master/doc/config.py

So I got this:

klaudioz@wsb-server:~/promnesia$ ./scripts/promnesia demo --port 13131 --config config.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/klaudioz/promnesia/src/promnesia/__main__.py", line 180, in <module>
    main()
  File "/home/klaudioz/promnesia/src/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 "/home/klaudioz/promnesia/src/promnesia/__main__.py", line 100, in do_demo
    config.load_from(config_file)
  File "/home/klaudioz/promnesia/src/promnesia/config.py", line 56, in load_from
    instance = import_config(config_file)
  File "/home/klaudioz/promnesia/src/promnesia/config.py", line 72, in import_config
    spec.loader.exec_module(mod) # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "config.py", line 26, in <module>
    from promnesia.sources import takeout, instapaper, pocket, fbmessenger, twitter, roamresearch, hypothesis
  File "/home/klaudioz/promnesia/src/promnesia/sources/takeout.py", line 10, in <module>
    from my.kython.kompress import kexists, kopen
ModuleNotFoundError: No module named 'my.kython'; 'my' is not a package

After that I realized the existence of kython. I cloned the repository, I run: pip install -r requirements.txt but I don’t know what else to do to make work promnesia with this config file.

Obviously I’m interested to use promnesia but with its maximum power, integrating it with the most of platforms I use.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
karlicosscommented, May 26, 2020

btw, added more docs for HPI, which will hopefully make Promnesia setup clearer as well!: “Data flow”

1reaction
Klaudiozcommented, May 21, 2020

I’ll try it again from zero this weekend. Thanks for you help

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setup Reduction | Lean Six Sigma Tools & Techniques
Setup Reduction. Setup Reduction is a technique useful for level load balancing, a key strategy for lean deployment. Setup Time is defined as...
Read more >
Setup Time Reduction - The Quick Change Over
Setup Time Reduction is one area where you can gain time in your day by reducing the waste of the time to setup...
Read more >
Setup Reduction - Lean Enterprise Institute
The process of reducing the amount of time needed to changeover a process from the last part for the previous product to the...
Read more >
Setup Reduction - PresentationEZE
Essentially, a quality improvement team will need to be actively involved in re-shaping the set-up and changeover process. Examine each of the “internal”...
Read more >
Improving Setup Times with Industry 4.0 - LinkedIn
There are many approaches to reducing the amount of setup time required. Setup reduction techniques such as “SMED” (Single-Minute Exchange of ...
Read more >

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