Skip to content

project: caught exception in a SageSession #5413

Open
@haraldschilly

Description

@haraldschilly

well, this is not #5412 … different project and a slightly different exception.

2021-07-09T17:09:37.196Z - ESC[34mdebugESC[39m: Got message back from Sage server: {"event":"session_description","pid":2163}
2021-07-09T17:09:37.196Z - ESC[34mdebugESC[39m: get_sage_socket: retry_until_success() -- success
2021-07-09T17:09:37.196Z - ESC[34mdebugESC[39m: SageSession(path='2021-07-09-174312.sagews').init_socket(): successfully opened a sage session
2021-07-09T17:09:37.196Z - ESC[34mdebugESC[39m: SageSession(path='2021-07-09-174312.sagews')._init_path(): undefined
2021-07-09T17:09:37.197Z - ESC[34mdebugESC[39m: SageSession(path='2021-07-09-174312.sagews').call: input='{"event":"execute_code","code":"os.chdir(salvus.data['path']);__file__=salvus.data['file']","data":{"path":"/home/user","file":"/home/user/2021-07-09-174312.sagews"},"pr
eparse":false}'
2021-07-09T17:09:37.197Z - ESC[34mdebugESC[39m: SageSession(path='2021-07-09-174312.sagews').init_socket(): codemirror session terminated
2021-07-09T17:09:37.198Z - ESC[34mdebugESC[39m: SageSession(path='2021-07-09-174312.sagews').call: generated new random uuid for input: 'd6ff0875-94fa-491d-ada2-117175bdbd3a' 
2021-07-09T17:09:37.198Z - ESC[34mdebugESC[39m: BUG ****************************************************************************
2021-07-09T17:09:37.199Z - ESC[34mdebugESC[39m: Uncaught exception: TypeError: Cannot read property 'write_mesg' of undefined
2021-07-09T17:09:37.208Z - ESC[34mdebugESC[39m: /cocalc/nvm/versions/node/v14.17.0/lib/node_modules/smc-project/dist/..sage_session.coffee:288
                        @_socket.write_mesg('json', opts.input)
                                 ^

TypeError: Cannot read property 'write_mesg' of undefined
    at async.series.opts.cb.opts.cb.done (/cocalc/nvm/versions/node/v14.17.0/lib/node_modules/smc-project/dist/sage_session.js:398:28)
        -> /cocalc/nvm/versions/node/v14.17.0/lib/node_modules/smc-project/dist/..sage_session.coffee:288:34
    at /cocalc/nvm/versions/node/v14.17.0/lib/node_modules/smc-project/node_modules/async/lib/async.js:718:13
    at Immediate.iterate (/cocalc/nvm/versions/node/v14.17.0/lib/node_modules/smc-project/node_modules/async/lib/async.js:262:13)
    at processImmediate (internal/timers.js:462:21)
2021-07-09T17:09:37.208Z - ESC[34mdebugESC[39m: BUG ****************************************************************************
/cocalc/nvm/versions/node/v14.17.0/lib/node_modules/smc-project/dist/..local_hub.coffee:38
        console.trace()
                ^

Trace
    at process.<anonymous> (/cocalc/nvm/versions/node/v14.17.0/lib/node_modules/smc-project/dist/local_hub.js:65:15)
        -> /cocalc/nvm/versions/node/v14.17.0/lib/node_modules/smc-project/dist/..local_hub.coffee:38:17
    at process.emit (events.js:376:20)
    at process._fatalException (internal/process/execution.js:163:25)
2021-07-09T17:09:38.555Z - ESC[34mdebugESC[39m: SyncTableChannel('sync:6574c316c7920da95751245f345fb406d6262734', '{"usage_info":[{"path":null,"project_id":"1ed37058-7032-4a48-9198-c8f001c09b70","usage":null}]}'):  send_versioned_changes_to_browsers
2021-07-09T17:09:38.555Z project:sync:usage-info:table handle_change Welcome to CoCalc.ipynb

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions