Skip to content

[BUG] Request group device registration file failed in Pyarmor v9.2.5 #2341

@jondy

Description

@jondy

When requesting group device registration file, pyarmor 9.2.5 failed with exception %b requires a bytes-like object, or an object that implements __bytes__, not 'int'

For example

$ pyarmor reg -g 36 pyarmor-regfile-6040.zip                                                   
    INFO     Python 3.14.5                                                   
    INFO     Pyarmor 9.2.5 (trial), 000000, non-profits                      
    INFO     Platform darwin.aarch64                                         
    INFO     waiting for 12 seconds                                          
    INFO     waiting ...                                                     
    INFO     waiting ...                                                     
    INFO     waiting ...                                                     
    INFO     waiting ...                                                     
    INFO     waiting ...                                                     
    INFO     request device regfile ".pyarmor/group/pyarmor-group-device.36"(v3)                                                                       
    INFO     use group license "pyarmor-regfile-6040.zip"                    
    INFO     send request to server                                          
    INFO     write registration file "pyarmor-device-regfile-6040.36.zip"    
    ERROR    %b requires a bytes-like object, or an object that implements __bytes__, not 'int'   

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions