Package: expeyes Version: 4.8.8+repack-2 Severity: normal Dear Maintainer,
On running expeyes from the command line I see the following error message $ expeyes Traceback (most recent call last): File "/usr/share/expeyes/eyes/explore.py", line 12, in <module> from Tkinter import * ModuleNotFoundError: No module named 'Tkinter' As I understand this is because the packaged expeyes version is not ported to Python version 3. I am attaching patches to - /usr/share/expeyes/eyes/explore.py (explore.patch) - /usr/lib/python3/dist-packages/expeyes/eyes.py (eyes.patch) With these two patches expeyes launches successfully for me. I have not tested all of its functionality though. regards -- System Information: Debian Release: 11.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-11-amd64 (SMP w/6 CPU threads) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages expeyes depends on: ii python3 3.9.2-3 ii python3-expeyes 4.8.8+repack-2 ii python3-pil.imagetk 8.1.2+dfsg-0.3+deb11u1 ii python3-tk 3.9.2-1 ii tix 8.4.3-10+b1 ii udev 247.3-6 Versions of packages expeyes recommends: ii expeyes-doc-en [expeyes-doc] 4.3-3 pn expeyes-web <none> ii python3-numpy 1:1.19.5-1 ii python3-pygrace 0.6-2 ii python3-scipy 1.6.0-2 pn qtiplot <none> Versions of packages expeyes suggests: pn firm-phoenix-ware <none> -- no debconf information
12,13c12,15 < from Tkinter import * < import Image, ImageTk, tkFont, os, sys, commands, math --- > from tkinter import * > from tkinter import font > from PIL import Image, ImageTk > import os, sys, subprocess, math 497c499 < stat,out = commands.getstatusoutput('python '+ eyeplot.abs_path() + 'hwtest.py') --- > stat,out = subprocess.getstatusoutput('python '+ eyeplot.abs_path() + 'hwtest.py') 563c565 < font = tkFont.Font(family = 'helvetica', size = 12) --- > font = font.Font(family = 'helvetica', size = 12) 610c612 < stat,out = commands.getstatusoutput('python '+ eyeplot.abs_path() + expt+'.py') --- > stat,out = subprocess.getstatusoutput('python '+ eyeplot.abs_path() + expt+'.py')
30c30 < import serial, struct, math, time, command, sys, os, glob, fnmatch --- > import serial, struct, math, time, subprocess, sys, os, glob, fnmatch 154c154 < res = command.getoutput('lsof -t '+ str(dev)) --- > res = subprocess.getoutput('lsof -t '+ str(dev))