Skip to content
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] Slithin crashes when I want to access the device #80

Closed
tbrandysky opened this issue Feb 18, 2022 · 3 comments
Closed

[Bug] Slithin crashes when I want to access the device #80

tbrandysky opened this issue Feb 18, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@tbrandysky
Copy link

Describe the bug

App crashes when I want to connect to my device

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Install .deb package
  2. start Slithin
  3. enter IP address of my Remarkable 2 on LAN
  4. See error

Expected behavior

Slithin crashes

A clear and concise description of what you expected to happen.

Screenshots

shamot@shamot-XPS-13-7390:~$ Slithin
Unhandled exception. System.ArgumentNullException: Cannot pass null model to Validate. (Parameter 'instanceToValidate')
at FluentValidation.Internal.ExtensionsInternal.Guard(Object obj, String message, String paramName) in /media/jskinner/Linux2/code/FluentValidation/src/FluentValidation/Internal/ExtensionsInternal.cs:line 29
at FluentValidation.AbstractValidator1.EnsureInstanceNotNull(Object instanceToValidate) in /media/jskinner/Linux2/code/FluentValidation/src/FluentValidation/AbstractValidator.cs:line 407 at FluentValidation.AbstractValidator1.Validate(ValidationContext1 context) in /media/jskinner/Linux2/code/FluentValidation/src/FluentValidation/AbstractValidator.cs:line 114 at FluentValidation.AbstractValidator1.Validate(T instance) in /media/jskinner/Linux2/code/FluentValidation/src/FluentValidation/AbstractValidator.cs:line 62
at Slithin.ViewModels.ConnectionWindowViewModel.Connect(Object obj) in D:\a\Slithin\Slithin\Source\Slithin\ViewModels\ConnectWindowViewModel.cs:line 71
at Slithin.Core.DelegateCommand.Execute(Object parameter) in D:\a\Slithin\Slithin\Source\Slithin\Core\DelegateCommand.cs:line 31
at Avalonia.Controls.Button.OnClick() in //src/Avalonia.Controls/Button.cs:line 316
at Avalonia.Controls.Button.RootDefaultKeyDown(Object sender, KeyEventArgs e) in /
/src/Avalonia.Controls/Button.cs:line 552
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e) in //src/Avalonia.Interactivity/EventRoute.cs:line 152
at Avalonia.Interactivity.EventRoute.RaiseEvent(IInteractive source, RoutedEventArgs e) in /
/src/Avalonia.Interactivity/EventRoute.cs:line 79
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e) in //src/Avalonia.Interactivity/Interactive.cs:line 123
at Avalonia.Input.KeyboardDevice.ProcessRawEvent(RawInputEventArgs e) in /
/src/Avalonia.Input/KeyboardDevice.cs:line 248
at Avalonia.Input.InputManager.ProcessInput(RawInputEventArgs e) in //src/Avalonia.Input/InputManager.cs:line 37
at Avalonia.X11.X11Window.b__121_0() in /
/src/Avalonia.X11/X11Window.cs:line 740
at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in //src/Avalonia.Base/Threading/JobRunner.cs:line 37
at Avalonia.X11.X11PlatformThreading.HandleX11(CancellationToken cancellationToken) in /
/src/Avalonia.X11/X11PlatformThreading.cs:line 169
at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken) in //src/Avalonia.X11/X11PlatformThreading.cs:line 245
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /
/src/Avalonia.Base/Threading/Dispatcher.cs:line 65
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 132
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /
/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 187
at Slithin.Program.Main(String[] args) in D:\a\Slithin\Slithin\Source\Slithin\Program.cs:line 21
Aborted (core dumped)

Desktop (please complete the following information):

  • OS: Linux Mint 20.3 Cinnamon
@tbrandysky tbrandysky added the bug Something isn't working label Feb 18, 2022
@furesoft
Copy link
Owner

Are you trying to connect directly or have you added your device with the + Button?

@tbrandysky
Copy link
Author

tbrandysky commented Feb 18, 2022 via email

@furesoft
Copy link
Owner

Currently ssh keys are not supported but good point. I add it to my todo. If you want to use Slithin try to Set a ssh password

@furesoft furesoft added this to To do in Slithin Beta Feb 18, 2022
Slithin Beta automation moved this from To do to Done Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants