janus icon indicating copy to clipboard operation
janus copied to clipboard

Windows run withour docker and it give you poth error

Open dhruv-kabariya opened this issue 1 year ago • 1 comments

[Short description of problem here]

  1. download Windows binary and try to start the server it will give you a path error

Reproduction Steps:

  1. Download the Windows binary
  2. extract the tar file and try to start the server on Windows
  3. it will give you "could not build a repository for the database: could not create a file system repository: open /D:/mederec/backend/api-gateway/janus/janus/apis: The filename, directory name, or volume label syntax is incorrect." error every time

Expected behavior:

The server should start

Observed behavior:

This is happening because of path differences in Windows and Linux systems. ( Actually, I have debugged the problem and found the solution in the file system should the parameter need to change it is adding an extra "/" at the start of path in Windows however it shouldn't)

Janus version: janus_4.0.0_windows_amd64.tar ( latest build ) OS and version: Windows 10

dhruv-kabariya avatar Jun 15 '23 18:06 dhruv-kabariya

Also, sometimes in the formated string logs %w is written. Is this correct or need to change to %v

dhruv-kabariya avatar Jun 15 '23 18:06 dhruv-kabariya