Giter VIP home page Giter VIP logo

tartube's People

Contributors

allblue avatar axcore avatar candrapersada avatar ceonelson avatar fqd511 avatar laurencee avatar lux-hue avatar mirusu400 avatar vistaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tartube's Issues

Folder contents disappear after switching to another and back

The branch is master and I'm on Arch Linux. I'm running Tartube from the tartube directory under the cloned repository with python3 tartube.

There appear to be some glitches for me with Tartube. One of them is that I have a video that I started downloading under Unsorted Videos, but it doesn't show up unless I press Check folder, and then it disappears again when I press another folder button and go back to Unsorted Videos.

How to download direct audio

Hi,

How can I download the audio directly using Tartube?

Using youtube-dl I do it easily by choosing format core 140 (for most youtube videos) but Tartube download the video in all the cases then extract the audio file.

ex.

$ youtube-dl -F https://www.youtube.com/watch?v=rG0UXdRKEoc
[youtube] rG0UXdRKEoc: Downloading webpage
[youtube] rG0UXdRKEoc: Downloading video info webpage
[info] Available formats for rG0UXdRKEoc:
format code  extension  resolution note
249          webm       audio only tiny   51k , opus @ 50k (48000Hz), 2.22MiB
250          webm       audio only tiny   67k , opus @ 70k (48000Hz), 2.67MiB
140          m4a        audio only tiny  130k , m4a_dash container, mp4a.40.2@128k (44100Hz), 5.80MiB
251          webm       audio only tiny  132k , opus @160k (48000Hz), 5.04MiB
278          webm       256x144    144p   96k , webm container, vp9, 30fps, video only, 3.87MiB
160          mp4        256x144    144p  113k , avc1.4d400c, 30fps, video only, 3.61MiB
242          webm       426x240    240p  182k , vp9, 30fps, video only, 5.63MiB
133          mp4        426x240    240p  259k , avc1.4d4015, 30fps, video only, 8.09MiB
243          webm       640x360    360p  335k , vp9, 30fps, video only, 10.22MiB
244          webm       854x480    480p  616k , vp9, 30fps, video only, 16.51MiB
134          mp4        640x360    360p  627k , avc1.4d401e, 30fps, video only, 14.87MiB
135          mp4        854x480    480p 1141k , avc1.4d401f, 30fps, video only, 25.70MiB
247          webm       1280x720   720p 1292k , vp9, 30fps, video only, 35.16MiB
136          mp4        1280x720   720p 2201k , avc1.4d401f, 30fps, video only, 49.53MiB
248          webm       1920x1080  1080p 2531k , vp9, 30fps, video only, 82.56MiB
137          mp4        1920x1080  1080p 4607k , avc1.640028, 30fps, video only, 94.88MiB
18           mp4        640x360    360p  468k , avc1.42001E, mp4a.40.2@ 96k (44100Hz), 21.01MiB
22           mp4        1280x720   720p 1233k , avc1.64001F, mp4a.40.2@192k (44100Hz) (best)

Add simple quality selector

This project was made in response to youtube-dlg being unmaintained as of late. The single showstopper for me installing that program on my father's computer was the lack of a simple quality selection interface, instead listing every available video format (for youtube-dl's --format selection) you had to manually select. And this may only apply to one site that provides that format or may be different per video.

Tartube does the same thing, so I have the same issue.

A simple selector with 360p, 480p, 720p, 1080p, 1440p, 2160p, etc should be added that tells youtube-dl the equivalent of

youtube-dl --format "bestvideo[height<=selectedformat]+bestaudio/best[height<=selectedformat]"

possibly with an audio only option as well to ask for "bestaudio", but not strictly necessary.

This will get youtube-dl to handle the format selection and not force the user to select every relevant possible format if they don't want to download the highest quality video.

I believe this option should not be located under download options and should be directly accessible on right click of a download, or even better, from the main UI.

Thank you for your hard work on this program, it is lovely!

Goto source

Hi,

In Progress tab I suggest to add a new menuitem called Goto source because sometime when youtube-dl failed to download a video Tartube unable tp show the failed video info.

For example the following video is a private one so Tartube shows nothing in Progress tab and I'm unable to know which video failed because I've tens of video sources!
https://www.youtube.com/watch?v=k8Jt3_22SYo&feature=em-uploademail
image

Drag & drop support

Hi,

I suggest to add support for drag & drop which load Videos window and paste the link automatically.

Sometimes hanging on quit

I don't know what exactly causes it. When I open up Tartube and immediately use File -> Quit, it closes successfully in an "instant". However, then there are those times when I've been using it for a bit and this is what it manages to get to before freezing, not closing the application:

2020-01-23 03:27:33 app 8756 on_menu_quit
2020-01-23 03:27:33 app 1581 stop
2020-01-23 03:27:33 app 1624 stop_continue
2020-01-23 03:27:33 app 2051 save_config
2020-01-23 03:27:33 app 2707 save_db
2020-01-23 03:27:33 app 1231 do_shutdown

Ctrl+C then gave:

^CException ignored in: <module 'threading' from '/usr/lib/python3.8/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 1388, in _shutdown
    lock.acquire()
KeyboardInterrupt:

Default videos folder

I suggest to set the default folder of the videos depending on the selected folder in Folders tree.

Ex. As shown in the screenshot below I expect Tartube to set the default folder as Documentary instead of Unsorted Videos because I already selected Documentary from the folders tree (you can make Unsorted Videos is the default folder in case the user doesn't select any folder)

image

System tray

I suggest to add system tray with an option Close to tray instead of direct quit.

Better support for my viewing habits

I think this project might be closest that I've yet seen to my own vision for a good video manager. Beyond some glitches I think I'm having (I don't always know how it is supposed to operate, so reporting might be difficult at times), it also seems to have a bit of a learning curve. So some feedback might be unwarranted because I just don't understand something.

Anyway, I see that under advanced download options, there is "Maximum downloads from a playlist". However, this doesn't seem to stop youtube-dl from downloading the entire playlist (on 1.3.007; playlists seem to be wonky for me with master). So that seems to just not work currently if I'm not missing something. I have my videos stored on a USB stick so space is limited so I cannot afford to download potentially hundreds of full-HD videos for each playlist.

For "Format for video file names" I'd request "Autonumber + Title" as a listed option. I didn't manage to get in pretty much any testing with it yet, but I know I've encountered some issues with youtube-dl's built-in autonumbering on my own video manager implementation. I don't know if it handles individual videos sensibly on Tartube, and how it handles the cases where downloading of a playlist is started from anywhere but the beginning. I personally prefer if it will use the index on the playlist as the number it puts in the file name (except the reverse if using reverse playlist mode). However, if I remember correctly, youtube-dl will want to always start from index 1 in its numbering.

And here's something I'm pretty sure Tartube simply cannot at least easily be used for (I suppose maybe messing with the Post-processing tab could allow for this). Splitting up videos into reasonable-length chunks after they've been downloaded. I even have it on a two-tier system on my own video manager implementation: if the video doesn't exceed a minimum length (which I've set to 30 minutes), it will not split the video. However, if it exceeds that length, it will call ffmpeg to split it up into 20 minute parts.

The subtitles tab in settings talks about subtitle files, but what about embedding the subtitles? Couldn't that be offered as an option to choose (or are the options just named misleadingly)? Also, as a non-native English speaker, I also want the subtitles also in my own native language if available. However, Tartube currently only offers easy access to just none, one or all subtitles.

Well, I've been mentioning my own implementation and here it is, even though it's not quite yet suited for use of the general public. https://github.com/MikkoMMM/youtube-library

Short usage instructions would be to change the values in the beginning of download.py to match your preferences, and call download.py with a playlist URL as a parameter. And currently only Linux is "officially" supported; though calling it with --choplength=0 should disable the video splitting functionality that I, as it is now, see as problematic on Windows at least but still, I've not done any testing outside Linux.

Temporary Videos ghosting

Despite the folder being empty, it appears to contain a video.
temporary 1-1

Every new download increases the tally.

Feature request: Clipboard monitoring

If the "Add videos" window would have a clipboard monitoring feature, not just initially on the first time opening the window, but continuous until you stop monitoring, it would really help to add multiple single videos from different places much faster.

To make it a bit more fancy it could also filter the list for proper links.

Some feature requests

Please, add an option to change the default folder when adding new urls so we can change the default "unsorted folder" to whatever folder we want instead of having to change it every time we add new urls.

Another feature I want to request is to integrate the add new video/channel/playlist window into the main one kinda like youtube-dl-gui where we just had to paste the link and press a button, instead in Tartube we have to press a button out of three, then paste the url/s, pick the right folder (because we can't change the default one) and then click on another button, and is even more steps if trying to download a channel/playlist.

So here comes the last one, please allow us (add an option) to input whatever kind of url into the "add new video" window and download them all in the same unique folder instead of having to download to (and force us to input) the channel/playlist name subfolder.

Thanks.

Unable to run tartube.py

Unable to run tartube.py

$ python3 --version
Python 3.6.7
evander@evander ~/Desktop/tartube $ python3 tartube.py 
Traceback (most recent call last):
  File "tartube.py", line 32, in <module>
    from lib import mainapp
ImportError: cannot import name 'mainapp'
evander@evander ~/Desktop/tartube $ 
  • Linux Mint 19.3 xfce
  • Commit: cdaa2ba

Check hangs for a playlist

I'm on the master branch, and after adding a playlist and pressing "Check all", nothing much seems to happen. In the console it just starts looping these kind of lines:

2020-01-23 01:58:44 app 7491 dl_timer_callback
2020-01-23 01:58:44 mwn 5248 progress_list_display_dl_stats
2020-01-23 01:58:44 mwn 5493 results_list_update_row
2020-01-23 01:58:44 mwn 5842 output_tab_update_pages
2020-01-23 01:58:44 dld 990 fetch_next_item
2020-01-23 01:58:44 dld 408 check_workers_all_finished
2020-01-23 01:58:44 dld 990 fetch_next_item
2020-01-23 01:58:44 dld 408 check_workers_all_finished

AtomicParsley

ERROR: AtomicParsley was not found. Please install.

Im on Windows and it looks like AtomicParsley isnt integrated with tartube, so im wondering how/where i can add AtomicParsley to make it working within Windows, so i can at thumbnail for mp4 files.

With Youtube-dl Gui i can just place the exe in the root folder of the programm, but the folder structure of Tarttube is more complicated.

Doesn't finish!

Hi,

In case there is an error occurs during downloading process Tartube doesn't finish the download process even if I call Stop!

Ex. The following video violate copyrights so it shows an error thus Tartube doesn't finish:
https://www.youtube.com/watch?v=PMXYbcHzrIg
image

image

Peek 2020-01-05 18-29

  • Tartube: v1.3.007
  • Linux mint 19.3 xfce

Fail to refocus window

Clicking on the main window with another program in focus will not bring up TarTube if a dialog is open, only unfocus the other application.
unfocused

I believe standard behavior refocuses program with dialog blinking on top.

customize icons location

How can I specify where tartube should look for its icons? I'd like to install the icons in /usr/share/tartube/icons/

A one-off crash when checking playlist

I attempted to reproduce this twice, but it worked correctly the other times. Anyway, when I tried checking a playlist, there was this crash.

I figured I'd include the recently-used.xbel warnings as well since those didn't appear on the subsequent runs. I've disabled that functionality on my system by making it a directory but that's only ever produced warnings, not crashes.

(tartube:38061): Gtk-WARNING **: 18:54:16.152: Attempting to read the recently used resources file at '/home/mikko/.local/share/recently-used.xbel', but the parser failed: Error reading file “/home/mikko/.local/share/recently-used.xbel”: Is a directory.

(tartube:38061): Gtk-WARNING **: 18:54:21.798: Attempting to store changes into '/home/mikko/.local/share/recently-used.xbel', but failed: Failed to rename file “/home/mikko/.local/share/recently-used.xbel.8NOJE0” to “/home/mikko/.local/share/recently-used.xbel”: g_rename() failed: Is a directory

(tartube:38061): Gtk-CRITICAL **: 18:55:01.110: ../gtk/gtk/gtktreeview.c:6711 (validate_visible_area): assertion `has_next' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel.  This generally means that the model has changed
without letting the view know.  Any display from now on is likely to
be incorrect.

Segmentation fault (core dumped)
code 139

add a build option to turn youtube-dl binary update off

We have to turn youtube-dl binary update off if we want tartube to enter Debian. One option is for the packager (probably me) to add a patch to remove this functionality, but keeping it up to date can be time consuming. It would be a lot easier to have a way to turn this off at build time (with an environment variable or command line option)

Can't add videos

Trying to get into edit -> general download options to include the command string I use for the atomicparsley thread and that window won't open... and neither will add a video, channel, etc.

Any thoughts on what might be causing this? My database is also empty somehow and the refresh failed, so basically I can't use the app when it was working fine before I closed it last week :/

It happened originally on 1.3.007 and is still happening after the update to 1.3.077.

On a side note, is there a way for the Windows installer to remember the custom location Tartube was installed in?

Thanks for all your hard working making this!

Tartube 1.1.0 can't run on Windows 7

Nothing happens when attempting to run on Windows 7. No errors are displayed.

ROBN@ROBN-PC C:\Users\ROBN\AppData\Local\Tartube\msys64\home\user\tartube
# ..\..\..\usr\bin\mintty.exe -w hide /bin/env MSYSTEM=MINGW64 /bin/bash -lc /home/user/tartube/tartube_mswin.sh


ROBN@ROBN-PC C:\Users\ROBN\AppData\Local\Tartube\msys64\home\user\tartube
#

Running GTK graphics test results in a missing file

/home/user/tartube/hello_world_mswin.sh: line 4: cd: tartube: No such file or directory
C:\Users\ROBN\AppData\Local\Tartube\msys64\mingw64\bin\python3.exe: can't open file 'hello_world.py': [Errno 2] No such file or directory
/bin/env: Exit 2.

I'm not sure where is is looking. Are there other dependencies I do not have installed?

settings & db location

tartube seems to store its settings.json and its tartube.db and tartube_BU.db in my $HOME. It would be nice if it could use $XDG_CONFIG_HOME/tartube/settings.json and $XDG_DATA_HOME/tartube.db

60fps

Is there a way to download a video in 60fps?

[youtube-dl displays the 60fps video formats options with -F command so maybe there is a way to work around that.]

youtube-dl compitbility

Hi,

I downloaded a full youtube channel using youtube-dl but when I tried to use Tartube for continue downloading the new videos it started from the beginning because it doesn't call youtube-dl with --continue argument.

How can I fix this issue?

  • Tartube: v1.3.007
  • Linux mint 19.3 xfce

very slow start

I takes around 30s to start tartube on my laptop. Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz is not the latest cpu but a small program like this should still start faster...

Invalid format specification

Picking DASH audio gave me this error. DASH and 3D formats are missing opening parenthesis, rendering downloads impossible.

should use "tartube" instead of "lib"

Trying to create a Debian package for tartube, I noticed that modules are installed in /usr/lib/python3/dist-packages/lib/, which should be /usr/lib/python3/dist-packages/tartube/... Could you rename the lib module to tartube?

Can't launch 0.5.0, Win 10

Notes:

I used the 64bit installer
I'm using Windows 10
Both of the dll files mentioned in the error report are present in the folder.

Popup dialog error output:

Titlebar: python3.exe - Entry Point Not Found
Content: The procedure entry point inflateValidate could not be located in the dynamic link library C:\Tartube\msys64\mingw64\bin\libpng16-16.dll

Console output:

C:\Tartube\msys64\home\user\tartube>......\mingw64\bin\python3.exe tartube.py

** (python3.exe:9052): WARNING **: 23:01:32.700: Failed to load shared library 'libgdk-3-0.dll' referenced by the typelib: 'libgdk-3-0.dll': The specified procedure could not be found.
Traceback (most recent call last):
File "tartube.py", line 32, in
from lib import mainapp
File "C:\Tartube\msys64\home\user\tartube\lib\mainapp.py", line 26, in
from gi.repository import Gtk, GObject, GdkPixbuf
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in load_backward_compatible
File "C:\Tartube\msys64\mingw64\lib\python3.7\site-packages\gi\importer.py", line 145, in load_module
importlib.import_module('gi.repository.' + dep.split("-")[0])
File "C:\Tartube\msys64\mingw64\lib\python3.7\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in load_unlocked
File "", line 638, in load_backward_compatible
File "C:\Tartube\msys64\mingw64\lib\python3.7\site-packages\gi\importer.py", line 146, in load_module
dynamic_module = load_overrides(introspection_module)
File "C:\Tartube\msys64\mingw64\lib\python3.7\site-packages\gi\overrides_init
.py", line 118, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "C:\Tartube\msys64\mingw64\lib\python3.7\importlib_init
.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "C:\Tartube\msys64\mingw64\lib\python3.7\site-packages\gi\overrides\Gdk.py", line 83, in
Color = override(Color)
File "C:\Tartube\msys64\mingw64\lib\python3.7\site-packages\gi\overrides_init
.py", line 195, in override
assert g_type != TYPE_NONE
AssertionError

C:\Tartube\msys64\home\user\tartube>PAUSE
Press any key to continue . . .

32 bit setup installation not running

i probably 've a mess with my enviromental paths
so i tried manually launching the program from the mintty installed on the tartube folders and running with the command you posted and the program launched without issues.
i'm posting this to see how i can fix this properly..
launching the application from the shorcut leads to nothing the process for python appears on the background but after a while it dies. and removing the -w hide flag shows a blank mintty terminal that does nothing for hours.

Update youtube-dl the proper way

Hi,

Whenever I tried to update youtube-dl I get this error message:

Starting update operation, installing/updating youtube-dl
Collecting youtube-dl
  Using cached https://files.pythonhosted.org/packages/ef/f8/3424069c6d1e285fda98a83c48470578d2df4047e6e77e1b16fc28cf95d3/youtube_dl-2020.1.15-py2.py3-none-any.whl
Installing collected packages: youtube-dl
  Found existing installation: youtube-dl 2020.1.1
    Uninstalling youtube-dl-2020.1.1:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/bin/youtube-dl'
Consider using the `--user` option or check the permissions.
Child process exited with non-zero code: 1
Update operation finished

I use the same configurations mentioned in README file:
https://raw.githubusercontent.com/axcore/tartube/master/screenshots/example2.png

I tried to use the following configurations but I got another error message:
image

Starting update operation, installing/updating youtube-dl
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.
Update operation finished

Of course I can update it manually but I wonder why this feature is available while Tartube unable to update youtube-dl by itself?!

Installing using pip

Hi,

I'm unable to install tartube using pip whether I use sudo or not!

without root access

$ pip install tartube
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting tartube
  Downloading https://files.pythonhosted.org/packages/9d/19/3b0a16ce2bcaad8d02d1483b852ec430d186dc96fd5ebc85354e78b37c88/tartube-0.1.0.tar.gz (133kB)
     |████████████████████████████████| 143kB 540kB/s 
Installing collected packages: tartube
  Running setup.py install for tartube ... error
    ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-qTWvTz/tartube/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-NaWrNI/install-record.txt --single-version-externally-managed --compile:
    ERROR: /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    /usr/lib/python2.7/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing '0.1.000' to '0.1.0'
      normalized_version,
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/lib
    copying lib/__init__.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/testing.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/media.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/constants.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/downloads.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/mainwin.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/utils.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/updates.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/options.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/refresh.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/files.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/config.py -> build/lib.linux-x86_64-2.7/lib
    copying lib/mainapp.py -> build/lib.linux-x86_64-2.7/lib
    running install_lib
    creating /usr/local/lib/python2.7/dist-packages/lib
    error: could not create '/usr/local/lib/python2.7/dist-packages/lib': Permission denied
    ----------------------------------------
ERROR: Command "/usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-qTWvTz/tartube/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-NaWrNI/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-qTWvTz/tartube/

using root access

$ sudo pip install tartube
[sudo] password for evander:             
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
WARNING: The directory '/home/evander/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/evander/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting tartube
  Downloading https://files.pythonhosted.org/packages/9d/19/3b0a16ce2bcaad8d02d1483b852ec430d186dc96fd5ebc85354e78b37c88/tartube-0.1.0.tar.gz (133kB)
     |████████████████████████████████| 143kB 550kB/s 
Installing collected packages: tartube
  Running setup.py install for tartube ... done
Successfully installed tartube-0.1.0
evander@evander-laptop ~ $ tartube
tartube: command not found
$ sudo -H pip install tartube
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: tartube in /usr/local/lib/python2.7/dist-packages (0.1.0)
$ tartube
tartube: command not found

Unable to open on Windows 10

Just installed tartube on Win 10 x64 and when opening the program nothing happens. Cmd window is shown for 1ms and then nothing, tried running command from cmd window and still nothing, no error, nor nothing.
I've UAC disabled, AV disabled.

When running hello_world bat I got this from mingw:

/etc/post-install/01-devices.post: line 56: chmod: command not found
/etc/post-install/01-devices.post: line 85: chmod: command not found
/etc/post-install/01-devices.post: line 90: /usr/bin/test: No such file or directory
/etc/post-install/01-devices.post: line 90: ln: command not found
/etc/post-install/01-devices.post: line 91: /usr/bin/test: No such file or directory
/etc/post-install/01-devices.post: line 91: ln: command not found
/etc/post-install/01-devices.post: line 92: /usr/bin/test: No such file or directory
/etc/post-install/01-devices.post: line 92: ln: command not found
/etc/post-install/01-devices.post: line 93: /usr/bin/test: No such file or directory
/etc/post-install/01-devices.post: line 93: ln: command not found
/etc/post-install/03-mtab.post: line 5: ln: command not found
/etc/post-install/05-home-dir.post: line 4: exec: id: not found
/etc/post-install/05-home-dir.post: line 224: mkdir: command not found
/home/angel could not be created.
Setting HOME to /tmp.
/etc/profile: line 128: /usr/bin/hostname: No such file or directory
/etc/profile.d/lang.sh: line 19: /usr/bin/locale: No such file or directory
/etc/profile.d/tzset.sh: line 22: /usr/bin/tzset: No such file or directory
/home/user/tartube/hello_world_mswin.sh: line 4: cd: tartube: No such file or directory
C:\Programas\Tartube\msys64\mingw64\bin\python3.exe: can't open file 'hello_world.py': [Errno 2] No such file or directory
/bin/env: Exit 2.

No module named 'mainapp'

Traceback (most recent call last):
  File "/usr/local/bin/tartube", line 4, in <module>
    __import__('pkg_resources').run_script('tartube==1.1.8', 'tartube')
  File "/home/pjobson/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 666, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/pjobson/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1469, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python3.6/dist-packages/tartube-1.1.8-py3.6.egg/EGG-INFO/scripts/tartube", line 33, in <module>
ModuleNotFoundError: No module named 'mainapp'

Followed the instructions for install:

git clone https://github.com/axcore/tartube.git
cd tartube
python3 setup.py install

Throws:

/home/pjobson/.local/lib/python3.6/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '1.1.008' to '1.1.8'
  normalized_version,
running install
error: can't create or remove files in install directory

Elevated privledges can install it.

sudo python3 setup.py install

Installs to /usr/local/bin/tartube, running as local user or root throws similar errors as shown at the top.

Running Linux Mint 19.2 Tina x86_64.

Unable to launch Tartube

$ python3 tartube
/home/server/tartube/mainwin.py:41: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
Traceback (most recent call last):
  File "tartube", line 82, in <module>
    os.path.dirname(importlib.util.find_spec('tartube').origin)
AttributeError: 'NoneType' object has no attribute 'origin'
$

Commit: 3094486

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.