[GH-ISSUE #439] Desktop shortcut #1318

Closed
opened 2026-02-28 12:03:44 +03:00 by kerem · 9 comments
Owner

Originally created by @majkinetor on GitHub (Jun 21, 2023).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/439

Originally assigned to: @majkinetor, @VShawn on GitHub.

After command line options are done (#427) we can have simple UX for creating desktop shortcuts to specific connections.

Tasks

Create items in

  1. Connection context menu (uses ULID command line option)
  2. Tag context menu (uses #tag command line option)
  3. Bulk options (uses ULID command line options)
  4. Craeting desktop short in guidance

Also:

  1. each also uses --start-minimized
  2. shortcut icon is set to that of the connection
Originally created by @majkinetor on GitHub (Jun 21, 2023). Original GitHub issue: https://github.com/1Remote/1Remote/issues/439 Originally assigned to: @majkinetor, @VShawn on GitHub. After command line options are done (#427) we can have simple UX for creating desktop shortcuts to specific connections. ## Tasks Create items in 1. [x] Connection context menu (uses ULID command line option) 2. [x] Tag context menu (uses #tag command line option) 1. [x] Bulk options (uses ULID command line options) 2. [x] Craeting desktop short in guidance Also: 1. [x] each also uses `--start-minimized` 3. [x] shortcut icon is set to that of the connection
Author
Owner

@majkinetor commented on GitHub (Jun 21, 2023):

I like it now when you change icon on the desktop shortcut manually and launch the connection, that icon is shown in the taskbar instead of usual 1remote icon. We should set the icon of the connection to be that of the shortcut icon.

<!-- gh-comment-id:1601379067 --> @majkinetor commented on GitHub (Jun 21, 2023): I like it now when you change icon on the desktop shortcut manually and launch the connection, that icon is shown in the taskbar instead of usual 1remote icon. We should set the icon of the connection to be that of the shortcut icon.
Author
Owner

@VShawn commented on GitHub (Jun 27, 2023):

image

Note: since the shortcuts needs a ico file to custom icon, I saved the generated icons to the ./.locality/icons folder. The number of icons in this folder may increase over time.

<!-- gh-comment-id:1608708993 --> @VShawn commented on GitHub (Jun 27, 2023): ![image](https://github.com/1Remote/1Remote/assets/10143738/5fd8199a-a4bc-4c78-8481-e29e4015d03d) Note: since the shortcuts needs a ico file to custom icon, I saved the generated icons to the `./.locality/icons` folder. The number of icons in this folder may increase over time.
Author
Owner

@VShawn commented on GitHub (Jul 2, 2023):

I think it's done.

<!-- gh-comment-id:1616270439 --> @VShawn commented on GitHub (Jul 2, 2023): I think it's done.
Author
Owner

@majkinetor commented on GitHub (Jul 2, 2023):

Can't test it, latest two versions produce error imediatelly upon startup:

Environment

Component Version
1Remote 1.0.0-beta.04(EXE Release)
.NET Framework ``
CLR 6.0.18
OS Windows 10 Pro N 64-bits 10.0.22621.0 (2009)

Error Info

Value cannot be null. (Parameter 'path1')

Stack Trace

   at System.IO.Path.Combine(String path1, String path2)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString)
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186
   at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83
   at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274
   at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89
   at Stylet.BootstrapperBase.Start(String[] args)
   at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e)
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log

[T:001][17:13:21.608]	`Fatal`		[Bootstrapper.cs(OnUnhandledException:139)]	
> System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
   at System.IO.Path.Combine(String path1, String path2)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString)
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186
   at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83
   at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274
   at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89
   at Stylet.BootstrapperBase.Start(String[] args)
   at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e)
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    at System.IO.Path.Combine(String path1, String path2)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString)
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186
   at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83
   at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274
   at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89
   at Stylet.BootstrapperBase.Start(String[] args)
   at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e)
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[T:001][17:14:16.135]	`Fatal`		[Bootstrapper.cs(OnUnhandledException:139)]	
> System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
   at System.IO.Path.Combine(String path1, String path2)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString)
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186
   at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83
   at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274
   at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89
   at Stylet.BootstrapperBase.Start(String[] args)
   at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e)
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    at System.IO.Path.Combine(String path1, String path2)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)
   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString)
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85
   at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166
   at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186
   at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83
   at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274
   at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89
   at Stylet.BootstrapperBase.Start(String[] args)
   at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e)
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

<!-- gh-comment-id:1616803200 --> @majkinetor commented on GitHub (Jul 2, 2023): Can't test it, latest two versions produce error imediatelly upon startup: <details> ## Environment | Component | Version | |:------------------|:--------------------------------------| |1Remote | `1.0.0-beta.04`(EXE Release)| |.NET Framework | `` | |CLR | `6.0.18` | |OS | `Windows 10 Pro N 64-bits 10.0.22621.0 (2009)` | ## Error Info Value cannot be null. (Parameter 'path1') ## Stack Trace ``` at System.IO.Path.Combine(String path1, String path2) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString) at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85 at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55 at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166 at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186 at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83 at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274 at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89 at Stylet.BootstrapperBase.Start(String[] args) at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58 at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ``` ## Recent Log ``` [T:001][17:13:21.608] `Fatal` [Bootstrapper.cs(OnUnhandledException:139)] > System.ArgumentNullException: Value cannot be null. (Parameter 'path1') at System.IO.Path.Combine(String path1, String path2) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString) at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85 at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55 at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166 at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186 at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83 at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274 at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89 at Stylet.BootstrapperBase.Start(String[] args) at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58 at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: at System.IO.Path.Combine(String path1, String path2) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString) at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85 at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55 at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166 at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186 at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83 at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274 at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89 at Stylet.BootstrapperBase.Start(String[] args) at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58 at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) [T:001][17:14:16.135] `Fatal` [Bootstrapper.cs(OnUnhandledException:139)] > System.ArgumentNullException: Value cannot be null. (Parameter 'path1') at System.IO.Path.Combine(String path1, String path2) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString) at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85 at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55 at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166 at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186 at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83 at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274 at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89 at Stylet.BootstrapperBase.Start(String[] args) at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58 at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: at System.IO.Path.Combine(String path1, String path2) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework) at System.Data.SQLite.SQLiteConnection..ctor(String connectionString) at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenConnection(String actionInfo) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 85 at _1RM.Service.DataSource.DAO.Dapper.DapperDatabase.OpenNewConnection(String newConnectionString) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DAO\Dapper\DapperDataBase.cs:line 55 at _1RM.Service.DataSource.Model.DataSourceBase.Database_OpenConnection(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 166 at _1RM.Service.DataSource.Model.DataSourceBase.Database_SelfCheck(Int32 connectTimeOutSeconds) in D:\a\1Remote\1Remote\Ui\Service\DataSource\Model\DataSourceBase.Source.cs:line 186 at _1RM.Service.DataSource.DataSourceService.InitLocalDataSource(SqliteSource sqliteConfig) in D:\a\1Remote\1Remote\Ui\Service\DataSource\DataSourceService.cs:line 83 at _1RM.AppInitHelper.InitOnConfigure() in D:\a\1Remote\1Remote\Ui\AppInit.cs:line 274 at _1RM.Bootstrapper.Configure() in D:\a\1Remote\1Remote\Ui\Bootstrapper.cs:line 89 at Stylet.BootstrapperBase.Start(String[] args) at Stylet.BootstrapperBase.<Setup>b__9_0(Object o, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at _1RM.App.OnStartup(StartupEventArgs e) in D:\a\1Remote\1Remote\Ui\App.xaml.cs:line 58 at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ``` </details>
Author
Owner

@VShawn commented on GitHub (Jul 3, 2023):

I encountered this issue in my Windows 11 virtual machine (as you can see, the package is marked as not compatible with Win11), but I didn't expect the issue occur on Win10 as well.

The error is localized within the System.Data.SQLite.dll, but the parameters passed to it have not been altered. Therefore, I am still unsure the cause of this error

(FYI recent versions of System.Data.SQLite.dll underwent a few switches: official System.Data.SQLite.dll 1.0.117 -> Microsoft System.Data.SQLite.dll -> official System.Data.SQLite.dll 1.0.118).

<!-- gh-comment-id:1617055165 --> @VShawn commented on GitHub (Jul 3, 2023): I encountered this issue in my Windows 11 virtual machine (as you can see, the package is marked as not compatible with Win11), but I didn't expect the issue occur on Win10 as well. The error is localized within the `System.Data.SQLite.dll`, but the parameters passed to it have not been altered. Therefore, I am still unsure the cause of this error (FYI recent versions of System.Data.SQLite.dll underwent a few switches: official `System.Data.SQLite.dll` 1.0.117 -> Microsoft `System.Data.SQLite.dll` -> official `System.Data.SQLite.dll` 1.0.118).
Author
Owner

@VShawn commented on GitHub (Jul 3, 2023):

plz check the latest one, it works on my Win11 after I switch sqlite lib to official 1.0.117

1Remote-1.0.0.0-beta.05-net6-x64-nightly-20230702-6b3237

image

<!-- gh-comment-id:1617458384 --> @VShawn commented on GitHub (Jul 3, 2023): plz check the latest one, it works on my Win11 after I switch sqlite lib to official 1.0.117 `1Remote-1.0.0.0-beta.05-net6-x64-nightly-20230702-6b3237` ![image](https://github.com/1Remote/1Remote/assets/10143738/192486ec-dea1-42da-a687-6c3bc8352312)
Author
Owner

@majkinetor commented on GitHub (Jul 3, 2023):

That works, tested on both W10 and 11 👍

<!-- gh-comment-id:1617959185 --> @majkinetor commented on GitHub (Jul 3, 2023): That works, tested on both W10 and 11 👍
Author
Owner

@majkinetor commented on GitHub (Jul 3, 2023):

Reopning this until docs is done.

<!-- gh-comment-id:1618393607 --> @majkinetor commented on GitHub (Jul 3, 2023): Reopning this until docs is done.
Author
Owner

@VShawn commented on GitHub (Jul 23, 2023):

simple doc added

<!-- gh-comment-id:1646706130 --> @VShawn commented on GitHub (Jul 23, 2023): simple doc added
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#1318
No description provided.