Giter Site home page Giter Site logo

Comments (17)

bordaigorl avatar bordaigorl commented on July 4, 2024

Syntax errors are a telltale sign that you might be using Python 2 instead of Python 3.
I would adivse you to manage your python versions with pyenv.
What does python --version return?

from rmview.

Cindy-Jie-01 avatar Cindy-Jie-01 commented on July 4, 2024

Oh yes, that's a problem. How do you make python call python3? I do have it downloaded. (on Mac)

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

That depends a lot on the OS you are using.
In general it is a good idea to use pyenv to manage multiple versions on the same system.
If you think you installed Python 3, you should be able to call python3 and pip3 from your console.

from rmview.

Cindy-Jie-01 avatar Cindy-Jie-01 commented on July 4, 2024

Another issue came up, and I'm not sure what's going on:

File "/Downloads/rmview-vnc/src/rmview/rmview.py", line 5, in
from . import resources
ImportError: attempted relative import with no known parent package

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

Are you following the instructions on the Readme or doing something different?
If you do pip3 install . from the root folder of the repo, you should then be able to just run rmview from the console.
If you want to manually run the script, you should use python3 -m rmview.

from rmview.

Cindy-Jie-01 avatar Cindy-Jie-01 commented on July 4, 2024

I am following the instructions on the Readme, but for me pip3 install . would not work, so I had to install twisted and the other packages separately. I'm not sure where things went wrong.

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

What is the error you get if you run pip3 install .? Which operating system are you using?
If you give me more info on the precise errors you are getting I can try and help.

from rmview.

Cindy-Jie-01 avatar Cindy-Jie-01 commented on July 4, 2024

I'm on Mac OS the latest version and I have X code installed. When I run pip3 install . I get:

ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

Thanks for the help! I do not know if this is helpful or not, but the rmview-vnc folder is currently in my downloads folder.

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

Ah I was suspecting that. You need to run pip3 install . from the top-level folder of rmview.
This most likely means running cd ~/Downloads/rmview-vnc on the console, but it really depends on where you downloaded rmview.

from rmview.

Cindy-Jie-01 avatar Cindy-Jie-01 commented on July 4, 2024

It installed! What's the proper command line for running the application? Just to make sure I don't do it wrong.

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

rmview should now work from anywhere, type it in the console and the app should launch.
It is possible to have a launcher but that's a bit more involved.

from rmview.

Cindy-Jie-01 avatar Cindy-Jie-01 commented on July 4, 2024

I get this message when running it: "I could not connect to the reMarkable at 10.11.99.1:
No authentication methods available." Does that mean I have to connect to the remarkable via ssh first? (I do have my remarkable plugged in to my computer.)

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

The simplest way is to provide your tablet password in the config file as documented in the Readme.
I am in the middle of making the config part more user-friendly so unfortunately you got a version that does not ask for the password by default.
The most convenient way would be to setup ssh so you can authenticate using a key.

from rmview.

Cindy-Jie-01 avatar Cindy-Jie-01 commented on July 4, 2024

Where do I put the config file? I tried under the rmview-vnc folder where the example.json is located, but that didn't work, so I tried the src folder, but that also did not work. I named my file test.json and ran rmview [test]

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

The [config] instructions use the common notation of enclosing in square brackets the parameters that are optional.
So the right way for you to invoke the script is rmview test.json. This assumes you are running rmview from the folder where test.json is. Otherwise you need to specify the full path, like rmview ~/Downloads/rmview-vnc/test.json.

from rmview.

Cindy-Jie-01 avatar Cindy-Jie-01 commented on July 4, 2024

Thank you! Last question, when I set background_color to black, the window is still white. Is black not a recognized color?

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

Ah no, there's a typo! It should be bg_color instead of background_color!
Thanks for reporting.
In any case that setting changes the background of the window, the area where the tablet's screen is reproduced will still have white background.

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.