• Members 3 posts
    Feb. 24, 2023, 10:12 p.m.

    Yes user is in the dialout group.
    Linux Mint 21.1 Cinnamon, USCutter SC2 34"

    Traceback (most recent call last):
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/twisted/internet/defer.py", line 1947, in unwindGenerator
    return _cancellableInlineCallbacks(gen)
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/twisted/internet/defer.py", line 1857, in _cancellableInlineCallbacks
    _inlineCallbacks(None, gen, status, _copy_context())
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/twisted/internet/defer.py", line 1697, in _inlineCallbacks
    result = context.run(gen.send, result)
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/inkcut/device/plugin.py", line 576, in connect
    yield defer.maybeDeferred(self.connection.connect)
    --- <exception caught here> ---
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/inkcut/device/plugin.py", line 749, in submit
    yield defer.maybeDeferred(self.connect)
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/inkcut/device/plugin.py", line 576, in connect
    yield defer.maybeDeferred(self.connection.connect)
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/twisted/internet/defer.py", line 206, in maybeDeferred
    result = f(args,*kwargs)
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/inkcut/device/transports/serialport/plugin.py", line 86, in connect
    self.connection = SerialPort(
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/twisted/internet/_posixserialport.py", line 40, in init
    self._serial = self._serialFactory(
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/serial/serialutil.py", line 244, in init
    self.open()
    File "/home/SC-2PO/.local/lib/python3.10/site-packages/serial/serialposix.py", line 325, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
    serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'

  • Members 3 posts
    Feb. 26, 2023, 9:11 p.m.

    Resolved
    after running
    sudo usermod -a -G dialout "$USER"
    Logging out, and in, didn't do it, though a cold boot did.