Project

General

Profile

Actions

Bug #16211

open

Python errors in Cellular

Added by Steve Wheeler 4 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Cellular
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
25.07
Affected Version:
Affected Plus Version:
25.03
Affected Architecture:
All

Description

Errors from Cellular are shown in the boot and upgrade logs in 25.03:

Traceback (most recent call last):
  File "/usr/local/cellular.py", line 590, in <module>
  File "/usr/local/cellular.py", line 117, in set_config
  File "/usr/local/lib/python3.11/configparser.py", line 938, in write
    self._write_section(fp, section,
  File "/usr/local/lib/python3.11/configparser.py", line 943, in _write_section
    fp.write("[{}]\n".format(section_name))
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):
  File "/usr/local/bin/cellular_dev.py", line 125, in <module>
    gps_ug = path_ug + gpsport
                       ^^^^^^^
NameError: name 'gpsport' is not defined

Tested: Cellular 1.2.4

No data to display

Actions

Also available in: Atom PDF