I cant run the script
When i try and run the script because when going to the folder by typing "python Cloudmare.py -h or python Cloudmare.py -hh" it says that i need to install a module manually... And i don't know how to install it ;(
Hey @Bloom080 Even I faced the same issue.
Debugging and Fixing Process of Cloudmare
During the debugging and fixing process of Cloudmare, several issues were identified and resolved:
1. thirdparty.urllib3.packages.six.moves Not Found
Issue:
Cloudmare was trying to import thirdparty.urllib3.packages.six.moves, which does not exist in modern Python libraries.
urllib3 and six are standalone packages and do not require a thirdparty reference.
Fix Applied:
- Replaced
from thirdparty.urllib3.packages.six.moves import ...withfrom six.moves import ... - Ensured
urllib3andsixwere properly installed:pip3 install --force-reinstall urllib3 six requests
2. thirdparty.colorama Not Found
Issue:
Cloudmare attempted to import thirdparty.colorama, which is incorrect.
colorama is a standard package and should be imported directly.
Fix Applied:
- Replaced
from thirdparty.colorama import Fore, Stylewithfrom colorama import Fore, Style - Installed
coloramamanually:pip3 install colorama
3. Generic thirdparty Module Not Found
Issue:
Cloudmare was still trying to load a non-existent thirdparty package.
This caused repeated warnings and failures.
Fix Applied:
- Removed all references to
thirdpartyacross the Cloudmare directory. - Automated the fix using a script:
python3 fix_thirdparty.py - Deleted the unused
thirdpartydirectory:rm -rf ~/Documents/tools/Cloudmare/thirdparty/
4. IndentationError in sublist3r.py
Issue:
After removing thirdparty, an empty try block remained, causing an IndentationError.
Fix Applied:
- Opened
sublist3r.pyand ensured thetryblock was not empty:try: pass # Placeholder to prevent empty block except Exception as e: print(f"Error: {e}")
Final Steps & Verification
After applying all fixes:
- Cleared Python cache:
find ~/Documents/tools/Cloudmare/ -name "__pycache__" -type d -exec rm -r {} + - Re-ran Cloudmare to confirm functionality:
python3 Cloudmare.py -h
Cloudmare should now function correctly. Let me know if you encounter further issues.
Guys, if you could get this script to work, could you be so kind to find the real address for the following link? https://cdn1.waterfox.net/waterfox/releases/6.5.6/WINNT_x86_64/Waterfox%20Setup%206.5.6.exe
Check my PR for the fix