Giter Site home page Giter Site logo

Comments (8)

Legohead259 avatar Legohead259 commented on July 25, 2024 1

Ok. I also ran into some other issues that I was able to resolve myself. Would it be alright if I created an install guide for Windows on that Wiki page?

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

I am a bit confused by the description of your problem.
Have you tried to connect using user and password?
I don't understand what you mean by "the program crashes because the JSON settings file is not created"...
the idea is that you should create a text file with the JSON code with your settings, then call rmview PATH_OF_YOUR_FILE so that the tool finds the file. You can also just use the default location for the JSON file by running rmview, inserting the connection parameters when prompted and then if an error dialog displays you should see a "Settings" button. Click on it and the default configuration file should appear. Modify and save it, then relaunch rmview.

from rmview.

Legohead259 avatar Legohead259 commented on July 25, 2024

I have tried connecting with the username and password. Even with the correct information, I get a pop up saying that the it is unable to connect because the server host is unknown
image

For the settings issue, I was initially getting this error:

Searching configuration in rmview.json, C:/Users/legoh/AppData/Local/python\rmview.json
QWindowsWindow::setGeometry: Unable to set geometry 100x200+640+275 (frame: 118x247+631+237) on QWidgetWindow/"QtImageViewerClassWindow" on "\\.\DISPLAY1". Resulting geometry: 148x200+640+275 (frame: 166x247+631+237) margins: 9, 38, 9, 9)
{'ssh': {'address': '10.11.99.1', 'password': '**********'}}
Connecting...
Could not connect to 10.11.99.1: Server '10.11.99.1' not found in known_hosts
Please check your remarkable is connected and retry.
Server '10.11.99.1' not found in known_hosts
Traceback (most recent call last):
  File "c:\users\legoh\appdata\local\programs\python\python39\lib\site-packages\rmview\rmview.py", line 400, in connectionError
    self.openSettings(prompt=False)
  File "c:\users\legoh\appdata\local\programs\python\python39\lib\site-packages\rmview\rmview.py", line 338, in openSettings
    with open(confpath, "w") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\legoh\\AppData\\Local\\python\\rmview.json'

Now, I have created the "python" folder where it expects it and it still crashes when I click on the "settings" button.

Searching configuration in rmview.json, C:/Users/legoh/AppData/Local/python\rmview.json
Fetching configuration from C:/Users/legoh/AppData/Local/python\rmview.json
{'ssh': {'address': '10.11.99.1', 'password': '**********'}, 'orientation': 'auto', 'pen_size': 15, 'pen_color': 'red', 'pen_trail': 200}
Connecting...
Could not connect to 10.11.99.1: Server '10.11.99.1' not found in known_hosts
Please check your remarkable is connected and retry.
Server '10.11.99.1' not found in known_hosts

Bye!

from rmview.

Legohead259 avatar Legohead259 commented on July 25, 2024

I also just added "insecure_auto_add_host": true to the JSON file and still get the same errors.

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Thanks that's useful information.
There are two unrelated problems, one with the crash when pressing "Settings..." the other with the connection parameters.

For the settings button: you are right there is a bug, I'm going to push a fix soon.
If you make sure the file at the math in the first line of the log exists, what does the crash report when you press "Settings"?

For the connection parameters:
are you specifying "insecure_auto_add_host": true inside the ssh section?
Could you post the configuration file and the output?

A quick way out would be to connect to the tablet with ssh manually from a terminal and then follow the instructions for updating the known hosts...

from rmview.

Legohead259 avatar Legohead259 commented on July 25, 2024

Good. I'm sorry my initial explanation wasn't clear.

Is there a separate log file for crash reports? What I posted is verbatim directly from the terminal; there doesn't seem to be a crash log printed there. Just closes and says, "Bye!"

I've got it to recognize the SSH key now. I was using the PuTTY terminal, not a command terminal which was putting the SSH key somewhere the program was not expecting. If I can make a recommendation, please include a guide on how to generate the SSH key in the README.

Besides the "settings" button issue, the program works as expected now.

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

I don't have a Window machine and SSH is not really native there (or maybe nowadays it is) so there might be many ways to handle the connection parameters system-wide. I might revise how host keys are handled by rMview in the future.
In the meantime, I'd be grateful if you added a page to the wiki (it should be freely editable) with the instruction you'd have wanted to see in the Readme, so I can point there if others have the same problem.

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

That would be amazing thanks!

from rmview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.