Skip to content

Offline mode breaks if no run name provided #699

@wk9874

Description

@wk9874

IF no run name provided in offline mode, simvue breaks entirely. This is because name == None, and inside __init__ of RunObject:

Image

So since it doesnt upload to the server and get a randomly generated name back, name remains falsey, and so the __init__ function returns False before starting the run. This means functions further down have no running run to attach things to.

Need to change this to generate a random name similarly to the server if mode is offline and name = None

See https://github.com/simvue-io/integrations/issues/54

Metadata

Metadata

Assignees

Labels

ready for testingThis issue has been fixed and is ready for testing

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions