Git Product home page Git Product logo

Comments (13)

ClaudioBoaventura avatar ClaudioBoaventura commented on August 10, 2024 1

Did you try running the pyTranscriber-gnome40-wayland version or just the default one? That special version was compiled on a Ubuntu 22.04 running Gnome so it should be more compatible...

This version I hadn't tried yet, I installed it and it worked with a few tweaks:

  • I changed the permissions of the files in the installation folder from "root" to my user;

  • I manually copied the program shortcut to the desktop;

  • Any sequence I follow to do the transcript is working without errors (I need to click the "Output Location" button every time, otherwise the window closes).

    As a suggestion, at least for me it would be very useful if the program supported other audio formats, for example ogg and opus (I don't know if there are limitations of AutoSub, if that's the way to continue using it in .mp3, but it's great).

Thank you very much for your effort to help, if you need any more information just ask me, congratulations and success with your project!!!

from pytranscriber.

raryelcostasouza avatar raryelcostasouza commented on August 10, 2024

Thanks for the report... could you please try to run the app from the terminal window and send me the output you get there when it crashes?

from pytranscriber.

ClaudioBoaventura avatar ClaudioBoaventura commented on August 10, 2024

Thanks for the report... could you please try to run the app from the terminal window and send me the output you get there when it crashes?

Of course, following messages from terminal:

claudio@notebook-Aspire-5920:~$ /opt/pyTranscriber/pyTranscriber
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: crocus
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: crocus
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast

(Below, error messages when clicking the buttons):

(pyTranscriber:2764): Gtk-WARNING **: 18:51:30.649: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Formato de arquivo de imagem não reconhecido (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Formato de arquivo de imagem não reconhecido (gdk-pixbuf-error-quark, 3)
Abortado (imagem do núcleo gravada)

from pytranscriber.

raryelcostasouza avatar raryelcostasouza commented on August 10, 2024

Please try installing the following package and see if the problem continues (solution from https://askubuntu.com/questions/1392138/problem-with-pygame-libgl-error-failed-to-load-driver-swrast):

sudo apt install libgl1-mesa-dri

from pytranscriber.

ClaudioBoaventura avatar ClaudioBoaventura commented on August 10, 2024

Please try installing the following package and see if the problem continues (solution from https://askubuntu.com/questions/1392138/problem-with-pygame-libgl-error-failed-to-load-driver-swrast):

sudo apt install libgl1-mesa-dri

Thanks for help.
The package is already installed, in the latest version available in the repositories (22.0.5)

from pytranscriber.

raryelcostasouza avatar raryelcostasouza commented on August 10, 2024

Did the previous suggestion work?
If not how about running the following command from the terminal and then running pyTranscriber?
export MESA_LOADER_DRIVER_OVERRIDE=i965
/opt/pyTranscriber/pyTranscriber

from pytranscriber.

ClaudioBoaventura avatar ClaudioBoaventura commented on August 10, 2024

Did the previous suggestion work? If not how about running the following command from the terminal and then running pyTranscriber? export MESA_LOADER_DRIVER_OVERRIDE=i965 /opt/pyTranscriber/pyTranscriber

Thanks a lot for the help.
The errors messages have changed, as displayed in the terminal (I believe it may be an error in the Mate environment, running on Ubuntu 22.04):

claudio@notebook-Aspire-5920:~$ export MESA_LOADER_DRIVER_OVERRIDE=i965
/opt/pyTranscriber/pyTranscriber

(pyTranscriber:8789): Gtk-WARNING **: 22:59:33.180: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Formato de arquivo de imagem não reconhecido (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Formato de arquivo de imagem não reconhecido (gdk-pixbuf-error-quark, 3)
Abortado (imagem do núcleo gravada)

from pytranscriber.

raryelcostasouza avatar raryelcostasouza commented on August 10, 2024

What video card you have on that laptop? Intel graphics or Nvidia/AMD?

from pytranscriber.

ClaudioBoaventura avatar ClaudioBoaventura commented on August 10, 2024

What video card you have on that laptop? Intel graphics or Nvidia/AMD?

Intel 965GM (with maximum 384MB shared memory)

from pytranscriber.

raryelcostasouza avatar raryelcostasouza commented on August 10, 2024

Please run the
$ export MESA_LOADER_DRIVER_OVERRIDE=i965
and then
$ LIBGL_DEBUG=verbose /opt/pyTranscriber/pyTranscriber
and paste here the output you get

from pytranscriber.

raryelcostasouza avatar raryelcostasouza commented on August 10, 2024

Did you try running the pyTranscriber-gnome40-wayland version or just the default one? That special version was compiled on a Ubuntu 22.04 running Gnome so it should be more compatible...

from pytranscriber.

raryelcostasouza avatar raryelcostasouza commented on August 10, 2024

In terms of audio formats... just try hard-renaming your ogg file to .mp3 for example and see if works... ffmpeg is the thing doing the conversions... so theoretically it should be able to convert basically anything...

from pytranscriber.

raryelcostasouza avatar raryelcostasouza commented on August 10, 2024

Good to hear you managed to get the app working... I will investigate the issue of the Output Location when possible... looks like a Mate related bug because on GNOME it works fine...

from pytranscriber.

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.