Cannot create any new model

Hi there,

I tried following a tutorial and for some reason today I am not able to create a blank model (or any model for that matter). The app starts fine and on the server side I don’t see any log errors. Here’s the output from the server side using -v=3:

2021-03-13 12:51:46,142 - INFO - <string>:1 - Trying to listen to: 0.0.0.0 5000
PerceptiLabs: PerceptiLabs Started
PerceptiLabs: PerceptiLabs is running at http://localhost:8080/?token=6ME4nMMdP-Q5r2EA-FC0FXZCkkANE5fVtjdIQDJAqUE
PerceptiLabs: Use Control-C to stop this server and shut down all PerceptiLabs processes.
[13/Mar/2021 20:51:48] "GET /?token=6ME4nMMdP-Q5r2EA-FC0FXZCkkANE5fVtjdIQDJAqUE HTTP/1.1" 200 493
[13/Mar/2021 20:51:48] "GET /kernel_url HTTP/1.1" 200 0
[13/Mar/2021 20:51:48] "GET /fileserver_url HTTP/1.1" 200 0
[13/Mar/2021 20:51:48] "GET /rygg_url HTTP/1.1" 200 0
[13/Mar/2021 20:51:49] "GET /?token=6ME4nMMdP-Q5r2EA-FC0FXZCkkANE5fVtjdIQDJAqUE HTTP/1.1" 200 493
[13/Mar/2021 20:51:49] "GET /fileserver_url HTTP/1.1" 200 0
[13/Mar/2021 20:51:49] "GET /kernel_url HTTP/1.1" 200 0
[13/Mar/2021 20:51:49] "GET /rygg_url HTTP/1.1" 200 0
[13/Mar/2021 20:51:49] "GET /rygg_url HTTP/1.1" 200 0
2021-03-13 12:51:50,335 - INFO - server.py:191 - Created coreLogic for network 'None'
[13/Mar/2021 20:51:50] "GET /version?token=6ME4nMMdP-Q5r2EA-FC0FXZCkkANE5fVtjdIQDJAqUE HTTP/1.1" 200 21
[13/Mar/2021 20:51:50] "HEAD /directories?path=/home/christowm/Documents/Perceptilabs/Default/ImageClassification%20CNN%201&token=6ME4nMMdP-Q5r2EA-FC0FXZCkkANE5fVtjdIQDJAqUE HTTP/1.1" 200 84
2021-03-13 12:51:50,537 - INFO - server.py:191 - Frontend receiver: 1 , Frontend request: isTrained
[13/Mar/2021 20:51:50] "HEAD /directories?path=/home/christowm/Documents/Perceptilabs/Default/Model%201&token=6ME4nMMdP-Q5r2EA-FC0FXZCkkANE5fVtjdIQDJAqUE HTTP/1.1" 200 66
2021-03-13 12:51:50,537 - INFO - server.py:191 - Created coreLogic for network '1'
2021-03-13 12:51:50,551 - INFO - server.py:191 - Frontend receiver: 2 , Frontend request: isTrained
2021-03-13 12:51:50,551 - INFO - server.py:191 - Created coreLogic for network '2'
2021-03-13 12:51:50,661 - INFO - server.py:191 - Frontend receiver:  , Frontend request: setUser
2021-03-13 12:51:50,662 - INFO - server.py:191 - Created coreLogic for network ''
2021-03-13 12:51:50,663 - INFO - server.py:191 - User has been set to mitch.christow@gmail.com
2021-03-13 12:51:51,405 - INFO - server.py:191 - Frontend receiver: 1 , Frontend request: ScanCheckpoint
2021-03-13 12:51:51,419 - INFO - server.py:191 - Frontend receiver: 2 , Frontend request: ScanCheckpoint

On the browser side I do see a typescript error after selecting an empty model, entering a name and hitting enter.

app.592239a346b75c91a02d.js:1 Uncaught (in promise) TypeError: Cannot read property 'models' of undefined
    at a.<anonymous> (app.592239a346b75c91a02d.js:1)
    at x (1.37561c89fe3464d5c50a.js:158)
    at Generator._invoke (1.37561c89fe3464d5c50a.js:158)
    at Generator.e.<computed> [as next] (1.37561c89fe3464d5c50a.js:158)
    at r (1.37561c89fe3464d5c50a.js:32)
    at 1.37561c89fe3464d5c50a.js:32
    at new Promise (<anonymous>)
    at new t (1.37561c89fe3464d5c50a.js:6)
    at 1.37561c89fe3464d5c50a.js:32
    at a.createModel (app.592239a346b75c91a02d.js:1)
    at a.handleKeyup (app.592239a346b75c91a02d.js:1)
    at HTMLDocument.r (1.37561c89fe3464d5c50a.js:26)
(anonymous) @ app.592239a346b75c91a02d.js:1
x @ 1.37561c89fe3464d5c50a.js:158
(anonymous) @ 1.37561c89fe3464d5c50a.js:158
e.<computed> @ 1.37561c89fe3464d5c50a.js:158
r @ 1.37561c89fe3464d5c50a.js:32
(anonymous) @ 1.37561c89fe3464d5c50a.js:32
t @ 1.37561c89fe3464d5c50a.js:6
(anonymous) @ 1.37561c89fe3464d5c50a.js:32
createModel @ app.592239a346b75c91a02d.js:1
handleKeyup @ app.592239a346b75c91a02d.js:1
r @ 1.37561c89fe3464d5c50a.js:26
1.37561c89fe3464d5c50a.js:26 Token refreshedtrue

I should mention that I have been able to create models before and loading existing models works fine. It’s just the current create model dialog that does not function. Also clicking on the create button after selecting an empty model and entering a name does not create any response at all (no error in console and no reponse in the browser). Any suggestions on how to proceed would be very welcome.

Cheers,
Mitch

I tried a few other things, including an upgrade to the latest version of perceptilabs (0.11.10) and restarting the computer. I am still getting an error though. Here is the full client side error log.

Some messages have been moved to the Issues panel.
1.695ebea44edfed0e00e6.js:158 Loaded claygl, version 1.2.1
1.695ebea44edfed0e00e6.js:158 Loaded echarts, version 4.1.0
:8000/app/updates_available:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:8000/projects:1 Failed to load resource: the server responded with a status of 404 (Not Found)
1.695ebea44edfed0e00e6.js:26 Error: Request failed with status code 404
    at e.exports (1.695ebea44edfed0e00e6.js:6)
    at e.exports (1.695ebea44edfed0e00e6.js:32)
    at XMLHttpRequest.d.onreadystatechange (1.695ebea44edfed0e00e6.js:158)
    at XMLHttpRequest.r (1.695ebea44edfed0e00e6.js:26)
(anonymous) @ 1.695ebea44edfed0e00e6.js:26
1.695ebea44edfed0e00e6.js:26 Error: Request failed with status code 404
    at e.exports (1.695ebea44edfed0e00e6.js:6)
    at e.exports (1.695ebea44edfed0e00e6.js:32)
    at XMLHttpRequest.d.onreadystatechange (1.695ebea44edfed0e00e6.js:158)
    at XMLHttpRequest.r (1.695ebea44edfed0e00e6.js:26)
(anonymous) @ 1.695ebea44edfed0e00e6.js:26
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/decide/?verbose=1&version=1&lib=web&token=1480b2244fdd4d821227a29e2637f922&ip=1&_=1615681230683' from origin 'http://localhost:8080' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/decide/?verbose=1&version=1&lib=web&token=1480b2244fdd4d821227a29e2637f922&ip=1&_=1615681230683:1 Failed to load resource: net::ERR_FAILED
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/track/?data=eyJldmVudCI6ICJtcF9wYWdlX3ZpZXciLCJwcm9wZXJ0aWVzIjogeyIkb3MiOiAiV2luZG93cyIsIiRicm93c2VyIjogIkNocm9tZSIsIiRjdXJyZW50X3VybCI6ICJodHRwOi8vbG9jYWxob3N0OjgwODAvP3Rva2VuPUZaTGhDcmxZODN3V2ppV3MtOVRiTHJSNTNLdkM4ZWpwZ3R2a1RtU2NyWEUiLCIkYnJvd3Nlcl92ZXJzaW9uIjogODksIiRzY3JlZW5faGVpZ2h0IjogMTA4MCwiJHNjcmVlbl93aWR0aCI6IDE5MjAsIm1wX2xpYiI6ICJ3ZWIiLCIkbGliX3ZlcnNpb24iOiAiMi4yOS4xIiwidGltZSI6IDE2MTU2ODEyMzAuNjksImRpc3RpbmN0X2lkIjogIm1pdGNoLmNocmlzdG93QGdtYWlsLmNvbSIsIiRkZXZpY2VfaWQiOiAiMTc2YTZiYzY5MzY1ODAtMDJiOTI5MTgzYmYzNzQtYzc5MTAzOS0xZmE0MDAtMTc2YTZiYzY5Mzc2YzUiLCIkaW5pdGlhbF9yZWZlcnJlciI6ICIkZGlyZWN0IiwiJGluaXRpYWxfcmVmZXJyaW5nX2RvbWFpbiI6ICIkZGlyZWN0IiwiJHVzZXJfaWQiOiAibWl0Y2guY2hyaXN0b3dAZ21haWwuY29tIiwibXBfcGFnZSI6ICJodHRwOi8vbG9jYWxob3N0OjgwODAvP3Rva2VuPUZaTGhDcmxZODN3V2ppV3MtOVRiTHJSNTNLdkM4ZWpwZ3R2a1RtU2NyWEUiLCJtcF9icm93c2VyIjogIkNocm9tZSIsIm1wX3BsYXRmb3JtIjogIldpbmRvd3MiLCJ0b2tlbiI6ICIxNDgwYjIyNDRmZGQ0ZDgyMTIyN2EyOWUyNjM3ZjkyMiJ9fQ%3D%3D&ip=1&_=1615681230691' from origin 'http://localhost:8080' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/track/?data=eyJldmVudCI6ICJtcF9wYWdlX3ZpZXciLCJwcm9wZXJ0aWVzIjogeyIkb3MiOiAiV2luZG93cyIsIiRicm93c2VyIjogIkNocm9tZSIsIiRjdXJyZW50X3VybCI6ICJodHRwOi8vbG9jYWxob3N0OjgwODAvP3Rva2VuPUZaTGhDcmxZODN3V2ppV3MtOVRiTHJSNTNLdkM4ZWpwZ3R2a1RtU2NyWEUiLCIkYnJvd3Nlcl92ZXJzaW9uIjogODksIiRzY3JlZW5faGVpZ2h0IjogMTA4MCwiJHNjcmVlbl93aWR0aCI6IDE5MjAsIm1wX2xpYiI6ICJ3ZWIiLCIkbGliX3ZlcnNpb24iOiAiMi4yOS4xIiwidGltZSI6IDE2MTU2ODEyMzAuNjksImRpc3RpbmN0X2lkIjogIm1pdGNoLmNocmlzdG93QGdtYWlsLmNvbSIsIiRkZXZpY2VfaWQiOiAiMTc2YTZiYzY5MzY1ODAtMDJiOTI5MTgzYmYzNzQtYzc5MTAzOS0xZmE0MDAtMTc2YTZiYzY5Mzc2YzUiLCIkaW5pdGlhbF9yZWZlcnJlciI6ICIkZGlyZWN0IiwiJGluaXRpYWxfcmVmZXJyaW5nX2RvbWFpbiI6ICIkZGlyZWN0IiwiJHVzZXJfaWQiOiAibWl0Y2guY2hyaXN0b3dAZ21haWwuY29tIiwibXBfcGFnZSI6ICJodHRwOi8vbG9jYWxob3N0OjgwODAvP3Rva2VuPUZaTGhDcmxZODN3V2ppV3MtOVRiTHJSNTNLdkM4ZWpwZ3R2a1RtU2NyWEUiLCJtcF9icm93c2VyIjogIkNocm9tZSIsIm1wX3BsYXRmb3JtIjogIldpbmRvd3MiLCJ0b2tlbiI6ICIxNDgwYjIyNDRmZGQ0ZDgyMTIyN2EyOWUyNjM3ZjkyMiJ9fQ%3D%3D&ip=1&_=1615681230691:1 Failed to load resource: net::ERR_FAILED
app.a34e53b097598ae99bd2.js:1 Uncaught (in promise) TypeError: Cannot read property 'data' of undefined
    at app.a34e53b097598ae99bd2.js:1
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/track/?data=eyJldmVudCI6ICIkb3B0X2luIiwicHJvcGVydGllcyI6IHsiJG9zIjogIldpbmRvd3MiLCIkYnJvd3NlciI6ICJDaHJvbWUiLCIkY3VycmVudF91cmwiOiAiaHR0cDovL2xvY2FsaG9zdDo4MDgwLz90b2tlbj1GWkxoQ3JsWTgzd1dqaVdzLTlUYkxyUjUzS3ZDOGVqcGd0dmtUbVNjclhFIiwiJGJyb3dzZXJfdmVyc2lvbiI6IDg5LCIkc2NyZWVuX2hlaWdodCI6IDEwODAsIiRzY3JlZW5fd2lkdGgiOiAxOTIwLCJtcF9saWIiOiAid2ViIiwiJGxpYl92ZXJzaW9uIjogIjIuMjkuMSIsInRpbWUiOiAxNjE1NjgxMjMwLjY5NCwiZGlzdGluY3RfaWQiOiAibWl0Y2guY2hyaXN0b3dAZ21haWwuY29tIiwiJGRldmljZV9pZCI6ICIxNzZhNmJjNjkzNjU4MC0wMmI5MjkxODNiZjM3NC1jNzkxMDM5LTFmYTQwMC0xNzZhNmJjNjkzNzZjNSIsIiRpbml0aWFsX3JlZmVycmVyIjogIiRkaXJlY3QiLCIkaW5pdGlhbF9yZWZlcnJpbmdfZG9tYWluIjogIiRkaXJlY3QiLCIkdXNlcl9pZCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCJ0b2tlbiI6ICIxNDgwYjIyNDRmZGQ0ZDgyMTIyN2EyOWUyNjM3ZjkyMiJ9fQ%3D%3D&ip=1&_=1615681230695' from origin 'http://localhost:8080' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/track/?data=eyJldmVudCI6ICIkb3B0X2luIiwicHJvcGVydGllcyI6IHsiJG9zIjogIldpbmRvd3MiLCIkYnJvd3NlciI6ICJDaHJvbWUiLCIkY3VycmVudF91cmwiOiAiaHR0cDovL2xvY2FsaG9zdDo4MDgwLz90b2tlbj1GWkxoQ3JsWTgzd1dqaVdzLTlUYkxyUjUzS3ZDOGVqcGd0dmtUbVNjclhFIiwiJGJyb3dzZXJfdmVyc2lvbiI6IDg5LCIkc2NyZWVuX2hlaWdodCI6IDEwODAsIiRzY3JlZW5fd2lkdGgiOiAxOTIwLCJtcF9saWIiOiAid2ViIiwiJGxpYl92ZXJzaW9uIjogIjIuMjkuMSIsInRpbWUiOiAxNjE1NjgxMjMwLjY5NCwiZGlzdGluY3RfaWQiOiAibWl0Y2guY2hyaXN0b3dAZ21haWwuY29tIiwiJGRldmljZV9pZCI6ICIxNzZhNmJjNjkzNjU4MC0wMmI5MjkxODNiZjM3NC1jNzkxMDM5LTFmYTQwMC0xNzZhNmJjNjkzNzZjNSIsIiRpbml0aWFsX3JlZmVycmVyIjogIiRkaXJlY3QiLCIkaW5pdGlhbF9yZWZlcnJpbmdfZG9tYWluIjogIiRkaXJlY3QiLCIkdXNlcl9pZCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCJ0b2tlbiI6ICIxNDgwYjIyNDRmZGQ0ZDgyMTIyN2EyOWUyNjM3ZjkyMiJ9fQ%3D%3D&ip=1&_=1615681230695:1 Failed to load resource: net::ERR_FAILED
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/decide/?verbose=1&version=3&lib=web&token=1480b2244fdd4d821227a29e2637f922&distinct_id=mitch.christow%40gmail.com&ip=1&_=1615681235581' from origin 'http://localhost:8080' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/decide/?verbose=1&version=3&lib=web&token=1480b2244fdd4d821227a29e2637f922&distinct_id=mitch.christow%40gmail.com&ip=1&_=1615681235581:1 Failed to load resource: net::ERR_FAILED
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/engage/?data=eyIkc2V0IjogeyIkb3MiOiAiV2luZG93cyIsIiRicm93c2VyIjogIkNocm9tZSIsIiRicm93c2VyX3ZlcnNpb24iOiA4OSwiJGluaXRpYWxfcmVmZXJyZXIiOiAiJGRpcmVjdCIsIiRpbml0aWFsX3JlZmVycmluZ19kb21haW4iOiAiJGRpcmVjdCIsIiRlbWFpbCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCIkbGFzdF9sb2dpbiI6ICIyMDIxLTAzLTE0VDAwOjIwOjM1In0sIiR0b2tlbiI6ICIxNDgwYjIyNDRmZGQ0ZDgyMTIyN2EyOWUyNjM3ZjkyMiIsIiRkaXN0aW5jdF9pZCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCIkZGV2aWNlX2lkIjogIjE3NmE2YmM2OTM2NTgwLTAyYjkyOTE4M2JmMzc0LWM3OTEwMzktMWZhNDAwLTE3NmE2YmM2OTM3NmM1IiwiJHVzZXJfaWQiOiAibWl0Y2guY2hyaXN0b3dAZ21haWwuY29tIn0%3D&ip=1&_=1615681235583' from origin 'http://localhost:8080' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/engage/?data=eyIkc2V0IjogeyIkb3MiOiAiV2luZG93cyIsIiRicm93c2VyIjogIkNocm9tZSIsIiRicm93c2VyX3ZlcnNpb24iOiA4OSwiJGluaXRpYWxfcmVmZXJyZXIiOiAiJGRpcmVjdCIsIiRpbml0aWFsX3JlZmVycmluZ19kb21haW4iOiAiJGRpcmVjdCIsIiRlbWFpbCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCIkbGFzdF9sb2dpbiI6ICIyMDIxLTAzLTE0VDAwOjIwOjM1In0sIiR0b2tlbiI6ICIxNDgwYjIyNDRmZGQ0ZDgyMTIyN2EyOWUyNjM3ZjkyMiIsIiRkaXN0aW5jdF9pZCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCIkZGV2aWNlX2lkIjogIjE3NmE2YmM2OTM2NTgwLTAyYjkyOTE4M2JmMzc0LWM3OTEwMzktMWZhNDAwLTE3NmE2YmM2OTM3NmM1IiwiJHVzZXJfaWQiOiAibWl0Y2guY2hyaXN0b3dAZ21haWwuY29tIn0%3D&ip=1&_=1615681235583:1 Failed to load resource: net::ERR_FAILED
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/engage/?data=eyIkc2V0X29uY2UiOiB7IiRlbWFpbCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCIkY3JlYXRlZCI6ICIyMDIxLTAzLTE0VDAwOjIwOjM1In0sIiR0b2tlbiI6ICIxNDgwYjIyNDRmZGQ0ZDgyMTIyN2EyOWUyNjM3ZjkyMiIsIiRkaXN0aW5jdF9pZCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCIkZGV2aWNlX2lkIjogIjE3NmE2YmM2OTM2NTgwLTAyYjkyOTE4M2JmMzc0LWM3OTEwMzktMWZhNDAwLTE3NmE2YmM2OTM3NmM1IiwiJHVzZXJfaWQiOiAibWl0Y2guY2hyaXN0b3dAZ21haWwuY29tIn0%3D&ip=1&_=1615681235585' from origin 'http://localhost:8080' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/engage/?data=eyIkc2V0X29uY2UiOiB7IiRlbWFpbCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCIkY3JlYXRlZCI6ICIyMDIxLTAzLTE0VDAwOjIwOjM1In0sIiR0b2tlbiI6ICIxNDgwYjIyNDRmZGQ0ZDgyMTIyN2EyOWUyNjM3ZjkyMiIsIiRkaXN0aW5jdF9pZCI6ICJtaXRjaC5jaHJpc3Rvd0BnbWFpbC5jb20iLCIkZGV2aWNlX2lkIjogIjE3NmE2YmM2OTM2NTgwLTAyYjkyOTE4M2JmMzc0LWM3OTEwMzktMWZhNDAwLTE3NmE2YmM2OTM3NmM1IiwiJHVzZXJfaWQiOiAibWl0Y2guY2hyaXN0b3dAZ21haWwuY29tIn0%3D&ip=1&_=1615681235585:1 Failed to load resource: net::ERR_FAILED
1.695ebea44edfed0e00e6.js:26 [KEYCLOAK] Usage of legacy style promise methods such as `.error()` and `.success()` has been deprecated and support will be removed in future versions. Use standard style promise methods such as `.then() and `.catch()` instead.
(anonymous) @ 1.695ebea44edfed0e00e6.js:26
app.a34e53b097598ae99bd2.js:1 Uncaught (in promise) TypeError: Cannot read property 'models' of undefined
    at a.<anonymous> (app.a34e53b097598ae99bd2.js:1)
    at x (1.695ebea44edfed0e00e6.js:158)
    at Generator._invoke (1.695ebea44edfed0e00e6.js:158)
    at Generator.e.<computed> [as next] (1.695ebea44edfed0e00e6.js:158)
    at r (1.695ebea44edfed0e00e6.js:32)
    at 1.695ebea44edfed0e00e6.js:32
    at new Promise (<anonymous>)
    at new t (1.695ebea44edfed0e00e6.js:6)
    at 1.695ebea44edfed0e00e6.js:32
    at a.createModel (app.a34e53b097598ae99bd2.js:1)
    at a.handleKeyup (app.a34e53b097598ae99bd2.js:1)
    at HTMLDocument.r (1.695ebea44edfed0e00e6.js:26)
1.695ebea44edfed0e00e6.js:26 TypeError: Cannot read property 'models' of undefined
    at GET_projectModelIds (app.a34e53b097598ae99bd2.js:1)
    at e._wrappedGetters.<computed> (1.695ebea44edfed0e00e6.js:69)
    at Sn.<anonymous> (1.695ebea44edfed0e00e6.js:69)
    at pn.get (1.695ebea44edfed0e00e6.js:158)
    at pn.evaluate (1.695ebea44edfed0e00e6.js:158)
    at Sn.mod_project/GET_projectModelIds (1.695ebea44edfed0e00e6.js:158)
    at Object.get [as mod_project/GET_projectModelIds] (1.695ebea44edfed0e00e6.js:69)
    at Object.get [as GET_projectModelIds] (1.695ebea44edfed0e00e6.js:69)
    at u.<anonymous> (app.a34e53b097598ae99bd2.js:1)
    at x (1.695ebea44edfed0e00e6.js:158)
    at Generator._invoke (1.695ebea44edfed0e00e6.js:158)
    at Generator.e.<computed> [as next] (1.695ebea44edfed0e00e6.js:158)
    at r (1.695ebea44edfed0e00e6.js:32)
    at 1.695ebea44edfed0e00e6.js:32
    at new Promise (<anonymous>)
    at new t (1.695ebea44edfed0e00e6.js:6)
    at 1.695ebea44edfed0e00e6.js:32
    at u.getProjectModels (app.a34e53b097598ae99bd2.js:1)
    at Array.<anonymous> (1.695ebea44edfed0e00e6.js:69)
    at u.dispatch (1.695ebea44edfed0e00e6.js:75)
    at u.dispatch (1.695ebea44edfed0e00e6.js:69)
    at i.dispatch (1.695ebea44edfed0e00e6.js:69)
    at u.<anonymous> (app.a34e53b097598ae99bd2.js:1)
    at x (1.695ebea44edfed0e00e6.js:158)
    at Generator._invoke (1.695ebea44edfed0e00e6.js:158)
    at Generator.e.<computed> [as next] (1.695ebea44edfed0e00e6.js:158)
    at r (1.695ebea44edfed0e00e6.js:32)
    at 1.695ebea44edfed0e00e6.js:32
    at new Promise (<anonymous>)
    at new t (1.695ebea44edfed0e00e6.js:6)
    at 1.695ebea44edfed0e00e6.js:32
    at app.a34e53b097598ae99bd2.js:1

Looks like some resource was not loaded which causes the models variable to not be initialized. Any help here would be appreciated.

cheers,
Mitch

Hi Mitch :wave:

Thanks for the log snippets :slight_smile:
The two lines that I’ve quoted seem a little suspicious; the frontend can’t communicate with the service that fetches the project info.

May I ask what your setup is like?
Would you be running a pip install within a container/VM, and then using the frontend from outside?

Hi David,

I am using a Windows computer with a Linux command line installation (WSL2). So I installed Perceptilabs within WSL2 in an Ubuntu 20.04 instance. Within Ubuntu I am using Anaconda where I created an environment specifically for Perceptilabs. Once I activate the environment, (conda activate perceptiLabs) I then run the perceptilabs command which starts the service and opens a browser for me. Let me know if you need any additional details.

Cheers,
Mitch

Hi @christowm,
We have had some issues with WSL where PercceptiLabs is not running quite correctly on it.
It has helped before to restart the WSL after installing PerceptiLabs, does that maybe help for you?

Otherwise I could recommend trying to install it in Windows if possible to see if it performs better there.

All the best,
Robert

Hi Robert,

I did try multiple times by restarting WSL and the entire Windows computer. None of that worked. I think at this point I will run Perceptilabs under Windows rather than WSL. Thanks for your help/

Cheers,
Mitch

Hi Robert,

I gave up on the WSL installation and tried with a clean copy of Anaconda on Windows 10. Unfortunately I am still seeing the same problems as under WSL. I am able to start the server, but as soon as I try to create a new model I am unable to create a blank named model. I will paste the server and browser logs in a subsequent post.

Here are the server logs:

(percpetilabs) C:\Users\christowm>perceptilabs -v=3

2021-04-25 20:11:59.662751: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library ‘cudart64_110.dll’; dlerror: cudart64_110.dll not found
2021-04-25 20:11:59.663006: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
WARNING:tensorflow:From c:\users\christowm\anaconda3\envs\percpetilabs\lib\site-packages\tensorflow\python\compat\v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
Operations to perform:
Apply all migrations: admin, api, auth, contenttypes, sessions
Running migrations:
No migrations to apply.
PerceptiLabs: Starting
2021-04-25 20:12:07.068144: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library ‘cudart64_110.dll’; dlerror: cudart64_110.dll not found
2021-04-25 20:12:07.068285: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Performing system checks…
Performing system checks…
Performing system checks…
System check identified no issues (0 silenced).
April 25, 2021 - 20:12:08
Django version 3.1.8, using settings ‘static_file_server.settings’
Starting development server at http://127.0.0.1:8080/
Quit the server with CTRL-BREAK.
System check identified no issues (0 silenced).
April 25, 2021 - 20:12:08
Django version 3.1.8, using settings ‘fileserver.settings’
Starting development server at http://127.0.0.1:8011/
Quit the server with CTRL-BREAK.
System check identified no issues (0 silenced).
April 25, 2021 - 20:12:08
Django version 3.1.8, using settings ‘rygg.settings’
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
WARNING:tensorflow:From c:\users\christowm\anaconda3\envs\percpetilabs\lib\site-packages\tensorflow\python\compat\v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
[25/Apr/2021 20:12:11] “GET /?token=Wn1hAsaP7NxDH9OYjEOv60h0WH_GnThAiGgmchXMHkE HTTP/1.1” 200 493
[25/Apr/2021 20:12:11] “GET /fileserver_url HTTP/1.1” 200 0
[25/Apr/2021 20:12:11] “GET /rygg_url HTTP/1.1” 200 0
[25/Apr/2021 20:12:11] “GET /kernel_url HTTP/1.1” 200 0
[25/Apr/2021 20:12:12] “GET /is_url_reachable?path=https://keycloak.perceptilabs.com:8443/auth/realms/PerceptiLabs/protocol/openid-connect/3p-cookies/step1.html&token=Wn1hAsaP7NxDH9OYjEOv60h0WH_GnThAiGgmchXMHkE HTTP/1.1” 200 22
[25/Apr/2021 20:12:13] “GET /is_url_reachable?path=https://keycloak.perceptilabs.com:8443/auth/realms/PerceptiLabs/protocol/openid-connect/3p-cookies/step1.html&token=Wn1hAsaP7NxDH9OYjEOv60h0WH_GnThAiGgmchXMHkE HTTP/1.1” 200 22
2021-04-25 20:12:13,447 - INFO - :1 - Reporting errors with commit id: 5b8e27e03c0efd5c0189841279ad47e80bed94b3 PerceptiLabs is ready…
[25/Apr/2021 20:12:13] “GET /?token=Wn1hAsaP7NxDH9OYjEOv60h0WH_GnThAiGgmchXMHkE HTTP/1.1” 200 493
2021-04-25 20:12:13,490 - INFO - :1 - Trying to listen to: 0.0.0.0 5000
[25/Apr/2021 20:12:13] “GET /fileserver_url HTTP/1.1” 200 0
[25/Apr/2021 20:12:13] “GET /rygg_url HTTP/1.1” 200 0
[25/Apr/2021 20:12:13] “GET /kernel_url HTTP/1.1” 200 0
PerceptiLabs: PerceptiLabs Started
PerceptiLabs: PerceptiLabs is running at http://localhost:8080/?token=Wn1hAsaP7NxDH9OYjEOv60h0WH_GnThAiGgmchXMHkE
PerceptiLabs: Use Control-C to stop this server and shut down all PerceptiLabs processes.
[25/Apr/2021 20:12:14] “GET /is_url_reachable?path=https://keycloak.perceptilabs.com:8443/auth/realms/PerceptiLabs/protocol/openid-connect/3p-cookies/step1.html&token=Wn1hAsaP7NxDH9OYjEOv60h0WH_GnThAiGgmchXMHkE HTTP/1.1” 200 22
[25/Apr/2021 20:12:14] “GET /is_url_reachable?path=https://keycloak.perceptilabs.com:8443/auth/realms/PerceptiLabs/protocol/openid-connect/3p-cookies/step1.html&token=Wn1hAsaP7NxDH9OYjEOv60h0WH_GnThAiGgmchXMHkE HTTP/1.1” 200 22
[25/Apr/2021 20:12:14] “GET /rygg_url HTTP/1.1” 200 0
[25/Apr/2021 20:12:14] “GET /version?token=Wn1hAsaP7NxDH9OYjEOv60h0WH_GnThAiGgmchXMHkE HTTP/1.1” 200 22
2021-04-25 20:12:15,125 - INFO - server.py:191 - Created coreLogic for network ‘None’
2021-04-25 20:12:15,445 - INFO - server.py:191 - Created coreLogic for network ‘’
2021-04-25 20:12:15,447 - INFO - server.py:191 - User has been set to mitch.christow@gmail.com

These are the browser logs:

0.3cfe053f436088db56c2.js:316 Loaded claygl, version 1.3.0
0.3cfe053f436088db56c2.js:316 Loaded echarts, version 4.9.0
:8000/app/updates_available/:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:8000/projects/:1 Failed to load resource: the server responded with a status of 404 (Not Found)
0.3cfe053f436088db56c2.js:282 Error: Request failed with status code 404
at e.exports (0.3cfe053f436088db56c2.js:7)
at e.exports (0.3cfe053f436088db56c2.js:85)
at XMLHttpRequest.d.onreadystatechange (0.3cfe053f436088db56c2.js:316)
at XMLHttpRequest.i (0.3cfe053f436088db56c2.js:316)
e. @ 0.3cfe053f436088db56c2.js:282
(anonymous) @ 0.3cfe053f436088db56c2.js:316
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
Promise.catch (async)
getPyPiUpdate @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ 0.3cfe053f436088db56c2.js:122
u.dispatch @ 0.3cfe053f436088db56c2.js:128
dispatch @ 0.3cfe053f436088db56c2.js:122
n. @ 0.3cfe053f436088db56c2.js:128
mounted @ app.3bff5845fb5fbfba252e.js:1
We @ 0.3cfe053f436088db56c2.js:316
tn @ 0.3cfe053f436088db56c2.js:316
insert @ 0.3cfe053f436088db56c2.js:316
x @ 0.3cfe053f436088db56c2.js:316
(anonymous) @ 0.3cfe053f436088db56c2.js:316
e.update @ 0.3cfe053f436088db56c2.js:316
pn.before @ 0.3cfe053f436088db56c2.js:316
pn.get @ 0.3cfe053f436088db56c2.js:316
pn @ 0.3cfe053f436088db56c2.js:316
(anonymous) @ 0.3cfe053f436088db56c2.js:316
xn.$mount @ 0.3cfe053f436088db56c2.js:316
xn.$mount @ 0.3cfe053f436088db56c2.js:316
E @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
Promise.then (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
async function (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
async function (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
+haV @ app.3bff5845fb5fbfba252e.js:1
s @ app.3bff5845fb5fbfba252e.js:1
a @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
0.3cfe053f436088db56c2.js:282 Error: Request failed with status code 404
at e.exports (0.3cfe053f436088db56c2.js:7)
at e.exports (0.3cfe053f436088db56c2.js:85)
at XMLHttpRequest.d.onreadystatechange (0.3cfe053f436088db56c2.js:316)
at XMLHttpRequest.i (0.3cfe053f436088db56c2.js:316)
e. @ 0.3cfe053f436088db56c2.js:282
(anonymous) @ 0.3cfe053f436088db56c2.js:316
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
Promise.catch (async)
getProjects @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ 0.3cfe053f436088db56c2.js:122
u.dispatch @ 0.3cfe053f436088db56c2.js:128
dispatch @ 0.3cfe053f436088db56c2.js:122
r.dispatch @ 0.3cfe053f436088db56c2.js:122
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
getDefaultModeProject @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ 0.3cfe053f436088db56c2.js:122
u.dispatch @ 0.3cfe053f436088db56c2.js:128
dispatch @ 0.3cfe053f436088db56c2.js:122
n. @ 0.3cfe053f436088db56c2.js:128
mounted @ app.3bff5845fb5fbfba252e.js:1
We @ 0.3cfe053f436088db56c2.js:316
tn @ 0.3cfe053f436088db56c2.js:316
insert @ 0.3cfe053f436088db56c2.js:316
x @ 0.3cfe053f436088db56c2.js:316
(anonymous) @ 0.3cfe053f436088db56c2.js:316
e.update @ 0.3cfe053f436088db56c2.js:316
pn.before @ 0.3cfe053f436088db56c2.js:316
pn.get @ 0.3cfe053f436088db56c2.js:316
pn @ 0.3cfe053f436088db56c2.js:316
(anonymous) @ 0.3cfe053f436088db56c2.js:316
xn.$mount @ 0.3cfe053f436088db56c2.js:316
xn.$mount @ 0.3cfe053f436088db56c2.js:316
E @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
Promise.then (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
async function (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
async function (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
+haV @ app.3bff5845fb5fbfba252e.js:1
s @ app.3bff5845fb5fbfba252e.js:1
a @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
app.3bff5845fb5fbfba252e.js:1 Uncaught (in promise) TypeError: Cannot read property ‘data’ of undefined
at app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
Promise.then (async)
(anonymous) @ 0.3cfe053f436088db56c2.js:128
u.dispatch @ 0.3cfe053f436088db56c2.js:128
dispatch @ 0.3cfe053f436088db56c2.js:122
n. @ 0.3cfe053f436088db56c2.js:128
mounted @ app.3bff5845fb5fbfba252e.js:1
We @ 0.3cfe053f436088db56c2.js:316
tn @ 0.3cfe053f436088db56c2.js:316
insert @ 0.3cfe053f436088db56c2.js:316
x @ 0.3cfe053f436088db56c2.js:316
(anonymous) @ 0.3cfe053f436088db56c2.js:316
e.update @ 0.3cfe053f436088db56c2.js:316
pn.before @ 0.3cfe053f436088db56c2.js:316
pn.get @ 0.3cfe053f436088db56c2.js:316
pn @ 0.3cfe053f436088db56c2.js:316
(anonymous) @ 0.3cfe053f436088db56c2.js:316
xn.$mount @ 0.3cfe053f436088db56c2.js:316
xn.$mount @ 0.3cfe053f436088db56c2.js:316
E @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
Promise.then (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
async function (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
async function (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
+haV @ app.3bff5845fb5fbfba252e.js:1
s @ app.3bff5845fb5fbfba252e.js:1
a @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/decide/?verbose=1&version=1&lib=web&token=1480b2244fdd4d821227a29e2637f922&ip=1&
=1619407681934’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: The value of the ‘Access-Control-Allow-Credentials’ header in the response is ‘’ which must be ‘true’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/decide/?verbose=1&version=1&lib=web&token=1480b2244fdd4d821227a29e2637f922&ip=1&
=1619407681934:1 Failed to load resource: net::ERR_FAILED
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/track/?ip=1&
=1619407681941’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: The value of the ‘Access-Control-Allow-Credentials’ header in the response is ‘’ which must be ‘true’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/track/?ip=1&=1619407681941:1 Failed to load resource: net::ERR_FAILED
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/decide/?verbose=1&version=3&lib=web&token=1480b2244fdd4d821227a29e2637f922&distinct_id=mitch.christow%40gmail.com&ip=1&
=1619407686762’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: The value of the ‘Access-Control-Allow-Credentials’ header in the response is ‘’ which must be ‘true’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/decide/?verbose=1&version=3&lib=web&token=1480b2244fdd4d821227a29e2637f922&distinct_id=mitch.christow%40gmail.com&ip=1&=1619407686762:1 Failed to load resource: net::ERR_FAILED
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/engage/?ip=1&
=1619407686764’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: The value of the ‘Access-Control-Allow-Credentials’ header in the response is ‘’ which must be ‘true’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/engage/?ip=1&=1619407686764:1 Failed to load resource: net::ERR_FAILED
localhost/:1 Access to XMLHttpRequest at 'http://localhost:8000/mixpanel/engage/?ip=1&
=1619407686767’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: The value of the ‘Access-Control-Allow-Credentials’ header in the response is ‘’ which must be ‘true’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
:8000/mixpanel/engage/?ip=1&_=1619407686767:1 Failed to load resource: net::ERR_FAILED
0.3cfe053f436088db56c2.js:282 [KEYCLOAK] Usage of legacy style promise methods such as .error() and .success() has been deprecated and support will be removed in future versions. Use standard style promise methods such as .then() and .catch()` instead.
e. @ 0.3cfe053f436088db56c2.js:282
(anonymous) @ 0.3cfe053f436088db56c2.js:316
i @ 0.3cfe053f436088db56c2.js:7
e.promise.success @ 0.3cfe053f436088db56c2.js:7
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
i @ 0.3cfe053f436088db56c2.js:316
r @ 0.3cfe053f436088db56c2.js:238
setInterval (async)
(anonymous) @ 0.3cfe053f436088db56c2.js:238
(anonymous) @ 0.3cfe053f436088db56c2.js:316
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
Promise.then (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
async function (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
async function (async)
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
+haV @ app.3bff5845fb5fbfba252e.js:1
s @ app.3bff5845fb5fbfba252e.js:1
a @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1
(anonymous) @ app.3bff5845fb5fbfba252e.js:1

And I also noticed a CORS issue with some URL requests in the browser network tab.

Here is the list of packages installed in my conda env

(percpetilabs) C:\Users\christowm>conda list

packages in environment at C:\Users\christowm\anaconda3\envs\percpetilabs:

Name Version Build Channel

absl-py 0.12.0 pypi_0 pypi
asgiref 3.3.4 pypi_0 pypi
astor 0.8.1 pypi_0 pypi
astunparse 1.6.3 pypi_0 pypi
atari-py 0.2.6 pypi_0 pypi
attrs 20.3.0 pypi_0 pypi
azure-core 1.13.0 pypi_0 pypi
azure-eventhub 5.1.0 pypi_0 pypi
azure-storage-blob 12.6.0 pypi_0 pypi
blessings 1.7 pypi_0 pypi
boltons 20.2.1 pypi_0 pypi
boto 2.49.0 pypi_0 pypi
boto3 1.17.57 pypi_0 pypi
botocore 1.20.57 pypi_0 pypi
ca-certificates 2021.4.13 haa95532_1
cachetools 4.2.1 pypi_0 pypi
cattrs 1.0.0 pypi_0 pypi
certifi 2020.12.5 py37haa95532_0
cffi 1.14.5 pypi_0 pypi
chardet 4.0.0 pypi_0 pypi
click 7.1.2 pypi_0 pypi
cloudpickle 1.6.0 pypi_0 pypi
colorama 0.4.3 pypi_0 pypi
cryptography 3.4.7 pypi_0 pypi
curtsies 0.3.5 pypi_0 pypi
cwcwidth 0.1.4 pypi_0 pypi
cycler 0.10.0 pypi_0 pypi
dask 2.6.0 pypi_0 pypi
decorator 4.4.2 pypi_0 pypi
deprecated 1.2.12 pypi_0 pypi
django 3.1.8 pypi_0 pypi
django-cors-headers 3.7.0 pypi_0 pypi
django-http-exceptions 1.4.0 pypi_0 pypi
django-request-logging 0.7.2 pypi_0 pypi
djangorestframework 3.12.4 pypi_0 pypi
fire 0.4.0 pypi_0 pypi
flask 1.1.2 pypi_0 pypi
flatbuffers 1.12 pypi_0 pypi
fsspec 2021.4.0 pypi_0 pypi
future 0.18.2 pypi_0 pypi
gast 0.3.3 pypi_0 pypi
gitdb 4.0.7 pypi_0 pypi
gitpython 3.1.14 pypi_0 pypi
google-auth 1.29.0 pypi_0 pypi
google-auth-oauthlib 0.4.4 pypi_0 pypi
google-pasta 0.2.0 pypi_0 pypi
gputil 1.4.0 pypi_0 pypi
greenlet 1.0.0 pypi_0 pypi
grpcio 1.32.0 pypi_0 pypi
gym 0.18.0 pypi_0 pypi
gym-unity 0.25.1 pypi_0 pypi
h5py 2.10.0 pypi_0 pypi
idna 2.10 pypi_0 pypi
imageio 2.9.0 pypi_0 pypi
importlib-metadata 4.0.1 pypi_0 pypi
isodate 0.6.0 pypi_0 pypi
itsdangerous 1.1.0 pypi_0 pypi
jinja2 2.11.3 pypi_0 pypi
jmespath 0.10.0 pypi_0 pypi
joblib 1.0.1 pypi_0 pypi
jsonschema 3.2.0 pypi_0 pypi
keras-preprocessing 1.1.2 pypi_0 pypi
keras2onnx 1.7.0 pypi_0 pypi
kiwisolver 1.3.1 pypi_0 pypi
locket 0.2.1 pypi_0 pypi
markdown 3.3.4 pypi_0 pypi
markupsafe 1.1.1 pypi_0 pypi
matplotlib 3.4.1 pypi_0 pypi
mixpanel 4.7.0 pypi_0 pypi
mlagents 0.25.1 pypi_0 pypi
mlagents-envs 0.25.1 pypi_0 pypi
msrest 0.6.21 pypi_0 pypi
networkx 2.5.1 pypi_0 pypi
numpy 1.19.2 pypi_0 pypi
oauthlib 3.1.0 pypi_0 pypi
onnx 1.6.0 pypi_0 pypi
onnxconverter-common 1.8.1 pypi_0 pypi
opencv-python 4.5.1.48 pypi_0 pypi
openssl 1.1.1k h2bbff1b_0
opt-einsum 3.3.0 pypi_0 pypi
packaging 20.9 pypi_0 pypi
pandas 1.2.4 pypi_0 pypi
partd 1.2.0 pypi_0 pypi
perceptilabs 0.11.15 pypi_0 pypi
pillow 7.0.0 pypi_0 pypi
pip 21.0.1 py37haa95532_0
protobuf 3.15.8 pypi_0 pypi
psutil 5.8.0 pypi_0 pypi
psycopg2-binary 2.8.6 pypi_0 pypi
pyasn1 0.4.8 pypi_0 pypi
pyasn1-modules 0.2.8 pypi_0 pypi
pycparser 2.20 pypi_0 pypi
pydantic 1.8.1 pypi_0 pypi
pygithub 1.54.1 pypi_0 pypi
pyglet 1.5.0 pypi_0 pypi
pygments 2.8.1 pypi_0 pypi
pyjwt 1.7.1 pypi_0 pypi
pyparsing 2.4.7 pypi_0 pypi
pypiwin32 223 pypi_0 pypi
pyrsistent 0.17.3 pypi_0 pypi
python 3.7.10 h6244533_0
python-dateutil 2.8.1 pypi_0 pypi
pytz 2021.1 pypi_0 pypi
pywavelets 1.1.1 pypi_0 pypi
pywin32 300 pypi_0 pypi
pyyaml 5.4.1 pypi_0 pypi
pyzmq 22.0.3 pypi_0 pypi
requests 2.25.1 pypi_0 pypi
requests-oauthlib 1.3.0 pypi_0 pypi
rsa 4.7.2 pypi_0 pypi
s3transfer 0.4.2 pypi_0 pypi
scikit-image 0.17.2 pypi_0 pypi
scikit-learn 0.24.1 pypi_0 pypi
scipy 1.6.3 pypi_0 pypi
send2trash 1.5.0 pypi_0 pypi
sentry-sdk 0.14.3 pypi_0 pypi
setuptools 52.0.0 py37haa95532_0
six 1.15.0 pypi_0 pypi
smmap 4.0.0 pypi_0 pypi
sqlite 3.35.4 h2bbff1b_0
sqlparse 0.4.1 pypi_0 pypi
tensorboard 2.5.0 pypi_0 pypi
tensorboard-data-server 0.6.0 pypi_0 pypi
tensorboard-plugin-wit 1.8.0 pypi_0 pypi
tensorflow 2.4.1 pypi_0 pypi
tensorflow-estimator 2.4.0 pypi_0 pypi
termcolor 1.1.0 pypi_0 pypi
tf2onnx 1.7.2 pypi_0 pypi
threadpoolctl 2.1.0 pypi_0 pypi
tifffile 2021.4.8 pypi_0 pypi
toolz 0.11.1 pypi_0 pypi
typing-extensions 3.7.4.3 pypi_0 pypi
uamqp 1.3.0 pypi_0 pypi
urllib3 1.25.10 pypi_0 pypi
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
wcwidth 0.2.5 pypi_0 pypi
websockets 8.1 pypi_0 pypi
werkzeug 1.0.1 pypi_0 pypi
wheel 0.36.2 pyhd3eb1b0_0
wincertstore 0.2 py37_0
wrapt 1.12.1 pypi_0 pypi
zipp 3.4.1 pypi_0 pypi

Hey @christowm

Thank you for the logs!
The CORS issues seem familiar, I’ll circle back with our devs and see if they know what it might be.
Sorry for the issue being so persistent!

Hi Robert,

Did you hear back from the devs on this issue? Thanks again for all your help.

Cheers,
Mitch

Hi Mitch,
I pinged now again, will follow up on it better this time, sorry for the delay.
We also have a new version being released today which may remove the issue (with some luck).

You can also try to delete ~/.perceptilabs/db.sqlite3 before you start the tool and see if that helps, as well as starting the browser in incognito/private mode. That will ensure that there is nothing persisting from previous sessions.

All the best,
Robert

I have the same problem, works in Firefox, and incognito Chrome, can’t get past model creation because of all the javascript errors in in Chrome. But, when it works, it only works once during the walkthrough in the browser. After that, won’t work at all except for loading old models.

0.9f7692703ae20dacd86a.js:316 HEAD http://localhost:8011/files?path=C:\Users\neilb\Documents\Perceptilabs\Default/Model%202/model.json&token=sN4CtVNUvgefJR7FLx3wNoW9gd-V2YuY6U2h7v7hsL0 net::ERR_INVALID_HTTP_RESPONSE
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
e. @ 0.9f7692703ae20dacd86a.js:282
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
e.exports @ 0.9f7692703ae20dacd86a.js:316
e.exports @ 0.9f7692703ae20dacd86a.js:117
Promise.then (async)
a.request @ 0.9f7692703ae20dacd86a.js:316
a. @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:7
(anonymous) @ app.2e868c725819bdee5a9c.js:1
Promise.then (async)
Iphu.e.doesFileExist @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ app.2e868c725819bdee5a9c.js:1
async function (async)
(anonymous) @ app.2e868c725819bdee5a9c.js:1
loadWorkspaces @ app.2e868c725819bdee5a9c.js:1
async function (async)
loadWorkspaces @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ 0.9f7692703ae20dacd86a.js:122
u.dispatch @ 0.9f7692703ae20dacd86a.js:128
dispatch @ 0.9f7692703ae20dacd86a.js:122
n. @ 0.9f7692703ae20dacd86a.js:128
created @ app.2e868c725819bdee5a9c.js:1
We @ 0.9f7692703ae20dacd86a.js:316
tn @ 0.9f7692703ae20dacd86a.js:316
e._init @ 0.9f7692703ae20dacd86a.js:316
s @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
init @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
u @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
e._update @ 0.9f7692703ae20dacd86a.js:316
pn.before @ 0.9f7692703ae20dacd86a.js:316
pn.get @ 0.9f7692703ae20dacd86a.js:316
pn @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
xn.$mount @ 0.9f7692703ae20dacd86a.js:316
xn.$mount @ 0.9f7692703ae20dacd86a.js:316
E @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ app.2e868c725819bdee5a9c.js:1
Promise.then (async)
(anonymous) @ app.2e868c725819bdee5a9c.js:1
async function (async)
(anonymous) @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ app.2e868c725819bdee5a9c.js:1
async function (async)
(anonymous) @ app.2e868c725819bdee5a9c.js:1
+haV @ app.2e868c725819bdee5a9c.js:1
s @ app.2e868c725819bdee5a9c.js:1
a @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ app.2e868c725819bdee5a9c.js:1
0.9f7692703ae20dacd86a.js:7 Uncaught (in promise) Error: Network Error
at e.exports (0.9f7692703ae20dacd86a.js:7)
at XMLHttpRequest.d.onerror (0.9f7692703ae20dacd86a.js:316)
at XMLHttpRequest.i (0.9f7692703ae20dacd86a.js:316)
e.exports @ 0.9f7692703ae20dacd86a.js:7
d.onerror @ 0.9f7692703ae20dacd86a.js:316
i @ 0.9f7692703ae20dacd86a.js:316
async function (async)
(anonymous) @ app.2e868c725819bdee5a9c.js:1
loadWorkspaces @ app.2e868c725819bdee5a9c.js:1
async function (async)
loadWorkspaces @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ 0.9f7692703ae20dacd86a.js:122
u.dispatch @ 0.9f7692703ae20dacd86a.js:128
dispatch @ 0.9f7692703ae20dacd86a.js:122
n. @ 0.9f7692703ae20dacd86a.js:128
created @ app.2e868c725819bdee5a9c.js:1
We @ 0.9f7692703ae20dacd86a.js:316
tn @ 0.9f7692703ae20dacd86a.js:316
e._init @ 0.9f7692703ae20dacd86a.js:316
s @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
init @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
u @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
e._update @ 0.9f7692703ae20dacd86a.js:316
pn.before @ 0.9f7692703ae20dacd86a.js:316
pn.get @ 0.9f7692703ae20dacd86a.js:316
pn @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
xn.$mount @ 0.9f7692703ae20dacd86a.js:316
xn.$mount @ 0.9f7692703ae20dacd86a.js:316
E @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ app.2e868c725819bdee5a9c.js:1
Promise.then (async)
(anonymous) @ app.2e868c725819bdee5a9c.js:1
async function (async)
(anonymous) @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ app.2e868c725819bdee5a9c.js:1
async function (async)
(anonymous) @ app.2e868c725819bdee5a9c.js:1
+haV @ app.2e868c725819bdee5a9c.js:1
s @ app.2e868c725819bdee5a9c.js:1
a @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ app.2e868c725819bdee5a9c.js:1
(anonymous) @ app.2e868c725819bdee5a9c.js:1
0.9f7692703ae20dacd86a.js:250 POST https://sentry.io/api/1833551/store/?sentry_key=2497f27009b24990b4c0f3feeda4d37d&sentry_version=7 429 (Too Many Requests)
(anonymous) @ 0.9f7692703ae20dacd86a.js:250
Promise.then (async)
(anonymous) @ 0.9f7692703ae20dacd86a.js:250
e.fetch @ 0.9f7692703ae20dacd86a.js:250
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
e @ 0.9f7692703ae20dacd86a.js:316
t._sendRequest @ 0.9f7692703ae20dacd86a.js:316
t.sendEvent @ 0.9f7692703ae20dacd86a.js:316
e.sendEvent @ 0.9f7692703ae20dacd86a.js:316
e._sendEvent @ 0.9f7692703ae20dacd86a.js:316
t._sendEvent @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
onfulfilled @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
_executeHandlers @ 0.9f7692703ae20dacd86a.js:316
_attachHandler @ 0.9f7692703ae20dacd86a.js:316
(anonymous) @ 0.9f7692703ae20dacd86a.js:316
e @ 0.9f7692703ae20dacd86a.js:316
e.then @ 0.9f7692703ae20dacd86a.js:316
e._processEvent @ 0.9f7692703ae20dacd86a.js:316
e._captureEvent @ 0.9f7692703ae20dacd86a.js:316
e.captureEvent @ 0.9f7692703ae20dacd86a.js:316
e._invokeClient @ 0.9f7692703ae20dacd86a.js:316
e.captureEvent @ 0.9f7692703ae20dacd86a.js:316
callback @ 0.9f7692703ae20dacd86a.js:316
ze @ 0.9f7692703ae20dacd86a.js:316
Be.Oe.onunhandledrejection @ 0.9f7692703ae20dacd86a.js:316
0.9f7692703ae20dacd86a.js:282 [KEYCLOAK] Usage of legacy style promise methods such as .error() and .success() has been deprecated and support will be removed in future versions. Use standard style promise methods such as .then() and .catch()` instead.

@neilb,
Thanks for the logs, curious that it works well in FireFox and Chrome incognito.

Is this the first time you are running PerceptiLabs?

All the best,
Robert

Maybe I wasn’t clear, it only works with Firefox and Chrome incognito the first time, while the tutorial is active. The second time through and the same problem occurs in Firefox and Chrome incognito.

I’ve been playing with PerceptiLabs on and off since December last year.

@robertl I’ve tested again and found the cause of those errors: it’s unicode characters in the csv file. Is this not supported or a bug?
train - unicode.txt (267 Bytes)

@neilb Just adding info: your txt file opens and displays unicode characters just fine in Notepad++

12562,[#MONSTA_X] #TheCLAN #더클랜 #로스트 #ALL_IN #컴백 Here >> https://youtu.be/wNxPGbk-gwA https://twitter.com/OfficialMonstaX/status/732586501964365824 …,0.0,0.0,0.0,0.0,“N, City”,Quality

What I see in NPP (the _ above A is an underscore from the line above!)

image

but Excel is (by default) reading it as ANSI where it appears as

[#MONSTA_X] #TheCLAN #더클랜 ¡œìŠ¤íŠ¸ #ALL_IN »´ë°± Here >> https://youtu.be/wNxPGbk-gwA https://twitter.com/OfficialMonstaX/status/732586501964365824 …

It looks to me as though the CSV is fine in principle (but: XL?).

Maybe this is relevant https://www.programmersought.com/article/47272448611/ ("The above error may be due to the file that contains Chinese characters, and the default encoding = “utf-8”), but there are also (google: “python csv reader utf-8 unicode bug” for last year) some noted issues with CSV UTF-8 and pandas csv import

HTH

1 Like