You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yippie Thanks for reporting this. Python 3.13 made a change that now logs errors in file handling that were previously ignored. It’s related to how sarge (a library we use) interacts with io.TextIOWrapper.
This error doesn’t affect functionality. You can safely ignore it for now while we wait for an update from the sarge maintainers. If you prefer, you can downgrade to Python 3.12 to stop seeing the error.
@jstvz, thanks for clarifying! That’s great to know. I actually encountered an issue during my routine because the default org was set to an empty string (""). It seems like there might be an sf unset org somewhere. Thankfully, I was able to resolve it on my end.
Describe the bug
Since upgrading to CummulusCI 4, all commands that work with orgs are outputting the following error:
Exception ignored in: <_io.TextIOWrapper encoding='utf-8'> Traceback (most recent call last): File "/Users/kai.amundsen/.local/pipx/venvs/cumulusci/lib/python3.13/site-packages/cumulusci/core/config/sfdx_org_config.py", line 212, in refresh_oauth_token self.sfdx_info AttributeError: 'Capture' object has no attribute 'flush'
Reproduction steps
cci org browser --org <existing org alias>
Org will open in browser successfully but an exception will be output one or many times to the command line.
Your CumulusCI and Python versions
CumulusCI version: 4.0.1 (/Users/kai.amundsen/.local/bin/cci)
Python version: 3.13.0 (/Users/kai.amundsen/.local/pipx/venvs/cumulusci/bin/python)
@salesforce/cli/2.67.7 darwin-arm64 node-v22.11.0
Operating System
MacOS 15.1.1 (24B91)
Windows environment
No response
CumulusCI installation method
pipx
Error Gist
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: