[GH-ISSUE #56] type object 'ConfigParser' has no attribute 'NoSectionError' #52

Closed
opened 2026-02-25 20:34:33 +03:00 by kerem · 4 comments
Owner

Originally created by @alexynior28 on GitHub (May 28, 2020).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/56

Hey, thanks for the tool.

I get the following error when using the Drive tool. Can you help me?

error

`Traceback (most recent call last):
File ".\libs\whagodri.py", line 57, in getConfigs
passw = config.get('auth', 'passw')
File "C:\Python38-32\lib\configparser.py", line 799, in get
return self._interpolation.before_get(self, section, option, value,
File "C:\Python38-32\lib\configparser.py", line 395, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "C:\Python38-32\lib\configparser.py", line 442, in _interpolate_some
raise InterpolationSyntaxError(
configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File ".\libs\whagodri.py", line 266, in
getConfigs()
File ".\libs\whagodri.py", line 65, in getConfigs
except(ConfigParser.NoSectionError, ConfigParser.NoOptionError):
AttributeError: type object 'ConfigParser' has no attribute 'NoSectionError'`

Originally created by @alexynior28 on GitHub (May 28, 2020). Original GitHub issue: https://github.com/B16f00t/whapa/issues/56 Hey, thanks for the tool. I get the following error when using the Drive tool. Can you help me? ![error](https://user-images.githubusercontent.com/19245743/83180738-7e98f900-a0e9-11ea-9156-973edfce0cb9.PNG) `Traceback (most recent call last): File ".\libs\whagodri.py", line 57, in getConfigs passw = config.get('auth', 'passw') File "C:\Python38-32\lib\configparser.py", line 799, in get return self._interpolation.before_get(self, section, option, value, File "C:\Python38-32\lib\configparser.py", line 395, in before_get self._interpolate_some(parser, option, L, value, section, defaults, 1) File "C:\Python38-32\lib\configparser.py", line 442, in _interpolate_some raise InterpolationSyntaxError( configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%' During handling of the above exception, another exception occurred: Traceback (most recent call last): File ".\libs\whagodri.py", line 266, in <module> getConfigs() File ".\libs\whagodri.py", line 65, in getConfigs except(ConfigParser.NoSectionError, ConfigParser.NoOptionError): AttributeError: type object 'ConfigParser' has no attribute 'NoSectionError'`
kerem closed this issue 2026-02-25 20:34:33 +03:00
Author
Owner

@B16f00t commented on GitHub (May 30, 2020):

You have settings.cfg file corrupt.

<!-- gh-comment-id:636314612 --> @B16f00t commented on GitHub (May 30, 2020): You have settings.cfg file corrupt.
Author
Owner

@alexynior28 commented on GitHub (May 31, 2020):

I have placed the data as the following image (they are not real on this screen)

error

Could you please tell me if something's wrong?

<!-- gh-comment-id:636407991 --> @alexynior28 commented on GitHub (May 31, 2020): I have placed the data as the following image (they are not real on this screen) ![error](https://user-images.githubusercontent.com/19245743/83342492-b94f8c80-a2b5-11ea-8d20-9a8a65dd524d.PNG) Could you please tell me if something's wrong?
Author
Owner

@B16f00t commented on GitHub (Jun 24, 2020):

Did you fix the issue with whagodri?

<!-- gh-comment-id:648879942 --> @B16f00t commented on GitHub (Jun 24, 2020): Did you fix the issue with whagodri?
Author
Owner

@alexynior28 commented on GitHub (Jun 28, 2020):

Hey, not yet.

I'll try to prove it with another Whatsapp account

<!-- gh-comment-id:650820486 --> @alexynior28 commented on GitHub (Jun 28, 2020): Hey, not yet. I'll try to prove it with another Whatsapp account
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whapa#52
No description provided.