Project

General

Profile

Bug #6055

Updated by laforge 11 months ago

With the latest pySim code in use, the ust_service_activate command failed for the MF/ADF.USIM/EF.UST parameter. 
 <pre> 
 

 pySIM-shell (MF/ADF.USIM/EF.UST)> ust_service_activate 130 
 EXCEPTION of type 'AttributeError' occurred with message: ''SimCard' object has no attribute 'update_ust'' 
 To enable full traceback, run the following command: 'set debug true' 
 pySIM-shell (MF/ADF.USIM/EF.UST)> set debug true 
 debug - was: False 
 now: True 
 pySIM-shell (MF/ADF.USIM/EF.UST)> ust_service_activate 130 
 Traceback (most recent call last): 
   File "/usr/local/lib/python3.8/dist-packages/cmd2/cmd2.py", line 2129, in onecmd_plus_hooks 
     stop = self.onecmd(statement, add_to_history=add_to_history) 
   File "/usr/local/lib/python3.8/dist-packages/cmd2/cmd2.py", line 2559, in onecmd 
     stop = func(statement) 
   File "/root/pysim/pySim/ts_31_102.py", line 560, in do_ust_service_activate 
     self._cmd.card.update_ust(int(arg), 1) 
 AttributeError: 'SimCard' object has no attribute 'update_ust' 
 EXCEPTION of type 'AttributeError' occurred with message: ''SimCard' object has no attribute 'update_ust'' 
 </pre> 
 

 Here is the Ubuntu version: 
 <pre> 
 lsb_release -a 
 No LSB modules are available. 
 Distributor ID: Ubuntu 
 Description:      Ubuntu 20.04.4 LTS 
 Release:          20.04 
 Codename:         focal 
 </pre> 


Back

Add picture from clipboard (Maximum size: 48.8 MB)