-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Gauzy Server on Windows fails with "Error processing argument at index 0, conversion failure" #7777
Comments
@KarinaNi it looks like your available work area resolution is relatively low (see log messages):
So it seems something failing in our code when it tries to resize the Window of the Server app.... |
Thank you! |
@KarinaNi can you try to install pre-release version from https://github.com/ever-co/ever-gauzy-server/releases/tag/v0.475.8 and let us know if it helps or not. If not, send again log file output please :) |
Ok, thank you for the support and I have some updates. I managed to get hold of the picture that kept disappearing I attached. It lead me to the server main log in the app as I expected. However, 0.0.0.0:4200 refused to connect. I do have a firewall working if that is relevant. I added the updated log files here. Please tell me what i am doing wrong or my next steps. Thank you! If there is a better way of showing log files, do let me know.
|
Hm, can you try latest final release https://github.com/ever-co/ever-gauzy-server/releases/tag/v0.475.9. It seems you hit now another issue that we fixed in the past already. |
Tried changing IP in setup and it was server down maintenance error again |
OK @KarinaNi , so server down maintenance message means that frontend cant connect to API. Show logs that you see now. I suggest to do this: stop server, remove log files, start server wait till all load and you see that message, copy log files and send here. Also show screenshot of the Gauzy Server running with output too so I can see output. Basically, you seems very close to have it running now... |
Okay so I tried running the server again, I didn't delete the log files, started the server again and the log is as follows. The app log was only giving a few lines so i just got this all from main.log
|
Environment
I'm attempting to run the Gauzy server on localhost:4200. I have installed PostgreSQL and tried to create a database with a password. After clicking on "Check and Save," I tried accessing both localhost:4200 and localhost:3000, but both resulted in a "refused to connect" error. Additionally, the Gauzy server gets stuck at the starting stage, and a dialog box with a "P" button briefly appears and disappears. I also have postgresql.exe install and tried to run it. It doesn't come quite an app like it does on Mac.
I checked the log file and found the following error. I have changed my username to the word UserName
[2024-04-29 09:42:37.064] [error] MAINUNEXCEPTION Error processing argument at index 0, conversion failure from [2024-04-29 09:42:37.064] [info] Send report event Error processing argument at index 0, conversion failure from [2024-04-29 09:42:37.070] [info] Show error event Error processing argument at index 0, conversion failure from [2024-04-29 09:42:51.488] [info] Node Modules Path C:\Program Files\Ever\Gauzy Server\resources\app.asar\node_modules [2024-04-29 09:42:52.232] [info] DesktopActiveWindow -> constructor -> timestamp 2024-04-29T06:42:52.231Z [2024-04-29 09:42:52.423] [info] [provider]: postgres connected... [2024-04-29 09:42:52.453] [info] GAUZY_USER_PATH: C:\Users\Username\AppData\Roaming\Gauzy Server [2024-04-29 09:42:52.454] [info] GAUZY_SEED_PATH: C:\Program Files\Ever\Gauzy Server\resources\app.asar\api\assets\seed [2024-04-29 09:42:52.454] [info] Sqlite DB path: C:\Users\Username\AppData\Roaming\Gauzy Server/gauzy.sqlite3 [2024-04-29 09:42:52.462] [info] App is packaged true [2024-04-29 09:42:52.463] [info] Gauzy UI path C:\Program Files\Ever\Gauzy Server\resources\data\ui\index.html [2024-04-29 09:42:52.463] [info] UI path C:\Program Files\Ever\Gauzy Server\resources\app.asar\index.html [2024-04-29 09:42:52.464] [info] Dir path C:\Program Files\Ever\Gauzy Server\resources\data\ui [2024-04-29 09:42:52.743] [info] App is ready [2024-04-29 09:42:54.920] [info] launched electron with: file:///C:\Program Files\Ever\Gauzy Server\resources\app.asar\index.html#/splash-screen [2024-04-29 09:43:00.698] [info] launched electron with: file:///C:\Program Files\Ever\Gauzy Server\resources\app.asar\index.html#/server-dashboard [2024-04-29 09:43:00.866] [info] Run Gauzy Server Event Handler [2024-04-29 09:43:00.867] [info] Run the Server... [2024-04-29 09:43:00.868] [info] Reading file C:\Program Files\Ever\Gauzy Server\resources\data\ui\index.html [2024-04-29 09:43:00.870] [info] Writing file C:\Program Files\Ever\Gauzy Server\resources\data\ui\index.html [2024-04-29 09:43:00.872] [info] DesktopServer -> start [2024-04-29 09:43:00.876] [info] Start Server Task [2024-04-29 09:43:00.877] [info] Run Server Task [2024-04-29 09:43:00.878] [info] creating process with processPath: C:\Program Files\Ever\Gauzy Server\resources\app.asar\api\main.js args: {"IS_ELECTRON":"true","DB_PATH":"C:\\Users\\Username\\AppData\\Roaming\\Gauzy Server/gauzy.sqlite3","DB_TYPE":"postgres","DB_HOST":"localhost","DB_PORT":"5432","DB_NAME":"postgres","DB_USER":"postgres","DB_PASS":"123","API_PORT":3000,"db":"better-sqlite","serviceName":"api","API_HOST":"0.0.0.0","API_BASE_URL":"http://127.0.0.1:3000"} [2024-04-29 09:43:00.944] [info] Service created [2024-04-29 09:43:00.994] [info] expand_window [2024-04-29 09:43:00.995] [info] width 1429 [2024-04-29 09:43:00.996] [info] height 768 [2024-04-29 09:43:01.006] [error] Unhandled Exception TypeError: Error processing argument at index 0, conversion failure from at BrowserWindow.setBounds (node:electron/js2c/browser_init:2:8958) at IpcMainImpl.<anonymous> (C:\Program Files\Ever\Gauzy Server\resources\app.asar\index.js:513:30) at IpcMainImpl.emit (node:events:517:28) at IpcMainImpl.emit (node:domain:489:12) at WebContents.<anonymous> (node:electron/js2c/browser_init:2:86338) at WebContents.emit (node:events:517:28) at WebContents.emit (node:domain:489:12) [2024-04-29 09:43:01.007] [error] MAINUNEXCEPTION Error processing argument at index 0, conversion failure from [2024-04-29 09:43:01.008] [info] Send report event Error processing argument at index 0, conversion failure from [2024-04-29 09:43:01.014] [info] Show error event Error processing argument at index 0, conversion failure from
The text was updated successfully, but these errors were encountered: