threefoldtecharchive / jumpscaleX_core

Apache License 2.0
1 stars 6 forks source link

calling process on threegit raises can not find obj with id:1 `jumpscale.alerthandler.alert` #425

Closed xmonader closed 4 years ago

xmonader commented 4 years ago
JSX> j.tools.threegit.zerobot__wiki_examples.process(reset=True)                                            
Tue 14 09:24:07 ta/bcdb/BCDBModel.py - 491 - get                                : EXCEPTION: 
    could not find obj with id:1 of jumpscale.alerthandler.alert
--TRACEBACK------------------
<stdin> in <module>
    1    
/sandbox/lib/jumpscale/Jumpscale/servers/threebot/ThreeBotServersFactory.py in local_start_explorer
    176    return self.start(background=background, packages=packages, reload=reload, with_shell=with_shell)
/sandbox/lib/jumpscale/Jumpscale/servers/threebot/ThreeBotServersFactory.py in start
    125    self.default.start(background=False, packages=packages, with_shell=with_shell)
/sandbox/lib/jumpscale/Jumpscale/servers/threebot/ThreebotServer.py in start
    311    j.shell()  # for now removed otherwise debug does not work
/sandbox/lib/jumpscale/Jumpscale/__init__.py in shell
    182    embed(globals_, locals_, configure=ptconfig, history_filename=history_filename)
/usr/local/lib/python3.6/dist-packages/ptpython/repl.py in embed
    344    repl.run()
/usr/local/lib/python3.6/dist-packages/ptpython/repl.py in run
    73    self._process_text(text)
/usr/local/lib/python3.6/dist-packages/ptpython/repl.py in _process_text
    88    self._handle_exception(e)
/sandbox/lib/jumpscale/Jumpscale/core/KosmosShell.py in patched_handle_exception
    217    logdict = j.core.tools.log(tb=last_stdin_tb, level=50, exception=e, stdout=False)
/sandbox/lib/jumpscale/Jumpscale/core/InstallTools.py in log
    1138    return Tools.process_logdict_for_handlers(logdict, iserror)
/sandbox/lib/jumpscale/Jumpscale/core/InstallTools.py in process_logdict_for_handlers
    1153    handler(logdict)
/sandbox/lib/jumpscale/Jumpscale/tools/alerthandler/AlertHandler.py in handle
    129    original_alert = self.get_original(alert)
/sandbox/lib/jumpscale/Jumpscale/tools/alerthandler/AlertHandler.py in get_original
    106    res = self.model.find(identifier=alert.identifier)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in find
    629    res.append(self.get(id))
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBDecorator.py in wrapper_queue_method
    63    res = func(*args, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in get
    491    raise j.exceptions.NotFound(f"could not find obj with id:{obj_id} of {self.schema.url}")
-----------------------------

None
JSX>  
xmonader commented 4 years ago

seems to be fixed

Dina-Abd-Elrahman commented 4 years ago