Coder Social home page Coder Social logo

Comments (17)

wwmm avatar wwmm commented on June 15, 2024

Hi

After copying the files and folders in pulseeffects share folder to /usr/share you have to run glib-compile-schemas /usr/share/glib-2.0/schemas/. The setup.py script does not does that as python setuptools documentation does not recommends this to be done there

from easyeffects.

 avatar commented on June 15, 2024

OK, I added that, but now I get this error:

PulseEffects - CRITICAL - failed to start pulseaudio context

It sounds like a problem with pulseaudio? I don't know much about it...

from easyeffects.

wwmm avatar wwmm commented on June 15, 2024

hummm... Which version of pulseaudio are you using? Is there anything else in the system's log when this happen?

from easyeffects.

 avatar commented on June 15, 2024

In Void linux we have pulseaudio 10.0

$ pulseeffects
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
22:01:11.429 - PulseEffects - CRITICAL - failed to start pulseaudio context
^CTraceback (most recent call last):
File "/usr/bin/pulseeffects", line 6, in <module>
a = Application()
File "/usr/lib/python3.5/site-packages/PulseEffects/application.py", line 49, in __init__
self.pm = PulseManager()
File "/usr/lib/python3.5/site-packages/PulseEffects/pulse_manager.py", line 65, in __init__
while self.context_ok is False:
KeyboardInterrupt

😫 Well, there is an obvious problem with pulseaudio on my system:

$ start-pulseaudio-x11
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

from easyeffects.

 avatar commented on June 15, 2024

The problem with pulseaudio is solved !
My system is now correctly configured...
...but it looks like errors with Python:

$ pulseeffects
Traceback (most recent call last):
File "/usr/bin/pulseeffects", line 4, in <module>
from PulseEffects.application import Application
File "/usr/lib/python3.5/site-packages/PulseEffects/application.py", line 10, in <module>
from PulseEffects.gst import GstEffects
File "/usr/lib/python3.5/site-packages/PulseEffects/gst.py", line 7, in <module>
from gi.repository import GObject, Gst
File "/usr/lib/python3.5/site-packages/gi/importer.py", line 146, in load_module
dynamic_module = load_overrides(introspection_module)
File "/usr/lib/python3.5/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/lib/python3.5/site-packages/gi/overrides/Gst.py", line 487, in <module>
from . import _gi_gst
ImportError: Error relocating /usr/lib/python3.5/site-packages/gi/overrides/_gi_gst.cpython-35m-x86_64-linux-gnu.so: Py_InitModule4_64: symbol not found

from easyeffects.

wwmm avatar wwmm commented on June 15, 2024

It seems there is a problem with gst-python. Which version do you have?

from easyeffects.

 avatar commented on June 15, 2024

gst1-python3 version 1.12.0

Today I compiled your new release 1.5.4 , but I get the same errors as above, when I run pulseeffects.

from easyeffects.

wwmm avatar wwmm commented on June 15, 2024

This is very strange. I have gst-python 1.12 in Arch Linux too and I do not have the error Py_InitModule4_64: symbol not found. Maybe the problem is with the python version. Here in Arch I have python 3.6.1. Based on your error logs you are probably with python 3.5. I think this version should be ok but I do not remember If I had the chance to test PulseEffects with python 3.5

from easyeffects.

thenewnano avatar thenewnano commented on June 15, 2024

I had something similiar, deleted the scheme xml file, then run compile-schemas and after that copied the files again into /usr/share and did run the compile-schemas again, it resolved wrong schemes being compiled from the previous version.

from easyeffects.

wwmm avatar wwmm commented on June 15, 2024

As this problem is specific to void linux packages and there is nothing I can do about it I will close this issue.

from easyeffects.

 avatar commented on June 15, 2024

@wwmm Today, tried to create a package for the latest release pulseeffects-3.0.9 but I got this error:

$ /usr/bin/pulseeffects
Traceback (most recent call last):
  File "/usr/bin/pulseeffects", line 6, in <module>
    from PulseEffects.application import Application
  File "/usr/lib/python3.6/site-packages/PulseEffects/application.py", line 12, in <module>
    from PulseEffects.sink_input_effects import SinkInputEffects
  File "/usr/lib/python3.6/site-packages/PulseEffects/sink_input_effects.py", line 6, in <module>
    gi.require_version('GstInsertBin', '1.0')
  File "/usr/lib/python3.6/site-packages/gi/__init__.py", line 130, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GstInsertBin not available

gstreamer is installed:

$ xbps-query -s gst
[*] gst-plugins-bad1-1.12.3_2  GStreamer plugins from the bad set (v1.x)
[*] gst-plugins-base1-1.12.3_1 GStreamer Base Plug-ins (v1.x)
[*] gst-plugins-good1-1.12.3_1 GStreamer set of well-maintained good plug-ins (1.x)
[*] gst1-python3-1.12.3_1      Python3 bindings for GStreamer 1.x
[*] gstreamer1-1.12.3_1        Core GStreamer libraries and elements (1.x)

Which package is missing ?? Thanks.

from easyeffects.

wwmm avatar wwmm commented on June 15, 2024

GstInsertBin is from gst-plugins-bad. Try to see if there is more gst-plugins-bad packages in void repositories

from easyeffects.

 avatar commented on June 15, 2024

We have only these packages:

[-] gst-plugins-bad-0.10.23_23       GStreamer plugins from the bad set
[-] gst-plugins-bad-devel-0.10.23_23 GStreamer plugins from the bad set - development files
[*] gst-plugins-bad1-1.12.3_2        GStreamer plugins from the bad set (v1.x)
[-] gst-plugins-bad1-devel-1.12.3_2  GStreamer plugins from the bad set (v1.x) - development files

In package gst-plugins-bad1 we have:

/usr/lib/libgstinsertbin-1.0.so.0.1203.0
/usr/lib/libgstinsertbin-1.0.so.0 -> /usr/lib/libgstinsertbin-1.0.so.0.1203.0

I can't find GstInsertBin.
Well, I will ask the question on our forum! 😉

from easyeffects.

wwmm avatar wwmm commented on June 15, 2024

Maybe the problems are in the python bindings. Dou you have the file /usr/share/gir-1.0/GstInsertBin-1.0.gir in your system? I think the namespace GstInsertBin is defined in it.

from easyeffects.

 avatar commented on June 15, 2024

I'm almost done, but it seems like something is still missing...
When I run the program:

$ pulseeffects
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
10:40:33.19 - PulseEffects - CRITICAL - failed to start pulseaudio context
10:40:33.20 - PulseEffects - INFO - unferencing pulseaudio context object
^CKilled

nothing appears... and I have to kill python3 to stop the process.

from easyeffects.

wwmm avatar wwmm commented on June 15, 2024

Nothing will work after a failure to start pulseaudio context. Something is not right in your pulseaudio installation. Is it running? Do you have libpulse installed?

from easyeffects.

 avatar commented on June 15, 2024

You're right @wwmm ! pulseaudio was not correctly configured...

According to our wiki: PulseAudio#Recommended_setup: I had to install & enable dbus, consolekit and cgmanager services to be able to run pulseeffects.

THANK YOU.

from easyeffects.

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.