Giter VIP home page Giter VIP logo

klipper-on-android's People

Contributors

gaifeng8864 avatar yingmak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

klipper-on-android's Issues

How are you able to run "sudo"?

I've tried different solutions to my Note 5 used to control klipper, but I see now way to run "sudo" inside Linux deploy application because of the way it's mounted.

How are you able to run sudo? Is there something different that you have done to your phone besides rooting it?

klipperscreen can't install

Hello
Trying to install klipperscreen but there's an error
can someone please help

Creating virtual environment
Collecting jinja2==3.1.2 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 1))
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting netifaces==0.11.0 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 2))
Using cached netifaces-0.11.0.tar.gz (30 kB)
Preparing metadata (setup.py) ... done
Collecting requests==2.31.0 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 3))
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting websocket-client==1.5.3 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 4))
Using cached websocket_client-1.5.3-py3-none-any.whl (56 kB)
Collecting pycairo==1.23.0 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 5))
Using cached pycairo-1.23.0-cp37-cp37m-linux_armv7l.whl
Collecting PyGObject==3.44.1 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 6))
Using cached PyGObject-3.44.1.tar.gz (720 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting python-mpv==0.5.2 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 7))
Using cached python-mpv-0.5.2.tar.gz (25 kB)
Preparing metadata (setup.py) ... done
Collecting six==1.16.0 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 8))
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting dbus-python==1.3.2 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 9))
Using cached dbus-python-1.3.2.tar.gz (605 kB)
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [129 lines of output]
Collecting meson-python>=0.8.1
Using cached meson_python-0.13.1-py3-none-any.whl (79 kB)
Collecting meson>=0.60.0
Using cached meson-1.1.1-py3-none-any.whl (918 kB)
Collecting ninja
Using cached ninja-1.11.1.tar.gz (27 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting patchelf
Using cached patchelf-0.17.2.1-py2.py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl (381 kB)
Collecting setuptools
Using cached setuptools-67.8.0-py3-none-any.whl (1.1 MB)
Collecting wheel
Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
Collecting pyproject-metadata>=0.7.1 (from meson-python>=0.8.1)
Using cached pyproject_metadata-0.7.1-py3-none-any.whl (7.4 kB)
Collecting tomli>=1.0.0 (from meson-python>=0.8.1)
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting packaging>=19.0 (from pyproject-metadata>=0.7.1->meson-python>=0.8.1)
Using cached packaging-23.1-py3-none-any.whl (48 kB)
Building wheels for collected packages: ninja
Building wheel for ninja (pyproject.toml): started
Building wheel for ninja (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

    × Building wheel for ninja (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [91 lines of output]
  
  
        --------------------------------------------------------------------------------
        -- Trying 'Ninja' generator
        --------------------------------
        ---------------------------
        ----------------------
        -----------------
        ------------
        -------
        --
        Not searching for unused variables given on the command line.
        CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
        -- Configuring incomplete, errors occurred!
        See also "/tmp/pip-install-gpyh9d16/ninja_b836fcad66314640836f8a636f2c9849/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
        --
        -------
        ------------
        -----------------
        ----------------------
        ---------------------------
        --------------------------------
        -- Trying 'Ninja' generator - failure
        --------------------------------------------------------------------------------
  
  
  
        --------------------------------------------------------------------------------
        -- Trying 'Unix Makefiles' generator
        --------------------------------
        ---------------------------
        ----------------------
        -----------------
        ------------
        -------
        --
        Not searching for unused variables given on the command line.
        -- The C compiler identification is GNU 8.3.0
        -- Check for working C compiler: /usr/bin/cc
        -- Check for working C compiler: /usr/bin/cc -- works
        -- Detecting C compiler ABI info
        -- Detecting C compiler ABI info - done
        -- Detecting C compile features
        -- Detecting C compile features - done
        -- The CXX compiler identification is GNU 8.3.0
        -- Check for working CXX compiler: /usr/bin/c++
        -- Check for working CXX compiler: /usr/bin/c++ -- works
        -- Detecting CXX compiler ABI info
        -- Detecting CXX compiler ABI info - done
        -- Detecting CXX compile features
        -- Detecting CXX compile features - done
        -- Configuring done
        -- Generating done
        -- Build files have been written to: /tmp/pip-install-gpyh9d16/ninja_b836fcad66314640836f8a636f2c9849/_cmake_test_compile/build
        --
        -------
        ------------
        -----------------
        ----------------------
        ---------------------------
        --------------------------------
        -- Trying 'Unix Makefiles' generator - success
        --------------------------------------------------------------------------------
  
        Configuring Project
          Working directory:
            /tmp/pip-install-gpyh9d16/ninja_b836fcad66314640836f8a636f2c9849/_skbuild/linux-armv7l-3.7/cmake-build
          Command:
            /usr/bin/cmake /tmp/pip-install-gpyh9d16/ninja_b836fcad66314640836f8a636f2c9849 -G 'Unix Makefiles' --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-gpyh9d16/ninja_b836fcad66314640836f8a636f2c9849/_skbuild/linux-armv7l-3.7/cmake-install -DPYTHON_VERSION_STRING:STRING=3.7.3 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-9ar890gj/overlay/lib/python3.7/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/home/print3D/.KlipperScreen-env/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.7m -DPYTHON_LIBRARY:PATH=/usr/lib/arm-linux-gnueabihf/libpython3.7m.so -DPython_EXECUTABLE:PATH=/home/print3D/.KlipperScreen-env/bin/python3 -DPython_ROOT_DIR:PATH=/home/print3D/.KlipperScreen-env -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/include/python3.7m -DPython3_EXECUTABLE:PATH=/home/print3D/.KlipperScreen-env/bin/python3 -DPython3_ROOT_DIR:PATH=/home/print3D/.KlipperScreen-env -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.7m -DCMAKE_BUILD_TYPE:STRING=Release
  
        Not searching for unused variables given on the command line.
        CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
          CMake 3.15 or higher is required.  You are running version 3.13.4
  
  
        -- Configuring incomplete, errors occurred!
        Traceback (most recent call last):
          File "/tmp/pip-build-env-9ar890gj/overlay/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 671, in setup
            languages=cmake_languages,
          File "/tmp/pip-build-env-9ar890gj/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 357, in configure
            raise SKBuildError(msg)
  
        An error occurred while configuring with CMake.
          Command:
            /usr/bin/cmake /tmp/pip-install-gpyh9d16/ninja_b836fcad66314640836f8a636f2c9849 -G 'Unix Makefiles' --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-gpyh9d16/ninja_b836fcad66314640836f8a636f2c9849/_skbuild/linux-armv7l-3.7/cmake-install -DPYTHON_VERSION_STRING:STRING=3.7.3 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-9ar890gj/overlay/lib/python3.7/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/home/print3D/.KlipperScreen-env/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.7m -DPYTHON_LIBRARY:PATH=/usr/lib/arm-linux-gnueabihf/libpython3.7m.so -DPython_EXECUTABLE:PATH=/home/print3D/.KlipperScreen-env/bin/python3 -DPython_ROOT_DIR:PATH=/home/print3D/.KlipperScreen-env -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/include/python3.7m -DPython3_EXECUTABLE:PATH=/home/print3D/.KlipperScreen-env/bin/python3 -DPython3_ROOT_DIR:PATH=/home/print3D/.KlipperScreen-env -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.7m -DCMAKE_BUILD_TYPE:STRING=Release
          Source directory:
            /tmp/pip-install-gpyh9d16/ninja_b836fcad66314640836f8a636f2c9849
          Working directory:
            /tmp/pip-install-gpyh9d16/ninja_b836fcad66314640836f8a636f2c9849/_skbuild/linux-armv7l-3.7/cmake-build
        Please see CMake's output for more information.
  
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for ninja
  Failed to build ninja
  ERROR: Could not build wheels for ninja, which is required to install pyproject.toml-based projects
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Error: pip install exited with status code 0

unable to use internet as user

after following the tutorial I cannot seem to have internet access as my user and this gets me stuck on step 5.
when i try to run
$ git clone https://github.com/th33xitus/kiauh.git
i get the result of

Cloning into 'kiauh'...
fatal: unable to access 'https://github.com/th33xitus/kiauh.git/': Could not resolve host: github.com

if run as root it works but then kiuah installation script complains about root

/=======================================================\
|       !!! THIS SCRIPT MUST NOT RUN AS ROOT !!!        |
\=======================================================/

Linux Deploy not installing Debian architecture

After following your tutorial (here on Github as well as your video), I am running into following issue:
After hitting "Install", the screen immediately displays ">>> deploy" & "<<< deploy" in a matter of seconds.
upon checking the status, I get the following response in the screenshot:

Screenshot_20230214-112435_Linux_Deploy 1

Donor phone: Samsung Galaxy S8 (64 bit processor hence using "Arm64 architecture" option.

Klipper not installed

Hi @gaifeng8864 , just finished installation following your approach but didn't work. when i run the ending script, after it finishes and i restart the phone, it says: Service 'klipper' not installed.
here's a couple of outputs from moonraker.log where it shows that apparently klipper service is not running
image
image
any help would be highly appreciated

Printer not showing as tty device/not connecting

I have been in the klipper discord trying to figure this out and they pretty much want to push me away from Android and to the Pi, but it seems crazy having a 7 inch tablet collecting dust when it could do this.
So I have followed your guide a few times but get to the same point. Nexus 7 (Google made by Asus) running Cynagenmod rooted based on Android 7, clean install. Every time all the items install fine (Debian, klipper, fluidd, etc) but I think the problem is when I plug in my printer, it shows up in /dev/bus/usb, not as a tty device.
So the only change in /dev is from :
/dev/bus/usb/001
to
/dev/bus/usb/001/001 and /dev/bus/usb/001/002
I installed Octo4a at one point to see what it sees and it detects printer as /dev/bus/usb/001/002 so that's what I've been using in the scripts (configuration_klipper_family.sh and printer.cfg). However, when it finally all boots and goes to connect to printer, it can't connect to mcu.
Oh, I should mention this is a Flsun QQ-S Pro with the newer GD32F303VET6 chip, I have found other forums though on this setup and compiled firmware accordingly so that SHOULD be good.
I am attaching the latest logs, any ideas? I really want to see this work rather than have to buy yet another device and put this thing back in a drawer!
klippy.log
moonraker.log

Problem with KlipperScreen

Hi, I followed the tutorial and installed everything without any errors. However after final phone restart the KlipperScreen isn't working. XSDL starts and shows error: "Error: X server failed to initialize. Try to use different display.".

I have tested this with 1 smartphone Android 6.0.1 and Tablet Android 7.1.1, with both Debian "Oldstable" and Ubuntu Focal - same problem. Thank you in advance for help.

KlipperScreen.log:

2024-08-04 09:00:00,839 [functions.py:log_start()] - --------------------KlipperScreen Log Start--------------------
2024-08-04 09:00:00,840 [functions.py:log_start()] - KlipperScreen Version: v0.4.3-47-gc1035fed
2024-08-04 09:00:00,840 [functions.py:log_start()] - Python version: 3.8
2024-08-04 09:00:00,869 [screen.py:__init__()] - Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.

Traceback (most recent call last):
  File "/home/print3D/KlipperScreen/screen.py", line 81, in __init__
    super().__init__(title="KlipperScreen")
  File "/home/print3D/.KlipperScreen-env/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 508, in __init__
    raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
Traceback (most recent call last):
  File "/home/print3D/KlipperScreen/screen.py", line 81, in __init__
    super().__init__(title="KlipperScreen")
  File "/home/print3D/.KlipperScreen-env/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 508, in __init__
    raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.

Network permission denied

After running,

sudo usermod -a -G aid_inet,aid_net_raw root

Github and kiauh still cannot connect to the ineternet.

'mcu': Unable to connect

I change the mcu id in the confiduration to /dev/ttyACM0 but it still gives me the error. I have tried getting the mcu id through kiauh but it gives me an error. with the ls /dev/ command it lists /dev/ttyACM0 i can not figure out the problem

First use kiauh to install the klipper family!

hello i am trying to install klipper on a huawei p9 lite, root OK.

However, I'm stuck at this step:
$ bash configuration_klipper_family.sh
First use kiauh to install the klipper family!

Small refinement of the guide

You can add something related to:
-Disabling lockscreen at boot
-Using IP web Cam to stream the camera feed inside fluid itself

Error with sdbus when installing KlipperScreen

Hello!
Try to install it on honor 9 lite. All goes fine, before klipperscreen installation.

How to fix this step?

...
Installed Misc packages
Creating virtual environment
Ignoring python-mpv: markers 'python_version >= "3.10"' don't match your environment
Ignoring backports.zoneinfo: markers 'python_version < "3.9"' don't match your environment
Collecting jinja2==3.1.4 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 1))
  Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting requests==2.32.2 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 2))
  Using cached requests-2.32.2-py3-none-any.whl.metadata (4.6 kB)
Collecting sdbus==0.11.1 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 3))
  Using cached sdbus-0.11.1.tar.gz (74 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  ? Getting requirements to build wheel did not run successfully.
  ¦ exit code: 1
  ?-> [20 lines of output]
      Traceback (most recent call last):
        File "/home/print3D/.KlipperScreen-env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/print3D/.KlipperScreen-env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/print3D/.KlipperScreen-env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-bj6qjxdw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-bj6qjxdw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-bj6qjxdw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-bj6qjxdw/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 46, in <module>
        File "<string>", line 33, in get_libsystemd_version
        File "/usr/lib/python3.9/subprocess.py", line 528, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '('pkg-config', '--modversion', 'libsystemd')' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

? Getting requirements to build wheel did not run successfully.
¦ exit code: 1
?-> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Error: pip install exited with status code 0
Trying again with new tools...

Message from syslogd@localhost at May 27 03:36:46 ...
 kernel:[12538.216125s][pid:28902,cpu4,sudo]check_root: Uid 60000, Gid 60000, try to Privilege Escalate

Message from syslogd@localhost at May 27 03:36:46 ...
 kernel:[12538.223937s][pid:28902,cpu4,sudo]check_root: Uid 60000, Gid 60000, try to Privilege Escalate

Message from syslogd@localhost at May 27 03:36:46 ...
 kernel:[12538.225341s][pid:28903,cpu5,sudo]check_root: Uid 60000, Gid 0, try to Privilege Escalate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9).
cmake is already the newest version (3.18.4-2+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Requirement already satisfied: pip in ./.KlipperScreen-env/lib/python3.9/site-packages (24.0)
Requirement already satisfied: setuptools in ./.KlipperScreen-env/lib/python3.9/site-packages (70.0.0)
Ignoring python-mpv: markers 'python_version >= "3.10"' don't match your environment
Ignoring backports.zoneinfo: markers 'python_version < "3.9"' don't match your environment
Collecting jinja2==3.1.4 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 1))
  Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting requests==2.32.2 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 2))
  Using cached requests-2.32.2-py3-none-any.whl.metadata (4.6 kB)
Collecting sdbus==0.11.1 (from -r /home/print3D/KlipperScreen/scripts/KlipperScreen-requirements.txt (line 3))
  Using cached sdbus-0.11.1.tar.gz (74 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  ? Getting requirements to build wheel did not run successfully.
  ¦ exit code: 1
  ?-> [20 lines of output]
      Traceback (most recent call last):
        File "/home/print3D/.KlipperScreen-env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/print3D/.KlipperScreen-env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/print3D/.KlipperScreen-env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-tmmxxfjm/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-tmmxxfjm/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-tmmxxfjm/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-tmmxxfjm/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 46, in <module>
        File "<string>", line 33, in get_libsystemd_version
        File "/usr/lib/python3.9/subprocess.py", line 528, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '('pkg-config', '--modversion', 'libsystemd')' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

? Getting requirements to build wheel did not run successfully.
¦ exit code: 1
?-> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Unable to install dependencies, aborting install.

#=======================================================#
 KlipperScreen installation failed!
#=======================================================#

Issue to conect with moontaker

Problem connecting fluidd with moonraker.
The explorer throws:
1- There is no connection to Moonraker. Check Moonraker's status and/or refresh the page.
image
2- 500 Internal Server Error. nginx/1.18.0
image
3-No Safe
image
This site does not have a certificate.
Because this connection is not secure, information (such as passwords or credit cards) will not be sent securely to this site and may be intercepted or viewed by other users.

I have tried it in several explorers.
I have updated nginx
I tried to change the security settings of the explorer
Any suggestion?

Problem with "Linux Deploy"

Hi everyone,

I've just rooted my smartphone (Samsung Galaxy S8+), gave the Apps ("XServer XSDL", "Kernel Adiutor" and "Linux Deploy") root-permission and now I'm trying to put Klipper on it with this YouTube-tutorial which is based on your "README_en.md" from klipper-on-android.

My problem is:
After setting everything up and changing the settings (see the screenshots) like showed in 2. Install linuxdeploy and 3. Install debian and pressing "Install" the log shows only the following:

[17:13:54] >>> deploy
[17:13:54] <<< deploy

I still tried what happens when playing "START" after that. Then it shows:

[17:13:57] >>> start
[17:13:57] Missing parameters: TARGET_PATH
[17:13:57] <<< start

What could be the problem?

Linux Deploy - Logs

And here my settings:
Linux Deploy - Settings + Properties linux

Thank you all very much!
Kind Regards
Photelegy

Automation Enhancements

Hey @gaifeng8864 more than an issue its a comment,
i got a PR from someone that suggested the following lines to Skip Termux usage + automatic selection of Serial Printer:

Termux is not really necessary. You can use unchroot.
Also we can have a permanent link for the serial port from octo4a.

sudo unchroot am start -n com.octo4a/.ui.InitialActivity
sleep 10
sudo ln -s sudo unchroot readlink -f /data/data/com.octo4a/files/serialpipe /dev/printer

What do you think?

Failed to build msgpack installing klipper extension

Octo4a works perfectly, but without klipper, please help...

(1/5) Installing can-utils (2021.08.0-r1)
(2/5) Installing linux-headers (5.19.5-r0)
(3/5) Installing py3-cparser (2.21-r0)
(4/5) Installing py3-cffi (1.15.1-r0)
(5/5) Installing py3-greenlet (2.0.1-r0)
Executing busybox-1.35.0-r29.trigger
OK: 402 MiB in 153 packages
Collecting python-can
Downloading python_can-4.3.0-py3-none-any.whl (262 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 262.1/262.1 kB 1.6 MB/s eta 0:00:00
Collecting msgpack~=1.0.0
Downloading msgpack-1.0.7.tar.gz (166 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 166.3/166.3 kB 2.3 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: typing-extensions>=3.10.0.0 in /usr/lib/python3.10/site-packages (from python-can) (4.8.0)
Requirement already satisfied: packaging>=23.1 in /usr/lib/python3.10/site-packages (from python-can) (23.2)
Requirement already satisfied: wrapt~=1.10 in /usr/lib/python3.10/site-packages (from python-can) (1.15.0)
Building wheels for collected packages: msgpack
Building wheel for msgpack (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for msgpack (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-310
creating build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/init.py -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/exceptions.py -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/ext.py -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/fallback.py -> build/lib.linux-armv7l-cpython-310/msgpack
running egg_info
writing msgpack.egg-info/PKG-INFO
writing dependency_links to msgpack.egg-info/dependency_links.txt
writing top-level names to msgpack.egg-info/top_level.txt
reading manifest file 'msgpack.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c' under directory 'msgpack'
adding license file 'COPYING'
writing manifest file 'msgpack.egg-info/SOURCES.txt'
copying msgpack/_cmsgpack.cpp -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/_cmsgpack.pyx -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/_packer.pyx -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/_unpacker.pyx -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/buff_converter.h -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/pack.h -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/pack_template.h -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/sysdep.h -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/unpack.h -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/unpack_define.h -> build/lib.linux-armv7l-cpython-310/msgpack
copying msgpack/unpack_template.h -> build/lib.linux-armv7l-cpython-310/msgpack
running build_ext
building 'msgpack._cmsgpack' extension
creating build/temp.linux-armv7l-cpython-310
creating build/temp.linux-armv7l-cpython-310/msgpack
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fomit-frame-pointer -g -O2 -Os -fomit-frame-pointer -g -O2 -Os -fomit-frame-pointer -g -O2 -DTHREAD_STACK_SIZE=0x100000 -fPIC -I. -I/usr/include/python3.10 -c msgpack/_cmsgpack.cpp -o build/temp.linux-armv7l-cpython-310/msgpack/_cmsgpack.o
gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for msgpack
Failed to build msgpack
ERROR: Could not build wheels for msgpack, which is required to install pyproject.toml-based projects

Permission denied when accessing config

$ /home/print3D/printer_data/config/
-sh: 8: /home/print3D/printer_data/config/: Permission denied

I worked through the tutorial, but I get stuck at this part. As far as I can find out, there is no /home/print3D directory. At what point does it get made?

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.