Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: not all arguments converted during string formatting #34

Open
syedawaisamjad opened this issue May 26, 2024 · 0 comments
Open

Comments

@syedawaisamjad
Copy link

syedawaisamjad commented May 26, 2024

The program runs and opens chrome just fine. Upon Starting Chat it crashes and gives this stack trace:, I have added a fictitious number in the post for obvious reasons, I use the correct number when I run the program.

--- Logging error ---
Traceback (most recent call last):
File "C:\Users\Admin\anaconda3\lib\logging\handlers.py", line 668, in emit
s = self.makePickle(record)
File "C:\Users\Admin\anaconda3\lib\logging\handlers.py", line 635, in makePickle
d['msg'] = record.getMessage()
File "C:\Users\Admin\anaconda3\lib\logging_init_.py", line 367, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "C:\bulk_msg\Advanced-WhatsApp-Sender-main\browserCtrl.py", line 404, in run
self.SendTEXT()
File "C:\bulk_msg\Advanced-WhatsApp-Sender-main\browserCtrl.py", line 261, in SendTEXT
log.debug("find", num)
Message: 'find'
Arguments: (923331111111)
--- Logging error ---
Traceback (most recent call last):
File "C:\Users\Admin\anaconda3\lib\logging_init_.py", line 1083, in emit
msg = self.format(record)
File "C:\Users\Admin\anaconda3\lib\logging_init_.py", line 927, in format
return fmt.format(record)
File "C:\Users\Admin\anaconda3\lib\logging_init_.py", line 663, in format
record.message = record.getMessage()
File "C:\Users\Admin\anaconda3\lib\logging_init_.py", line 367, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "C:\bulk_msg\Advanced-WhatsApp-Sender-main\browserCtrl.py", line 404, in run
self.SendTEXT()
File "C:\bulk_msg\Advanced-WhatsApp-Sender-main\browserCtrl.py", line 261, in SendTEXT
log.debug("find", num)
File "C:\Users\Admin\anaconda3\lib\logging_init_.py", line 1434, in debug
self.log(DEBUG, msg, args, **kwargs)
File "C:\Users\Admin\anaconda3\lib\logging_init
.py", line 1589, in log
self.handle(record)
File "C:\Users\Admin\anaconda3\lib\logging_init
.py", line 1599, in handle
self.callHandlers(record)
File "C:\Users\Admin\anaconda3\lib\logging_init_.py", line 1661, in callHandlers
hdlr.handle(record)
File "C:\Users\Admin\anaconda3\lib\logging_init_.py", line 952, in handle
self.emit(record)
File "C:\bulk_msg\Advanced-WhatsApp-Sender-main\src\logcolor.py", line 70, in new
ret = fn(*args)
Message: 'find'
Arguments: (923331111111)
[2024-05-26 14:35:43,606][DEBUG] end msg
[2024-05-26 14:35:43,606][DEBUG] stopping thread...

------------------ Can you please look into this and tell me what to do.. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant