Discord.fm
Discord.fm copied to clipboard
[Bug] Won't start, directory not found?
Logs:
angel@linux-B550:~$ git clone https://github.com/androidWG/Discord.fm cd Discord.fm python setup.py setup Cloning into 'Discord.fm'... remote: Enumerating objects: 3546, done. remote: Counting objects: 100% (1072/1072), done. remote: Compressing objects: 100% (387/387), done. remote: Total 3546 (delta 680), reused 990 (delta 650), pack-reused 2474 Receiving objects: 100% (3546/3546), 21.55 MiB | 24.85 MiB/s, done. Resolving deltas: 100% (2231/2231), done.
Getting venv... Running simple command "pipenv --venv"...
Traceback (most recent call last):
File "/home/angel/Discord.fm/setup.py", line 202, in
OS Info:
OS: Linux Mint 21.3 x86_64 Host: B550 Kernel: 6.5.0-1027-oem Uptime: 2 hours, 7 mins Packages: 3042 (dpkg), 13 (flatpak) Shell: bash 5.1.16 Resolution: 3840x2160 DE: Xfce 4.18 WM: Xfwm4 WM Theme: Mint-Y-Aqua Theme: Adwaita-dark [GTK2/3] Icons: Mint-Y-Sand [GTK2/3] erminal: xfce4-terminal Terminal Font: Monospace 12 CPU: AMD Ryzen 7 5700G with Radeon G GPU: AMD ATI 08:00.0 Cezanne GPU: NVIDIA GeForce RTX 3060 Lite Ha Memory: 4388MiB / 63674MiB
Update:
angel@linux-B550:~/Discord.fm$ python setup.py setup
Getting venv... Running simple command "pipenv --venv"...
No virtualenv has been created for this project/home/angel/Discord.fm yet! Aborted! Running pipenv...
Running simple command "pipenv --python=3.11 install --dev"...
Warning: Python 3.11 was not found on your system... Neither 'pyenv' nor 'asdf' could be found to install Python. You can specify specific versions of Python with: $ pipenv --python path/to/python Running simple command "pipenv --venv"...
No virtualenv has been created for this project/home/angel/Discord.fm yet! Aborted! Running simple command "pipenv --py"...
No virtualenv has been created for this project /home/angel/Discord.fm yet! Aborted! Python path: Env path: Pip path: ['', '-m', 'pip', 'install']
Setup completed angel@linux-B550:~/Discord.fm$
Another Update:
angel@linux-B550:~/Discord.fm$ python setup.py setup
Getting venv... Running simple command "pipenv --venv"...
No virtualenv has been created for this project/home/angel/Discord.fm yet! Aborted! Running pipenv...
Running simple command "pipenv --python=3.11 install --dev"...
Creating a virtualenv for this project... Pipfile: /home/angel/Discord.fm/Pipfile Using /usr/bin/python3.11 (3.11.9) to create virtualenv... created virtual environment CPython3.11.9.final.0-64 in 232ms creator CPython3Posix(dest=/home/angel/.local/share/virtualenvs/Discord.fm-stLX6RFd, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/angel/.local/share/virtualenv) added seed packages: pip==24.1, setuptools==70.1.0, wheel==0.43.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
✔ Successfully created virtual environment! Virtualenv location: /home/angel/.local/share/virtualenvs/Discord.fm-stLX6RFd Pipfile.lock not found, creating... Locking [packages] dependencies... Building requirements... Resolving dependencies... False ✘ Locking Failed! Could not find a matching version of pywin32>=306; sys_platform == "windows" for your environment, its dependencies will be skipped. Could not find a matching version of aquaui>=0.0.1.post2; sys_platform == "darwin" for your environment, its dependencies will be skipped. Could not find a matching version of pyobjc>=10.0; sys_platform == "darwin" for your environment, its dependencies will be skipped. ERROR:pip.subprocessor:pip subprocess to install build dependencies exited with 1 [ResolutionFailure]: File "/home/angel/.local/lib/python3.10/site-packages/pipenv/resolver.py", line 645, in _main [ResolutionFailure]: resolve_packages( [ResolutionFailure]: File "/home/angel/.local/lib/python3.10/site-packages/pipenv/resolver.py", line 612, in resolve_packages [ResolutionFailure]: results, resolver = resolve( [ResolutionFailure]: ^^^^^^^^ [ResolutionFailure]: File "/home/angel/.local/lib/python3.10/site-packages/pipenv/resolver.py", line 592, in resolve [ResolutionFailure]: return resolve_deps( [ResolutionFailure]: ^^^^^^^^^^^^^ [ResolutionFailure]: File "/home/angel/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 932, in resolve_deps [ResolutionFailure]: results, hashes, internal_resolver = actually_resolve_deps( [ResolutionFailure]: ^^^^^^^^^^^^^^^^^^^^^^ [ResolutionFailure]: File "/home/angel/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 700, in actually_resolve_deps [ResolutionFailure]: resolver.resolve() [ResolutionFailure]: File "/home/angel/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 457, in resolve [ResolutionFailure]: raise ResolutionFailure(message=str(e)) [pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies. You can use $ pipenv run pip install <requirement_name> to bypass this mechanism, then run $ pipenv graph to inspect the versions actually installed in the virtualenv. Hint: try $ pipenv lock --pre if it is a pre-release dependency. ERROR: pip subprocess to install build dependencies exited with 1
Traceback (most recent call last):
File "/usr/bin/pipenv", line 33, in
/home/angel/.local/share/virtualenvs/Discord.fm-stLX6RFd Running simple command "pipenv --py"...
/home/angel/.local/share/virtualenvs/Discord.fm-stLX6RFd/bin/python Python path: /home/angel/.local/share/virtualenvs/Discord.fm-stLX6RFd/bin/python Env path: /home/angel/.local/share/virtualenvs/Discord.fm-stLX6RFd Pip path: ['/home/angel/.local/share/virtualenvs/Discord.fm-stLX6RFd/bin/python', '-m', 'pip', 'install']
Setup completed angel@linux-B550:~/Discord.fm$
I've completely changed the setup script now using uv instead of pipenv. You can try updating the code with git pull, running pip install packaging psutil to install required packages for the setup script and then running python setup.py run.
Just to note that running the app unfrozen (aka just from python setup.py run) as an end user isn't really the way it's supposed to be run for daily use, and won't have auto updates or easily start with the system.