Giter Site home page Giter Site logo

Comments (5)

Nekmo avatar Nekmo commented on August 23, 2024

Test using quotes.

from telegram-upload.

finnyfound avatar finnyfound commented on August 23, 2024

Thanks it worked, would you mind updating the ReadMe file for future users?

from telegram-upload.

finnyfound avatar finnyfound commented on August 23, 2024

Uploaded 1 file successfully then this error occurred.

command used
python telegram-upload "H:\Music\Den\The_Den_-_Trojans\01 Homtest.mp4"

Traceback (most recent call last):
  File "telegram-upload", line 6, in <module>
    catch(manage)()
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telegram_upload\exceptions.py", line 25, in wrap
    fn(*args, **kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telegram_upload\management.py", line 18, in manage
    client.send_files(to, files, delete_on_success)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telegram_upload\client.py", line 51, in send_files
    thumb = get_file_thumb(file)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telegram_upload\files.py", line 36, in get_file_thumb
    return get_video_thumb(file)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telegram_upload\video.py", line 38, in get_video_thumb
    ], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 1178, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

from telegram-upload.

Nekmo avatar Nekmo commented on August 23, 2024

I would have to disable support for videos in Windows. This is a problem of support for Windows.

from telegram-upload.

Nekmo avatar Nekmo commented on August 23, 2024

Now telegram-upload uses ffmpeg.exe for Windows and FFMPEG_COMMAND environment variable is now available.

from telegram-upload.

Related Issues (20)

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.