[GH-ISSUE #60] I cant run the script #48

Open
opened 2026-03-03 15:57:00 +03:00 by kerem · 3 comments
Owner

Originally created by @Bloom080 on GitHub (Feb 16, 2025).
Original GitHub issue: https://github.com/mrh0wl/Cloudmare/issues/60

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 ;(

Originally created by @Bloom080 on GitHub (Feb 16, 2025). Original GitHub issue: https://github.com/mrh0wl/Cloudmare/issues/60 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 ;(
Author
Owner

@DevVaibhav07 commented on GitHub (Mar 5, 2025):

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 ... with from six.moves import ...
  • Ensured urllib3 and six were 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, Style with from colorama import Fore, Style
  • Installed colorama manually:
    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 thirdparty across the Cloudmare directory.
  • Automated the fix using a script:
    python3 fix_thirdparty.py
    
  • Deleted the unused thirdparty directory:
    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.py and ensured the try block 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.

<!-- gh-comment-id:2701405194 --> @DevVaibhav07 commented on GitHub (Mar 5, 2025): 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 ...` with `from six.moves import ...` - Ensured `urllib3` and `six` were properly installed: ```bash 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, Style` with `from colorama import Fore, Style` - Installed `colorama` manually: ```bash 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 `thirdparty` across the Cloudmare directory. - Automated the fix using a script: ```bash python3 fix_thirdparty.py ``` - Deleted the unused `thirdparty` directory: ```bash 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.py` and ensured the `try` block was not empty: ```python 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: ```bash find ~/Documents/tools/Cloudmare/ -name "__pycache__" -type d -exec rm -r {} + ``` - Re-ran Cloudmare to confirm functionality: ```bash python3 Cloudmare.py -h ``` Cloudmare should now function correctly. Let me know if you encounter further issues.
Author
Owner

@sergeevabc commented on GitHub (Apr 16, 2025):

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

<!-- gh-comment-id:2810972668 --> @sergeevabc commented on GitHub (Apr 16, 2025): 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
Author
Owner

@4n4l1st-ch4rl3s commented on GitHub (Jul 24, 2025):

Check my PR for the fix

<!-- gh-comment-id:3113232604 --> @4n4l1st-ch4rl3s commented on GitHub (Jul 24, 2025): Check my [PR](https://github.com/mrh0wl/Cloudmare/pull/61) for the fix
Sign in to join this conversation.
No labels
pull-request
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/Cloudmare#48
No description provided.