PSA: This project is dead and so is sphinxbase
. This will not build with pocketsphinx
anymore.
Stop trying to build it and don't bother commenting, no one will hear your cries.
Git Clone URL: | https://aur.archlinux.org/subsync.git (read-only, click to copy) |
---|---|
Package Base: | subsync |
Description: | Subtitle Speech Synchronizer |
Upstream URL: | https://subsync.online |
Licenses: | GPL3 |
Submitter: | yochananmarqos |
Maintainer: | None |
Last Packager: | yochananmarqos |
Votes: | 5 |
Popularity: | 0.000006 |
First Submitted: | 2021-08-16 22:58 (UTC) |
Last Updated: | 2023-02-24 16:26 (UTC) |
PSA: This project is dead and so is sphinxbase
. This will not build with pocketsphinx
anymore.
Stop trying to build it and don't bother commenting, no one will hear your cries.
Right now, it builds without erros, but when running it I get:
Slider.SetValue(): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/subsync/__main__.py", line 73, in gui
win = MainWin(None, task)
File "/usr/lib/python3.10/site-packages/subsync/gui/mainwin.py", line 71, in __init__
self.m_sliderMaxDist.SetValue(settings().windowSize / 60.0)
TypeError: Slider.SetValue(): argument 1 has unexpected type 'float'
Can you fix this PKGBUILD? Or can you point me to some direction to install it correctly? The docs doesn't mention how to install it with python-wheel and I don't know python that much. Thanks in advance!
Lately I've this on the compilation stage instead
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.10 -I/usr/include/sphinxbase -I/usr/include/pocketsphinx -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -c gizmo/media/audiodec.cpp -o build/temp.linux-x86_64-3.10/gizmo/media/audiodec.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
gizmo/media/audiodec.cpp: In member function ‘virtual bool AudioDec::feed(const AVPacket*)’:
gizmo/media/audiodec.cpp:105:35: error: ‘av_get_default_channel_layout’ was not declared in this scope
105 | = av_get_default_channel_layout(m_frame->channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gizmo/media/audiodec.cpp: In member function ‘virtual void AudioDec::flush()’:
gizmo/media/audiodec.cpp:117:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
117 | av_init_packet(&packet);
| ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:45,
from gizmo/media/decoder.h:9,
from gizmo/media/audiodec.h:4,
from gizmo/media/audiodec.cpp:1:
/usr/include/libavcodec/packet.h:506:6: note: declared here
506 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
ERROR Backend subproccess exited when trying to invoke build_wheel
I made a couple fixes, but there's still an issue with the way the setup.py
uses pkg-config
to check for the FFMPeg modules. Not quite sure how to fix that yet.
Same, in a clean chroot with aurto (aurutils chroot)
Builds fails for me with:
gizmo/media/audiodec.cpp: In member function ‘virtual bool AudioDec::feed(const AVPacket*)’:
gizmo/media/audiodec.cpp:105:35: error: ‘av_get_default_channel_layout’ was not declared in this scope
105 | = av_get_default_channel_layout(m_frame->channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gizmo/media/audiodec.cpp: In member function ‘virtual void AudioDec::flush()’:
gizmo/media/audiodec.cpp:117:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
117 | av_init_packet(&packet);
| ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:45,
from gizmo/media/decoder.h:9,
from gizmo/media/audiodec.h:4,
from gizmo/media/audiodec.cpp:1:
/usr/include/libavcodec/packet.h:506:6: note: declared here
506 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
Aborting...
Thanks!
@Herlock I have the same problem. We should wait for python-wxpython to be updated
I am running this program on Manjaro KDE and I am getting the same error:
Slider.SetValue(): argument 1 has unexpected type 'float' Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/subsync/main.py", line 73, in gui win = MainWin(None, task) File "/usr/lib/python3.10/site-packages/subsync/gui/mainwin.py", line 71, in init self.m_sliderMaxDist.SetValue(settings().windowSize / 60.0) TypeError: Slider.SetValue(): argument 1 has unexpected type 'float'
Anyone knows how I can solve this?
Pinned Comments
yochananmarqos commented on 2023-02-24 23:15 (UTC)
PSA: This project is dead and so is
sphinxbase
. This will not build withpocketsphinx
anymore.Stop trying to build it and don't bother commenting, no one will hear your cries.