cx-oracle

Why is the request executed under Windows, and under Linux error: "ORA-01722: invalid number"?

There is a Python / SQL script that is written under Windows. Everything is elementary simple, I execute the request and do ... rsor.execute(_SQL) Under Windows-everything is fine, and under Linux-an error Which way to look? What could be the problem?