Comments (8)
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.
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.
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
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.
I also just added "insecure_auto_add_host": true
to the JSON file and still get the same errors.
from rmview.
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.
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.
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.
That would be amazing thanks!
from rmview.
Related Issues (20)
- Screen Share connection not possible after 2.11 update HOT 1
- Can not pass the Authenticating step HOT 1
- Strange color rendering HOT 5
- Turning page time HOT 3
- rmview hung on authentication HOT 15
- [FR] Named ssh connections
- configparser.DuplicateOptionError after Update 2.14 HOT 4
- Running on Linux HOT 3
- Authenticated but not sharing HOT 1
- Connection error with fw 2.15.0.1052 HOT 3
- rm 3.0 compatibility issues? Screen view not functioning HOT 43
- Couldn't listen on any:5901: [Errno 98] Address already in use.
- rmview screen doesn't respond, only show the trail HOT 1
- Update tooling HOT 2
- add fullscreen mode HOT 3
- RM Version 3.6 - libcrypto.so.1.1 not found HOT 5
- Recommend installation using Pipx
- Issues connecting HOT 1
- Screen stuck on "Connecting to reMarkable..." but red-dot is there, seems to be stuck on authentication HOT 7
- VNcClient auth failed, currently ignored HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmview.