Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tartube cannot start because it cannot find its icons folder #677

Open
dacorsa opened this issue Dec 26, 2024 · 5 comments
Open

Tartube cannot start because it cannot find its icons folder #677

dacorsa opened this issue Dec 26, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@dacorsa
Copy link

dacorsa commented Dec 26, 2024

Hi guys,
i downloaded latest code from this github site, i run "python3 setup.py install" but when i launch tartube i receive this error:

tartube
/usr/local/bin/tartube:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import('pkg_resources').run_script('tartube==2.5.66', 'tartube')
Tartube cannot start because it cannot find its icons folder

Thanks for taking the time to submit a bug report! Please include the following information:

What operating system are you using?

ubuntu 24.04

What version of Tartube are you using?

latest code

If your bug report is "I can't download this video", please provide a link to the video

tartube not start

@dacorsa dacorsa added the bug Something isn't working label Dec 26, 2024
@dacorsa
Copy link
Author

dacorsa commented Dec 26, 2024

Please can you tell me how to create the deb package from the code downloaded from github?
thanks

@axcore
Copy link
Owner

axcore commented Dec 27, 2024

i run "python3 setup.py install" but when i launch tartube i receive this error:

I will test that. In the mean time, you don't need to install Tartube, you can just run the source code directly.

Open a terminal in the Tartube directory (the one that contains setup.py), and type

python3 tartube/tartube

There is also a .deb package, you can download it from here.

@dacorsa
Copy link
Author

dacorsa commented Dec 27, 2024

Thanks good morning @axcore , i'd like to know how create deb package from source, not download already done, it's possibile to create deb package?
Thanks, best regards

@axcore
Copy link
Owner

axcore commented Dec 31, 2024

This is how I create the .deb package:

su
apt install git build-essential python3-setuptools python3-pip python3-all dh-python
apt-get install python3-stdeb fakeroot lintian
apt-file update
apt install python3-feedparser python3-requests 
exit
pip3 install playsound asyncio --break-system-packages

Download the Tartube source code, and extract it
Move ../pack/stdeb.cfg into the directory above (the one containin setup.py)
Open a terminal window in that folder, and type

TARTUBE_PKG=1 python3 setup.py sdist
su
TARTUBE_PKG=1 python3 setup.py --command-packages=stdeb.command bdist_deb
exit
lintian deb_dist/python3-tartube*deb

Your new .deb package is in the /deb_dist directory.

@axcore
Copy link
Owner

axcore commented Dec 31, 2024

About your error,

DeprecationWarning: pkg_resources is deprecated as an API. See...

My best guess is that it's an issue with pip, as described here. But I'm not sure because I can't reproduce the error on my Ubuntu machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants