timeseries / qstudio

qStudio - Free SQL Analysis Tool
https://www.timestored.com/qstudio/
Apache License 2.0
416 stars 17 forks source link

Adding same .db again throws error #71

Open ryanhamilton opened 1 week ago

ryanhamilton commented 1 week ago

Website Contact: I can't open a .db file from my local diretory what I'm doing wrong, I keep getting this error.


OS=Windows 10
Java=11.0.20
Des=unknown
Stack=java.lang.reflect.InvocationTargetException
        at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
        at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
        at java.desktop/javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
        at com.timestored.qstudio.QStudioLauncher.main(QStudioLauncher.java:141)
Caused by: java.lang.IllegalArgumentException: Server name must be unique. Cant use this call to update settings.
        at com.timestored.connections.ConnectionManager.addServerSilently(ConnectionManager.java:187)
        at com.timestored.connections.ConnectionManager.addServer(ConnectionManager.java:207)
        at com.timestored.qstudio.QStudioFrame.addDBfiles(QStudioFrame.java:1730)
        at com.timestored.qstudio.QStudioFrame.handleArgsFiles(QStudioFrame.java:1663)
        at com.timestored.qstudio.QStudioFrame.handleArgs(QStudioFrame.java:1654)
        at com.timestored.qstudio.QStudioLauncher$2.launch(QStudioLauncher.java:260)
        at com.timestored.qstudio.QStudioLauncher$2.run(QStudioLauncher.java:143)

Tried to recreate this by opening file that was already open and got this error, still bad:

image