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
Error message:
% /Applications/Xcode.app/Contents/Developer/usr/bin/python3 "/Users/redacted/Apps/edge.py"
Traceback (most recent call last):
File "/Users/redacted/Apps/edge.py", line 6, in
baseurl = 'https://%s' % edgerc.get(section, 'host')
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/configparser.py", line 1149, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'default'
I am unable to parse the contents of the default section successfully.
The .edgerc file is readable by the CLI and HTTPie
This seems to be an issue similar to https://github.com/akamai/AkamaiOPEN-edgegrid-python/issues/48
Error message:
% /Applications/Xcode.app/Contents/Developer/usr/bin/python3 "/Users/redacted/Apps/edge.py"
Traceback (most recent call last):
File "/Users/redacted/Apps/edge.py", line 6, in
baseurl = 'https://%s' % edgerc.get(section, 'host')
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/configparser.py", line 1149, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'default'
The edge.py file(renamed to .txt) is as attached.
edge.txt
The text was updated successfully, but these errors were encountered: