Project

General

Profile

Actions

Bug #16211

open

Python errors in Cellular

Added by Steve Wheeler 2 months ago. Updated about 1 month ago.

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

0%

Estimated time:
Plus Target Version:
25.11
Affected Version:
Affected Plus Version:
25.07
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

Actions #1

Updated by Sayed Mohammad Badiezadegan about 2 months ago

  • Status changed from New to Confirmed
Actions #2

Updated by Jim Pingle about 1 month ago

  • Plus Target Version changed from 25.07 to 25.11
Actions #3

Updated by Jim Pingle about 1 month ago

  • Affected Plus Version changed from 25.03 to 25.07
Actions

Also available in: Atom PDF