I have an OKI scanner which has a neat little linux app for running it
from a linux desktop. However it hasn't been updated from python 2.7
days and I'm looking at ways I might get it to run on my recently
upgraded Debian 12 system.
I have an OKI scanner which has a neat little linux app for running it
from a linux desktop. However it hasn't been updated from python 2.7
days and I'm looking at ways I might get it to run on my recently
upgraded Debian 12 system.
I managed for a while to keep it running on systems which no longer
have python 2.7 by building a cxfreeze environment but this is no
longer viable.
[-- text/plain, encoding quoted-printable, charset: utf-8, 61 lines --]
Chris Green <cl@isbd.net> writes:
The ideal would be some sort of mini virtualbox type of environment
that supports python 2.7.
Using Docker/Podman to run a container with an old version of Linux distribution that support Python 2.7 could be the most power-saving
option (e.g. Debian Bullseye a.k.a. oldstable.) Using a Docker means no hypervisor required and application running in a container runs at near-bear-metal speed thanks to kernel support. Additionally you got
some level of isolation from your host so that some of the unsupported
old Python 2 vulnerabilities are under control within your container
(not bullet-proof, but still something.)
Hi Chris,
On Wed, Nov 06, 2024 at 10:54:17PM +0000, Chris Green wrote:
I have an OKI scanner which has a neat little linux app for running it
from a linux desktop. However it hasn't been updated from python 2.7
days and I'm looking at ways I might get it to run on my recently
upgraded Debian 12 system.
I'm pretty sure that someone somewhere is maintaining a Python 2
compatible interpreter so I'd probably install that from source
somewhere and use that as the interpreter just for this one app.
It is my understanding that no other project can call itself "Python"
due to trademark laws so forks of Python 2 have to call themselves
something else. One example would be Tauthon:
https://github.com/naftaliharris/tauthon
I have never tried it.
It seems like a lot of work for what must be itself an abandoned app (otherwise it would have Python 3 support by now).
Andy Smith <andy@strugglers.net> wrote:
Hi Chris,It's a fairly old printer but it is still supported (drivers etc. for
On Wed, Nov 06, 2024 at 10:54:17PM +0000, Chris Green wrote:
I have an OKI scanner which has a neat little linux app for running it
from a linux desktop. However it hasn't been updated from python 2.7
days and I'm looking at ways I might get it to run on my recently
upgraded Debian 12 system.
I'm pretty sure that someone somewhere is maintaining a Python 2
compatible interpreter so I'd probably install that from source
somewhere and use that as the interpreter just for this one app.
It is my understanding that no other project can call itself "Python"
due to trademark laws so forks of Python 2 have to call themselves
something else. One example would be Tauthon:
https://github.com/naftaliharris/tauthon
I have never tried it.
It seems like a lot of work for what must be itself an abandoned app
(otherwise it would have Python 3 support by now).
windows 11) but they've never updated the Linux scanner driver, I
don't suppose there's that much demand for it. It's a very neat
little app though so I'd like to keep using it.
Chris Green <cl@isbd.net> writes:
Andy Smith <andy@strugglers.net> wrote:
Hi Chris,It's a fairly old printer but it is still supported (drivers etc. for windows 11) but they've never updated the Linux scanner driver, I
On Wed, Nov 06, 2024 at 10:54:17PM +0000, Chris Green wrote:
I have an OKI scanner which has a neat little linux app for running it >> > from a linux desktop. However it hasn't been updated from python 2.7
days and I'm looking at ways I might get it to run on my recently
upgraded Debian 12 system.
I'm pretty sure that someone somewhere is maintaining a Python 2
compatible interpreter so I'd probably install that from source
somewhere and use that as the interpreter just for this one app.
It is my understanding that no other project can call itself "Python"
due to trademark laws so forks of Python 2 have to call themselves
something else. One example would be Tauthon:
https://github.com/naftaliharris/tauthon
I have never tried it.
It seems like a lot of work for what must be itself an abandoned app
(otherwise it would have Python 3 support by now).
don't suppose there's that much demand for it. It's a very neat
little app though so I'd like to keep using it.
The following suggestion is almost certainly overkill and probably more
work to set up than simply porting the application to Python 3.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 146:11:52 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,699 |