os-js / osjs-client

OS.js Client Module
https://manual.os-js.org/
Other
31 stars 31 forks source link

Alpha is not working properly on Windows #8

Closed ghost closed 6 years ago

ghost commented 6 years ago

Found some bug while debugging alpha version under Windows:

GET / 304 - - 15.697 ms
GET /vendors~osjs.js 304 - - 6.258 ms
GET /osjs.css 304 - - 9.628 ms
Error: EPERM: operation not permitted, rename 'USER\PATH\TO\OS.js\sessions\DFD8yoOxvCNf8KsFBuy4s4gPwPvqAVhk.json.284074389' -> 'USER\PATH\TO\OS.js\sessions\DFD8yoOxvCNf8KsFBuy4s4gPwPvqAVhk.json'
GET /osjs.js 304 - - 12.345 ms
Error: EPERM: operation not permitted, rename 'USER\PATH\TO\OS.js\sessions\DFD8yoOxvCNf8KsFBuy4s4gPwPvqAVhk.json.1103784534' -> 'USER\PATH\TO\OS.js\sessions\DFD8yoOxvCNf8KsFBuy4s4gPwPvqAVhk.json'
POST /login 200 52 - 18.567 ms
GET /f4cfc6708cf6bfc17d4b1e775f594ae2.png 304 - - 11.639 ms
GET /metadata.json 304 - - 4.328 ms
GET /themes/Standard/index.css 304 - - 10.519 ms
GET /favicon.png 200 7625 - 6.907 ms

OS: Windows 10 64bit

The result is the empty screen (without panels and desktop) after login. @andersevenrud I'll debug it today but it would be nice if you put your assumptions what cause this issue.

Note: I installed OS.js v3 strictly according the manual: https://manual.os-js.org/v3/install/#setup

andersevenrud commented 6 years ago

Can you post the contents of the console in Developer Tools ?

ghost commented 6 years ago

No errors. No warnings. Body contains only two scripts elements:

<body data-gr-c-s-loaded="true" class="osjs-root" style="font-family: Roboto, sans-serif; background-size: cover; background-color: rgb(87, 42, 121); background-image: url(&quot;f4cfc6708cf6bfc17d4b1e775f594ae2.png&quot;);">
  <script type="text/javascript" src="vendors~osjs.js"></script><script type="text/javascript" src="osjs.js"></script>

</body>

Console.log output:

vendors~osjs.js:973 Core::boot()
vendors~osjs.js:5977 Provider binding osjs/settings
vendors~osjs.js:5977 Provider binding osjs/auth
vendors~osjs.js:1007 Core::start()
vendors~osjs.js:5977 Provider binding osjs/application
vendors~osjs.js:5977 Provider binding osjs/window
vendors~osjs.js:5977 Provider binding osjs/event-handler
vendors~osjs.js:5977 Provider binding osjs/window-behavior
vendors~osjs.js:5977 Provider binding osjs/request
vendors~osjs.js:5977 Provider binding osjs/session
vendors~osjs.js:5977 Provider binding osjs/core
vendors~osjs.js:5977 Provider binding osjs/tray
vendors~osjs.js:5977 Provider binding osjs/packages
vendors~osjs.js:5977 Provider binding osjs/package
vendors~osjs.js:5977 Provider binding osjs/desktop
vendors~osjs.js:5977 Provider binding osjs/theme
vendors~osjs.js:5977 Provider binding osjs/vfs
vendors~osjs.js:5977 Provider binding osjs/fs
vendors~osjs.js:5977 Provider binding osjs/notification
vendors~osjs.js:5977 Provider binding osjs/panels
vendors~osjs.js:5977 Provider binding osjs/dialog
vendors~osjs.js:5977 Provider binding osjs/dialogs
vendors~osjs.js:5977 Provider binding osjs/contextmenu
andersevenrud commented 6 years ago

I've published a new version of @osjs/client that resolves this issue.

ghost commented 6 years ago

Awesome! Thanks

Just tested. It works now

Server error is still persisted. I'll post osjs-server issue