lovasoa / SQLpage

SQL-only webapp builder, empowering data analysts to build websites and applications quickly
https://sql.ophir.dev
MIT License
880 stars 62 forks source link

connection to database sqllite with windows: error with configuration: unknown query parameter #413

Closed alexisrc1 closed 2 weeks ago

alexisrc1 commented 2 weeks ago

Hello !

error with configuration

[2024-06-16T09:53:46.863Z INFO  sqlpage::app_config] No DATABASE_URL provided, "\\\\?\\C:\\Users\\arougecarrassat\\OneDrive - eric-bompard.com\\Documents\\brouillon\\SQLPAGE\\test_apps\\sqlpage-windows\\sqlpage\\sqlpage.db" is writable, creating a new database file.
[2024-06-16T09:53:46.864Z ERROR sqlpage] "sqlite://\\\\?\\C:\\Users\\arougecarrassat\\OneDrive - eric-bompard.com\\Documents\\brouillon\\SQLPAGE\\test_apps\\sqlpage-windows\\sqlpage\\sqlpage.db?mode=rwc" is not a valid database URL

    Caused by:
        0: error with configuration: unknown query parameter `\C:\Users\arougecarrassat\OneDrive - eric-bompard.com\Documents\brouillon\SQLPAGE\test_apps\sqlpage-windows\sqlpage\sqlpage.db?mode` while parsing connection URL
        1: unknown query parameter `\C:\Users\arougecarrassat\OneDrive - eric-bompard.com\Documents\brouillon\SQLPAGE\test_apps\sqlpage-windows\sqlpage\sqlpage.db?mode` while parsing connection URL
lovasoa commented 2 weeks ago

Thanks for the bug report. Can you test the latest binary and confirm it's fixed ?