Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] TypeError: <= not supported between instances of str and int when using format_exc with spp mode #1060

Open
pauloswear opened this issue Mar 31, 2023 · 3 comments
Assignees
Labels

Comments

@pauloswear
Copy link

Hello. I'm using format_exc() to send logs with possible errors to my database.
Using SPP mode (pyarmor-7), the output of format_exc exception is:

Traceback (most recent call last):
File , line 385, in run
File , line -1, in spp_caller
File , line -1, in spp_caller
TypeError: <= not supported between instances of str and int

Is there anyway to know exactly where is the error ? Using past VM mode it was working well

@jondy
Copy link
Contributor

jondy commented Apr 1, 2023

pyarmor-7 should be same as Pyarmor 7.7.4, and I don't change source of spp-code.

Are your sure it works in Pyarmor 7.7.4?

@pauloswear
Copy link
Author

pyarmor-7 should be same as Pyarmor 7.7.4, and I don't change source of spp-code.

Are your sure it works in Pyarmor 7.7.4?

Only VM mode was working fine with format_exc

@jondy
Copy link
Contributor

jondy commented Apr 2, 2023

I'll check format_exc with spp mode after pyarmor 8 is stable.

@jondy jondy changed the title [Question] format_exc with spp [BUG] TypeError: <= not supported between instances of str and int when using format_exc with spp mode Apr 12, 2023
@jondy jondy added bug and removed question labels Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants