ZeroNetX / ZeroNet

ZeroNetX - Decentralized websites using Bitcoin crypto and BitTorrent network
https://zeronet.dev
Other
212 stars 32 forks source link

TypeError: expected str, bytes or os.PathLike object, not NoneType #155

Closed nerd36 closed 2 years ago

nerd36 commented 2 years ago

Step 1: Please describe your environment

Step 2: Describe the problem:

$ python3 ./start.py
- Starting ZeroNet...
[04:31:54] - Unhandled exception: expected str, bytes or os.PathLike object, not NoneType
Traceback (most recent call last):
  File "/home/m/Downloads/New_Folder/ZeroNet/ZeroNetX/ZeroNet/zeronet.py", line 16, in main
    import main
  File "/home/m/Downloads/New_Folder/ZeroNet/ZeroNetX/ZeroNet/src/main.py", line 74, in <module>
    from Plugin import PluginManager
  File "/home/m/Downloads/New_Folder/ZeroNet/ZeroNetX/ZeroNet/src/Plugin/PluginManager.py", line 211, in <module>
    plugin_manager = PluginManager()  # Singletone
  File "/home/m/Downloads/New_Folder/ZeroNet/ZeroNetX/ZeroNet/src/Plugin/PluginManager.py", line 19, in __init__
    self.path_plugins = os.path.abspath(os.path.dirname(plugins.__file__))
  File "/usr/lib/python3.10/posixpath.py", line 152, in dirname
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
---
nerd36 commented 2 years ago

I had to use git clone --recursive