Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Linux #2

Open
RaspberryEqualsPi opened this issue May 31, 2019 · 20 comments
Open

Linux #2

RaspberryEqualsPi opened this issue May 31, 2019 · 20 comments

Comments

@RaspberryEqualsPi
Copy link

When I try to run fusee-interface-tk on my ubuntu pc, I always get some kind of python, libc error. How do I fix this?

@ihaveamac
Copy link
Member

Please post the error output.

@noirscape
Copy link

Please post the following information:

  • The output of uname -a
  • If you're using the prebuild binary from the releases page or are running from source.

If you are running from source:

  • The exact command you are using to run the application.
  • The output of python --version.

@techmouse
Copy link

Not him but I'm having the same problem.

[15489] Error loading Python lib '/tmp/_MEIgGjqCj/libpython3.6m.so.1.0': dlopen: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by /tmp/_MEIgGjqCj/libpython3.6m.so.1.0)`

uname -a:
Linux GLaDOS 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

@oreo639
Copy link

oreo639 commented Jul 16, 2019

Bionic Beaver uses glibc 2.27 and this was compiled for glibc 2.28.
As a workaround, you can clone the repo and just run it as a script (or run pyinstaller yourself).
(run python3 app.py from the directory you cloned the repo to)

@techmouse
Copy link

Yeah I tried that, too:

Traceback (most recent call last):
  File "app.py", line 3, in <module>
    import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'

I installed several different libraries but none of them seem to give it the version of tkinter it wants.

@oreo639
Copy link

oreo639 commented Jul 16, 2019

You need to install the python3 version using apt or pip3

@techmouse
Copy link

Yep. Python3 was already installed.

I went with this instead:
https://github.com/Qyriad/fusee-launcher

I can keep testing though if you want this resolved.

@oreo639
Copy link

oreo639 commented Jul 16, 2019

I meant make sure you run sudo apt install python3-tk and not sudo apt install python-tk (since python-tk is for python2)

Anyway, fusee-launcher works fine.

@techmouse
Copy link

Yep I installed that too and it still gave the same error.

@noirscape
Copy link

noirscape commented Jul 16, 2019 via email

@ihaveamac
Copy link
Member

Is tkinter really available on pypi? I don't think so.

@noirscape
Copy link

noirscape commented Jul 23, 2019 via email

@dapne
Copy link

dapne commented Aug 18, 2019

I had this exact same issue in Debian 9. I checked my /lib/ directory and saw that libc version is below the required 2.28 version. Upgrading glibc, Debian 9 protested that the version is already at its most up-to-date. I checked the packages website and saw that only Buster (10) offered version 2.28-10 or greater. So I had to edit my sources.list and do a full upgrade to Debian 10 to fix the issue.

@oreo639
Copy link

oreo639 commented Mar 27, 2020

https://github.com/nh-server/fusee-interfacee-tk/releases/V1.0.1
The latest release should work with Ubuntu 18.04 and newer, or other linux distributions with glibc 2.27 or newer.

@TheGhostboi64
Copy link

TheGhostboi64 commented Jun 17, 2022

I get “no module named fusee_launcher”
I did install tkinter

@TheGhostboi64
Copy link

Never mind I just had to put in the fusee_launcher.py

@RaspberryEqualsPi
Copy link
Author

TheGhostboi64 did you seriously just come to a 3 year old issue and make the first comment in 2 years?

@techmouse
Copy link

TheGhostboi64 did you seriously just come to a 3 year old issue and make the first comment in 2 years?

The issue is still open. There's nothing wrong with posting in it so long as the issue is still active.

The internet police: Don't necro!
Also the internet police: This issue already exists! Don't create a new one!
I give up. There is no winning.

@TheGhostboi64
Copy link

but what if there's more problems involving Linux, like right now, I have a problem where it says "no module named mock_arguments"

@jon-torres
Copy link

Yeah I tried that, too:

Traceback (most recent call last):
  File "app.py", line 3, in <module>
    import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'

I installed several different libraries but none of them seem to give it the version of tkinter it wants.

I ran into the same problem on Ubuntu 22.04.03

Apparently, it has nothing to do with tkinter. You have to add a usb rule to udev in order to make it work.

Follow the steps on this website:
https://webcfw.sdsetup.com/

On Linux, you might get an 'Access Denied' or 'No Compatible Device' error on the Connect dialog! If you do, you can try creating a file at /etc/udev/rules.d/50-switch.rules With the following contents:
SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev" and afterwards add yourself to the plugdev group by typing sudo usermod -a -G plugdev YOUR_NAME

I did not have to add myself to the plugdev group. I just used the terminal to create the "50-switch.rules" files, edit it and then saved.

I hope it helps anyone in the future with Err13 usb permission errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants