Closed xmonader closed 4 years ago
verified
3BOTDEVEL:jsxtest:~: kosmos -p
** START DATA PROCESSOR FOR :system
Thu 19 11:44:32 BCDB.py - 74 - bcdb : BCDB INIT DONE:system
JSX> j.data.bcdb.instances
JSX> schema = """
2 @url = test.text.1
3 text = "my text" (S)
4 """
JSX> scm = j.data.schema.get_from_text(schema)
JSX> bcdb = j.data.bcdb.get("mytesting")
LOAD CONFIG BCDB
** START DATA PROCESSOR FOR :mytesting
JSX> model = bcdb.model_get(url=scm.url)
JSX> obj = model.new()
JSX> obj.save()
## test.text.1
ID: 1
- text : my text
JSX> bcdb.get_all()
[## test.text.1
ID: 1
- text : my text
]
JSX> j.data.bcdb.children
# dict BCDBS:
- system : bcdb:system
- mytesting : bcdb:mytesting
JSX> j.data.bcdb.instances
# dict BCDBS:
- system : bcdb:system
- mytesting : bcdb:mytesting
JSX> j.data.bcdb.destroy_all()
no server running need to start
++ '[' start == kill ']'
++ tmux -f /sandbox/cfg/.tmux.conf has-session -t main
no server running on /tmp/tmux-0/default
++ '[' 1 -eq 1 ']'
++ echo 'no server running need to start'
++ tmux -f /sandbox/cfg/.tmux.conf new -s main -d 'bash --rcfile /sandbox/bin/env_tmux_detach.sh'
++ '[' start '!=' start ']'
LOAD CONFIG BCDB
JSX> j.data.bcdb.instances
# dict:
3BOTDEVEL:jsxtest:~: kosmos -p "j.data.bcdb.instances" LOAD CONFIG BCDB ** START DATA PROCESSOR FOR :mytesting Thu 19 11:51:28 BCDB.py - 74 - bcdb : BCDB INIT DONE:mytesting
3BOTDEVEL:jsxtest:~: bcdb delete --all Are you sure you want to destroy all BCDB's [y/n]: y LOAD CONFIG BCDB no server running need to start ++ '[' start == kill ']' ++ tmux -f /sandbox/cfg/.tmux.conf has-session -t main no server running on /tmp/tmux-0/default ++ '[' 1 -eq 1 ']' ++ echo 'no server running need to start' ++ tmux -f /sandbox/cfg/.tmux.conf new -s main -d 'bash --rcfile /sandbox/bin/env_tmux_detach.sh' ++ '[' start '!=' start ']' Thu 19 11:51:37 Tmux.py - 58 - tmux : tmux server is running LOAD CONFIG BCDB
3BOTDEVEL:jsxtest:~: kosmos -p "j.data.bcdb.instances" LOAD CONFIG BCDB
- js version
3BOTDEVEL:jsxtest:~: cd /sandbox/code/github/threefoldtech/jumpscaleX_core/ 3BOTDEVEL:jsxtest:jumpscaleX_core: git log -1 commit 1070b94df67d42ce5bb7a5a21e23a8fe96122cef (HEAD -> development_fixes, origin/development_fixes) Merge: 55ca4c0 3e47a26 Author: Reem Khamis khamisr@codescalers.com Date: Wed Dec 18 16:57:31 2019 +0200
Merge branch 'development' into development_fixes
when you do reset, system meta isn't loaded by and urls like jumpscale.acl.2 isn't found.