threefoldtecharchive / jumpscaleX_core

Apache License 2.0
1 stars 6 forks source link

cannot debug properly in kosmos shell [development_bcdb_lite] #49

Closed despiegk closed 4 years ago

despiegk commented 5 years ago

image

do kosmos -p 'j.tutorials.baseclasses.configobjects.test()'

but j.shell() in the script

try to do autocompletion and go into some objects

despiegk commented 5 years ago

do on development_bcdb_lite

despiegk commented 5 years ago

image

despiegk commented 5 years ago

image

abom commented 5 years ago

Still trying to find a solution on how to run two prompt-toolkit apps, also, sometimes i cannot reproduce this issue. Can you give me the versions of python, prompt-toolkit and ptpython?

abom commented 5 years ago

Running multiple applications concurrently is not handled in prompt-toolkit or ptpython (see https://github.com/prompt-toolkit/python-prompt-toolkit/issues/956#issuecomment-529525953).

Debugging with other debuggers like e.g. pudb might help until we can solve this issue.

Can you give me the versions of python, prompt-toolkit and ptpython?

@despiegk

abom commented 4 years ago

Updated the docs with this known issue

https://github.com/threefoldtech/jumpscaleX_core/commit/571af66ea9d1cab65ca55483a2fd6f7af01e7726#diff-5b4eaa77374578866b8a6d876a05e1a6