Skip to content

ValueError: could not convert string to float: '4491,\n' [Termux] #92

@PatoFlamejanteTV

Description

@PatoFlamejanteTV

Hi, I was using Stammer, when suddenly it gave this error:

~/stammer $ python stammer.py Record_2024-10-28-21-55-54.mp4 creepbell.mp3 finaaaaaal.mp4
Calculating video length
Traceback (most recent call last):
  File "/data/data/com.termux/files/home/stammer/stammer.py", line 307, in <module>
    main()
  File "/data/data/com.termux/files/home/stammer/stammer.py", line 303, in main
    process(**vars(args))
  File "/data/data/com.termux/files/home/stammer/stammer.py", line 201, in process
    carrier_framecount = float(get_framecount(carrier_path))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: '4491,\n'
~/stammer $

Screenshot_2024-10-28-22-02-58-75_84d3000e3f4017145260f7618db1d683.jpg

This is the first time it has done this, it has never happened either when I used it on Windows or the other uses on Termux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions