mazen160 / GithubCloner

A script that clones Github repositories of users and organizations.
MIT License
405 stars 121 forks source link

TypeError: __init__() got an unexpected keyword argument 'daemon' #1

Closed omarkurt closed 7 years ago

omarkurt commented 7 years ago

Fisrtly thanks for this tool, Mazen! :)

Run mac os :

Omars-MacBook-Air:GithubCloner omarkurt$ sudo python githubcloner.py --user omarkurt -o /omarkurt
Traceback (most recent call last):
  File "githubcloner.py", line 250, in <module>
    main()
  File "githubcloner.py", line 245, in main
    cloneBulkRepos(URLs, output_path, threads_limit=threads_limit)
  File "githubcloner.py", line 166, in cloneBulkRepos
    threading.Thread(target=cloneRepo, args=(URL, cloningPath,), daemon=True).start()
TypeError: __init__() got an unexpected keyword argument 'daemon'
mazen160 commented 7 years ago

Hi Omar! Anytime! :)

The tool is tested on Python3. It seems that you have tried GithubCloner on Python2.

Can you try the tool again on Python3 and check the result?