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

[BUG] group_id.txt & log.txt => FileNotFoundError: [Errno 2] No such file or directory #5

Closed
X8J opened this issue Nov 20, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@X8J
Copy link

X8J commented Nov 20, 2021

`Exception in thread Thread-2 (sendreq):
Exception in thread Traceback (most recent call last):
Exception in thread Exception in thread Thread-1 (sendreq)Thread-3 (sendreq)Exception in thread Exception in thread Exception in thread Thread-4 (sendreq)Thread-6 (sendreq)Thread-5 (sendreq):
Thread-7 (sendreq)Exception in thread :
File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
:
Thread-10 (sendreq)Traceback (most recent call last):
Exception in thread :
:
Traceback (most recent call last):
Thread-8 (sendreq)Traceback (most recent call last):
File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
Traceback (most recent call last):
:
Traceback (most recent call last):
:
File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
Exception in thread :
File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
Thread-9 (sendreq)Traceback (most recent call last):
File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
self.run() Traceback (most recent call last):
:
self.run() File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
self.run()Traceback (most recent call last):
Traceback (most recent call last):

  File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner

self.run() File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run
self.run() File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run

  File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner

File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner

      File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run
  File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run

self.run() self.run()
self._target(*self._args, **self._kwargs)self._target(*self._args, **self._kwargs)self.run()
self._target(*self._args, **self._kwargs) self.run()

self.run() File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run
File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run

File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run

File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq

  File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run
      File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq

self._target(*self._args, **self._kwargs) File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq
self._target(*self._args, **self._kwargs)already_checked = open('log.txt', mode='r')self._target(*self._args, **self._kwargs) File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run

self._target(*self._args, **self._kwargs)self._target(*self._args, **self._kwargs) File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq

already_checked = open('log.txt', mode='r') File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq
File "C:\Users\Shadow\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run
File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq

FileNotFoundError
already_checked = open('log.txt', mode='r') FileNotFoundError: self._target(*self._args, **self._kwargs) self._target(*self._args, **self._kwargs) File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq
File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq

: [Errno 2] No such file or directory: 'log.txt'
already_checked = open('log.txt', mode='r')already_checked = open('log.txt', mode='r')[Errno 2] No such file or directory: 'log.txt'

File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq
FileNotFoundError
already_checked = open('log.txt', mode='r')FileNotFoundError: already_checked = open('log.txt', mode='r')already_checked = open('log.txt', mode='r') [Errno 2] No such file or directory: 'log.txt'

: FileNotFoundError
already_checked = open('log.txt', mode='r')FileNotFoundError: FileNotFoundError
[Errno 2] No such file or directory: 'log.txt'[Errno 2] No such file or directory: 'log.txt': FileNotFoundError

FileNotFoundError: [Errno 2] No such file or directory: 'log.txt': File "C:\Users\Shadow\Downloads\discord-group-spammer-main\discord-group-spammer-main\all_together.py", line 129, in sendreq

[Errno 2] No such file or directory: 'log.txt':
[Errno 2] No such file or directory: 'log.txt'[Errno 2] No such file or directory: 'log.txt'

already_checked = open('log.txt', mode='r')
FileNotFoundError: [Errno 2] No such file or directory: 'log.txt'`

lol sorry about so many issues idk whats going on
It was working fine but now i cant add people to groups anymore

i can still make groups

@FuckingToasters
Copy link
Owner

This means that the file log.txt do not exist but it exist in the repo so you should create it i also will add that is t create the file of not exist tomorrow. I also will add more stuff tomorrow but now i go to bed.

@X8J
Copy link
Author

X8J commented Nov 20, 2021

alright gn lol

@X8J
Copy link
Author

X8J commented Nov 20, 2021

D:\Files\Tools\Discord\discord group spammer\discord-group-spammer-main (1)\discord-group-spammer-main
is where i have the log.txt file, it is there

@FuckingToasters
Copy link
Owner

FuckingToasters commented Nov 21, 2021

D:\Files\Tools\Discord\discord group spammer\discord-group-spammer-main (1)\discord-group-spammer-main is where i have the log.txt file, it is there

It is weird that you have multiplie subfolders. python looks in the folder where you ran the script so if the file is in D:/Group-spammer and you ran the all_together file in another location it will look there. i think it is better to copy all files after redownloading it and pasting them in a folder you created,

Another Solution you could try:
On the line 129 you will find this line i guess:
already_checked = open('log.txt', mode='r')
this try to open log.txt in readmode however you can change the r to r+ what will create the file if it not exist.

@X8J
Copy link
Author

X8J commented Nov 21, 2021

i have done what you said and copied all the files into C:\Users\kai\Downloads\dds, i also changed the log.txt to r+
it seems to have fixed the log.txt error but now displays this
File "C:\Users\kai\Downloads\dds\all_together.py", line 136, in sendreq shit = open('group_id.txt') FileNotFoundError: [Errno 2] No such file or directory: 'group_id.txt' self._target(*self._args, **self._kwargs) File "C:\Users\kai\Downloads\dds\all_together.py", line 136, in sendreq self._target(*self._args, **self._kwargs) shit = open('group_id.txt') FileNotFoundError: [Errno 2] No such file or directory: 'group_id.txt' shit = open('group_id.txt') FileNotFoundError: [Errno 2] No such file or directory: 'group_id.txt' shit = open('group_id.txt') shit = open('group_id.txt') FileNotFoundError: [Errno 2] No such file or directory: 'group_id.txt' File "C:\Users\kai\Downloads\dds\all_together.py", line 136, in sendreq shit = open('group_id.txt') FileNotFoundError: [Errno 2] No such file or directory: 'group_id.txt' shit = open('group_id.txt') FileNotFoundError: [Errno 2] No such file or directory: 'group_id.txt' FileNotFoundError: [Errno 2] No such file or directory: 'group_id.txt' shit = open('group_id.txt') FileNotFoundError: [Errno 2] No such file or directory: 'group_id.txt'

@X8J
Copy link
Author

X8J commented Nov 21, 2021

ok so it works on my other computer, ig u dont have to bother lol
thanks tho

@X8J
Copy link
Author

X8J commented Nov 21, 2021

a good feature would be remove a user from all groups though

@FuckingToasters
Copy link
Owner

FuckingToasters commented Nov 21, 2021

well i now edited the file so it create missing files before using them what should avoid this isse so you might want to redownload it. removing users from all groups and fetching members from guild as well as sending messages to all groups is already implemented in the current file. you might want to update it because i did many changes yesterday and today.

@FuckingToasters FuckingToasters added the bug Something isn't working label Nov 22, 2021
@FuckingToasters FuckingToasters changed the title new error..? [BUG] group_id.txt & log.txt => FileNotFoundError: [Errno 2] No such file or directory Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants