ecmwf / ecflow

ECMWF's workflow manager
Apache License 2.0
39 stars 15 forks source link

ecflow_ui problem #6

Closed 19950813 closed 3 years ago

19950813 commented 3 years ago

I installed ecflow using the conda command on the mac system, but I am using ecflow _ui, the process will die, the pop-up interface also always shows loading, after forcibly closing, it will report an error prompt "Error, unable to parse JSON session file : /Users/lijinxiong/.ecflow_ui_v5/default.session/session.json: cannot open file Terminated: 15"

iainrussell commented 3 years ago

Hello @19950813 , I wonder if something corrupted your settings file? I suggest you do something like: mv /Users/lijinxiong/.ecflow_ui_v5 /Users/lijinxiong/.xxecflow_ui_v5 and try again. Best regards, Iain

19950813 commented 3 years ago

Teacher, I just tested the method you provided, but the effect is not ideal. Below I will post a detailed startup log:


ecflow_ui: EXIT on ERROR (line 398), exit status 143, starting 'cleanup'
Last 50 lines of log file:
DBG: [09:17:36 26.8] ServerList::readRcFile -->
DBG: [09:17:36 26.8]  Read servers from ecflowview rcfile: /Users/lijinxiong/.ecflowrc/servers
DBG: [09:17:36 26.8] ServerList::syncSystemFile -->
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: attribute
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: icon
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: menu
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: notification
DBG: [09:17:36 26.8] ChangeNotify::load -->
DBG: [09:17:36 26.8] <-- ChangeNotify::load
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: sound
DBG: [09:17:36 26.8] Sound:load() -- > begin
DBG: [09:17:36 26.8] Sound:load() -- > end
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: nstate
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: panel
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: node_query
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: attribute_query
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: server
DBG: [09:17:36 26.8] ChangeNotify::load -->
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=aborted
DBG: [09:17:36 26.8]  property=server.notification.aborted.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=alias
DBG: [09:17:36 26.8]  property=server.notification.alias.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=late
DBG: [09:17:36 26.8]  property=server.notification.late.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=restarted
DBG: [09:17:36 26.8]  property=server.notification.restarted.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=zombie
DBG: [09:17:36 26.8]  property=server.notification.zombie.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] <-- ChangeNotify::load
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: sstate
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: view
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: query_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: trigger_graph_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: table_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: zombie_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: output_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: gui
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: gui_server
ERR: [09:17:36 26.8] Error, unable to parse JSON session file : /Users/lijinxiong/.ecflow_ui_v5/default.session/session.json: cannot open file
Terminated: 15

Last 50 lines of user interaction log file:
DBG: [09:17:36 26.8] ServerList::readRcFile -->
DBG: [09:17:36 26.8]  Read servers from ecflowview rcfile: /Users/lijinxiong/.ecflowrc/servers
DBG: [09:17:36 26.8] ServerList::syncSystemFile -->
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: attribute
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: icon
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: menu
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: notification
DBG: [09:17:36 26.8] ChangeNotify::load -->
DBG: [09:17:36 26.8] <-- ChangeNotify::load
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: sound
DBG: [09:17:36 26.8] Sound:load() -- > begin
DBG: [09:17:36 26.8] Sound:load() -- > end
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: nstate
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: panel
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: node_query
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: attribute_query
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: server
DBG: [09:17:36 26.8] ChangeNotify::load -->
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=aborted
DBG: [09:17:36 26.8]  property=server.notification.aborted.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=alias
DBG: [09:17:36 26.8]  property=server.notification.alias.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=late
DBG: [09:17:36 26.8]  property=server.notification.late.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=restarted
DBG: [09:17:36 26.8]  property=server.notification.restarted.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] ChangeNotify::loadServerSettings -->
DBG: [09:17:36 26.8]  id=zombie
DBG: [09:17:36 26.8]  property=server.notification.zombie.enabled
DBG: [09:17:36 26.8] <-- ChangeNotify::loadServerSettings
DBG: [09:17:36 26.8] <-- ChangeNotify::load
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: sstate
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: view
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: query_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: trigger_graph_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: table_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: zombie_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: output_columns
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: gui
DBG: [09:17:36 26.8] VConfig::loadInit() read config group: gui_server
ERR: [09:17:36 26.8] Error, unable to parse JSON session file : /Users/lijinxiong/.ecflow_ui_v5/default.session/session.json: cannot open file
Terminated: 15
sandorkertesz commented 3 years ago

Hello @19950813 , I would need more details to resolve the problem:

Best regards, Sandor

19950813 commented 3 years ago

Hello @sandorkertesz , in response to your question, I will mainly answer the following points:

Trouble you

sandorkertesz commented 3 years ago

Hello @19950813 , Thank you for the quick reply. This is what I suggest:

I hope it will work for you.

19950813 commented 3 years ago

Hello @sandorkertesz , I performed the operation according to your prompt, but it still cannot be started. After entering ecflow_ui, a window pops up, but the window is in a stuck state. The following is the log after I forcibly closed the window:

ecflow_ui: EXIT on ERROR (line 359), exit status 143, starting 'cleanup'
Last 50 lines of log file:
DBG: [17:30:40 26.8] VConfig::loadInit() read config group: gui
DBG: [17:30:40 26.8] VConfig::loadInit() read config group: gui_server
QLayout: Attempting to add QLayout "" to TabWidget "", which already has a layout
DBG: [17:30:40 26.8] NodeQuery::NodeQuery(const std::string &, bool) -->
DBG: [17:30:40 26.8] NodeQueryOption::build -->
DBG: [17:30:40 26.8]  load node_query
DBG: [17:30:40 26.8]   name=node_name type=string
DBG: [17:30:40 26.8]   name=node_path type=string
DBG: [17:30:40 26.8]   name=type type=list
DBG: [17:30:40 26.8]   name=state type=list
DBG: [17:30:40 26.8]   name=flag type=list
DBG: [17:30:40 26.8]   name=status_change_time type=period
DBG: [17:30:40 26.8]  load attribute_query
DBG: [17:30:40 26.8]   name=event
DBG: [17:30:40 26.8]   option: name=event_name type=string
DBG: [17:30:40 26.8]   option: name=event_value type=combo
DBG: [17:30:40 26.8]   name=label
DBG: [17:30:40 26.8]   option: name=label_name type=string
DBG: [17:30:40 26.8]   option: name=label_value type=string
DBG: [17:30:40 26.8]   name=meter
DBG: [17:30:40 26.8]   option: name=meter_name type=string
DBG: [17:30:40 26.8]   option: name=meter_value type=string
DBG: [17:30:40 26.8]   name=limit
DBG: [17:30:40 26.8]   option: name=limit_name type=string
DBG: [17:30:40 26.8]   option: name=limit_value type=string
DBG: [17:30:40 26.8]   option: name=limit_max type=string
DBG: [17:30:40 26.8]   name=limiter
DBG: [17:30:40 26.8]   option: name=limiter_name type=string
DBG: [17:30:40 26.8]   name=trigger
DBG: [17:30:40 26.8]   option: name=trigger_expression type=string
DBG: [17:30:40 26.8]   name=time
DBG: [17:30:40 26.8]   option: name=time_name type=string
DBG: [17:30:40 26.8]   name=date
DBG: [17:30:40 26.8]   option: name=date_name type=string
DBG: [17:30:40 26.8]   name=repeat
DBG: [17:30:40 26.8]   option: name=repeat_name type=string
DBG: [17:30:40 26.8]   option: name=repeat_value type=string
DBG: [17:30:40 26.8]   name=variable
DBG: [17:30:40 26.8]   option: name=var_type type=combo
DBG: [17:30:40 26.8]   option: name=var_name type=string
DBG: [17:30:40 26.8]   option: name=var_value type=string
DBG: [17:30:40 26.8] <-- NodeQueryOption::build
DBG: [17:30:40 26.8] <-- NodeQuery::NodeQuery(const std::string &, bool)
DBG: [17:30:40 26.8] VModelData::clear -->
DBG: [17:30:40 26.8] <-- VModelData::clear
DBG: [17:30:40 26.8] VModelData::reload -->
DBG: [17:30:40 26.8] <-- VModelData::reload
DBG: [17:30:40 26.8] LogTruncator --> secs to midnight=23360s initial timeout=23360s
DBG: [17:30:40 26.8] LogTruncator --> secs to midnight=23360s initial timeout=23360s
Terminated: 15

Last 50 lines of user interaction log file:
DBG: [17:30:40 26.8] VConfig::loadInit() read config group: gui
DBG: [17:30:40 26.8] VConfig::loadInit() read config group: gui_server
QLayout: Attempting to add QLayout "" to TabWidget "", which already has a layout
DBG: [17:30:40 26.8] NodeQuery::NodeQuery(const std::string &, bool) -->
DBG: [17:30:40 26.8] NodeQueryOption::build -->
DBG: [17:30:40 26.8]  load node_query
DBG: [17:30:40 26.8]   name=node_name type=string
DBG: [17:30:40 26.8]   name=node_path type=string
DBG: [17:30:40 26.8]   name=type type=list
DBG: [17:30:40 26.8]   name=state type=list
DBG: [17:30:40 26.8]   name=flag type=list
DBG: [17:30:40 26.8]   name=status_change_time type=period
DBG: [17:30:40 26.8]  load attribute_query
DBG: [17:30:40 26.8]   name=event
DBG: [17:30:40 26.8]   option: name=event_name type=string
DBG: [17:30:40 26.8]   option: name=event_value type=combo
DBG: [17:30:40 26.8]   name=label
DBG: [17:30:40 26.8]   option: name=label_name type=string
DBG: [17:30:40 26.8]   option: name=label_value type=string
DBG: [17:30:40 26.8]   name=meter
DBG: [17:30:40 26.8]   option: name=meter_name type=string
DBG: [17:30:40 26.8]   option: name=meter_value type=string
DBG: [17:30:40 26.8]   name=limit
DBG: [17:30:40 26.8]   option: name=limit_name type=string
DBG: [17:30:40 26.8]   option: name=limit_value type=string
DBG: [17:30:40 26.8]   option: name=limit_max type=string
DBG: [17:30:40 26.8]   name=limiter
DBG: [17:30:40 26.8]   option: name=limiter_name type=string
DBG: [17:30:40 26.8]   name=trigger
DBG: [17:30:40 26.8]   option: name=trigger_expression type=string
DBG: [17:30:40 26.8]   name=time
DBG: [17:30:40 26.8]   option: name=time_name type=string
DBG: [17:30:40 26.8]   name=date
DBG: [17:30:40 26.8]   option: name=date_name type=string
DBG: [17:30:40 26.8]   name=repeat
DBG: [17:30:40 26.8]   option: name=repeat_name type=string
DBG: [17:30:40 26.8]   option: name=repeat_value type=string
DBG: [17:30:40 26.8]   name=variable
DBG: [17:30:40 26.8]   option: name=var_type type=combo
DBG: [17:30:40 26.8]   option: name=var_name type=string
DBG: [17:30:40 26.8]   option: name=var_value type=string
DBG: [17:30:40 26.8] <-- NodeQueryOption::build
DBG: [17:30:40 26.8] <-- NodeQuery::NodeQuery(const std::string &, bool)
DBG: [17:30:40 26.8] VModelData::clear -->
DBG: [17:30:40 26.8] <-- VModelData::clear
DBG: [17:30:40 26.8] VModelData::reload -->
DBG: [17:30:40 26.8] <-- VModelData::reload
DBG: [17:30:40 26.8] LogTruncator --> secs to midnight=23360s initial timeout=23360s
DBG: [17:30:40 26.8] LogTruncator --> secs to midnight=23360s initial timeout=23360s
Terminated: 15

Trouble you

sandorkertesz commented 3 years ago

Hello @19950813 , I am sorry to hear that. There is a slight chance that there is something to do with Qt (the ui framework we use for ecflow_ui) on MacOS. I suggest you try these steps now:

I wonder if it changes anything. Many thanks, Sandor

19950813 commented 3 years ago

Thank you very much. After operating according to your steps, it can be displayed normally. For the specific situation, you can see the following two screenshots:

WechatIMG232 WechatIMG233
iainrussell commented 3 years ago

Hello @19950813 , just before I close this issue, I will recommend that you install the latest version of ecFlow, 5.7.0. We made some improvements in the startup, as well as various other improvements. Best regards, Iain

19950813 commented 3 years ago

Ok sir, thanks for your help @iainrussell