No plotly graph in Computers tab
Why might such a problem appear?
Tasks can be run.

It happens both in minimal and full modes
@megachester , Looks like an internal error.
The program has last activity = null for that computer.
Could you please provide me with the log file?
cat ~/mlcomp/logs/log.txt
2020-03-04 19:22:33.449 ERROR app - decorated: Requested Url: /api/computer_sync_end
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/mlcomp/server/back/app.py", line 102, in decorated
res = f(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/mlcomp/server/back/app.py", line 164, in computer_sync_end
meta = yaml_load(computer.meta)
File "/usr/local/lib/python3.6/dist-packages/mlcomp/utils/io.py", line 22, in yaml_load
res = yaml.load(stream, Loader=yaml.FullLoader)
File "/usr/local/lib/python3.6/dist-packages/yaml/__init__.py", line 112, in load
loader = Loader(stream)
File "/usr/local/lib/python3.6/dist-packages/yaml/loader.py", line 24, in __init__
Reader.__init__(self, stream)
File "/usr/local/lib/python3.6/dist-packages/yaml/reader.py", line 85, in __init__
self.determine_encoding()
File "/usr/local/lib/python3.6/dist-packages/yaml/reader.py", line 124, in determine_encoding
self.update_raw()
File "/usr/local/lib/python3.6/dist-packages/yaml/reader.py", line 178, in update_raw
data = self.stream.read(size)
AttributeError: 'NoneType' object has no attribute 'read'
@megachester , how have you installed the library? Via Pypi or from the Github sources?
Please try version 20.2.4. I have uploaded it just now.
For example:
# stop server and workers
pip install -U mlcomp
mlcomp migrate
# start server and workers
Does it help?
No, it didn't help
There is the version 20.2.4b.
Please update mlcomp to it.
Then:
-
mlcomp reportThis command will create a report. Please attach it to the issue. (I hope your logs do not contain secure information). -
Please open the Console in your browser. Are there errors?
-
Is it better to clear everything and execute
reportafter freshmlcomp initprocedure? -
What do you mean by Console?
-
Yeah, it would be better
-
https://kb.mailster.co/how-can-i-open-the-browsers-console/
https://web.dev/errors-in-console/
-
You were right, there are errors of such type:
Error: InvalidPipeArgument: 'Unable to convert "2020-03-12 12:45:17Z" into a date' for pipe 'DatePipe'
Log
[Error] ERROR
Error: InvalidPipeArgument: 'Unable to convert "2020-03-12 18:23:00Z" into a date' for pipe 'DatePipe'
(anonymous function) — common.js:5250
checkAndUpdatePureExpressionInline — core.js:22798
prodCheckAndUpdateNode — core.js:23866
(anonymous function)
checkAndUpdateView — core.js:23312
callViewAction — core.js:23548
execEmbeddedViewsAction — core.js:23511
checkAndUpdateView — core.js:23308
callViewAction — core.js:23558
execEmbeddedViewsAction — core.js:23511
execProjectedViewsAction — core.js:23576
callViewAction — core.js:23551
execComponentViewsAction — core.js:23490
checkAndUpdateView — core.js:23313
callViewAction — core.js:23558
execEmbeddedViewsAction — core.js:23511
execProjectedViewsAction — core.js:23576
callViewAction — core.js:23551
execComponentViewsAction — core.js:23490
checkAndUpdateView — core.js:23313
callViewAction — core.js:23548
execComponentViewsAction — core.js:23490
checkAndUpdateView — core.js:23313
callViewAction — core.js:23548
execEmbeddedViewsAction — core.js:23511
checkAndUpdateView — core.js:23308
callViewAction — core.js:23548
execComponentViewsAction — core.js:23490
checkAndUpdateView — core.js:23313
(anonymous function) — core.js:21688
forEach
(anonymous function) — core.js:18119
(anonymous function) — core.js:18010:98
onInvoke — core.js:17299
(anonymous function) — zone.js:150
next — core.js:18010
(anonymous function) — core.js:13515
(anonymous function) — Subscriber.js:196
(anonymous function) — Subscriber.js:134
(anonymous function) — Subscriber.js:77
(anonymous function) — Subscriber.js:54
(anonymous function) — Subject.js:47
(anonymous function) — core.js:13499
checkStable — core.js:17268
onHasTask — core.js:17312
(anonymous function) — zone.js:443
(anonymous function) — zone.js:463
(anonymous function) — zone.js:291
(anonymous function) — zone.js:212
drainMicroTaskQueue — zone.js:601
(anonymous function) — zone.js:502
invokeTask — zone.js:1744
globalZoneAwareCallback — zone.js:1781
defaultErrorLogger (vendor.js:81041)
(anonymous function) (vendor.js:81089)
(anonymous function) (polyfills.js:3043)
(anonymous function) (vendor.js:83443)
(anonymous function) (vendor.js:83327:110)
onInvoke (vendor.js:82616)
(anonymous function) (polyfills.js:3043)
next (vendor.js:83327:85)
(anonymous function) (vendor.js:78832)
(anonymous function) (vendor.js:147523)
(anonymous function) (vendor.js:147461)
(anonymous function) (vendor.js:147404)
(anonymous function) (vendor.js:147381)
(anonymous function) (vendor.js:147146)
(anonymous function) (vendor.js:78816)
checkStable (vendor.js:82585)
onHasTask (vendor.js:82629)
(anonymous function) (polyfills.js:3336)
(anonymous function) (polyfills.js:3356)
(anonymous function) (polyfills.js:3184)
(anonymous function) (polyfills.js:3105)
drainMicroTaskQueue (polyfills.js:3494)
(anonymous function) (polyfills.js:3395)
invokeTask (polyfills.js:4637)
globalZoneAwareCallback (polyfills.js:4674)
Sorry, but I have no idea why it happens.
You could debug the issue: open tables computers and docker in your database and check them on null values.
Also, try to open the page in a different browser. For example, I use Google Chrome.
Thanks! Opening front in Chrome helped. The problem is with Safari.