deploy error after using pyarmor

I have a flask application that uses a series of functions that are in the defs_copy file, the site worked normally, however I decided to use pharmor to encrypt the file with my functions, on my pc locally it worked fine, however when I put the site online through from railway, it returns the logs that are in the image as if the imported file did not exist, but it is in the repository, how do I solve it?
Solution:
I do understand why that makes it seem like it's an issue with railway, but that's simply not always the case unfortunately
Jump to solution
7 Replies
Percy
Percy16mo ago
Project ID: affce739-47e4-4695-a342-0a9f8831b118
thomazcastro
thomazcastro16mo ago
affce739-47e4-4695-a342-0a9f8831b118
Brody
Brody16mo ago
why exactly are you obfuscating your code?
thomazcastro
thomazcastro16mo ago
It's more for fun, trying to make the code more secure and be able to say it's encrypted and something, etc. I want to fix it to be nice, nothing too major.
Brody
Brody16mo ago
well unless someone has experience with pyarmor, im not sure how much help you'll get since this isnt strictly a railway issue
thomazcastro
thomazcastro16mo ago
I came here because on my computer locally everything works fine, but I think I'll remove this feature anyway, thanks bro
Solution
Brody
Brody16mo ago
I do understand why that makes it seem like it's an issue with railway, but that's simply not always the case unfortunately
Want results from more Discord servers?
Add your server