We’ve recently started using an edge server to get faster access for remote workers, but this introduced several connection errors with our p4python queries in maya, as the default server/port was being used, not the new edge server/port. Our P4 admin suggested using P4CONFIG files, but try as I might, I have not been able to get the p4python API to recognize and use the settings from the config file.
I can get the instance to recognize there is a p4config file via the environment settings, but it does not seem to recognize the config file in the actual connection instance, or setting the port the way I would expect it.
from P4 import P4, P4Exception p4 = P4() print p4.port >>>default.address.com:1666 print p4.p4config_file >>>noconfig print p4.env('P4CONFIG') >>>settings.p4config
Anyone have experience using P4CONFIG files successfully with p4python? any tips on what I seem to be missing?