Coder Social home page Coder Social logo

Comments (11)

Mirppc avatar Mirppc commented on June 14, 2024 1

Thanks will test this shortly. Here are some links i think will help you when it comes to packaging for other distros.

http://openbuildservice.org/ This tool is useful for building packages for multiple distros.

https://wiki.archlinux.org/index.php/Creating_packages_for_other_distributions#openSUSE Look like it is available on ARCH.

I hope this helps :)

few minutes later
~/bin/pulseeffects> glib-compile-schemas share/glib-2.0/schemas/
~/bin/pulseeffects> GSETTINGS_SCHEMA_DIR=share/glib-2.0/schemas/ ./pulseeffects
Traceback (most recent call last):
File "./pulseeffects", line 4, in
from PulseEffects.application import Application
File "/home/mirp690/bin/pulseeffects/PulseEffects/application.py", line 3, in
import configparser
ImportError: No module named configparser

from easyeffects.

wwmm avatar wwmm commented on June 14, 2024

Hi

You may try running PulseEffects from the cloned folder. Once in the pulseeffects folder do the following:

glib-compile-schemas share/glib-2.0/schemas/

GSETTINGS_SCHEMA_DIR=share/glib-2.0/schemas/ ./pulseeffects

With this you can run PulseEffects without installing it. I will add this to the readme.

Thanks for testing :) I hope someone makes a package for opensuse. I use Arch Linux and have no idea about how to do packages for other distributions

from easyeffects.

wwmm avatar wwmm commented on June 14, 2024

Interesting. I will take a look. About the error:

ImportError: No module named configparser

You will need to install the python package configparser. It is used to save/load user presets

from easyeffects.

wwmm avatar wwmm commented on June 14, 2024

Another option would be to upgrade to a python version higher than 3.5.0. At least in Arch Python 3.6 comes with configparser

from easyeffects.

Mirppc avatar Mirppc commented on June 14, 2024

Tried agian with some help from a socal python member. my default python is 2.7 but i have python 3 installed.

running install
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: '/usr/lib/python3.4/site-packages/test-easy-install-18248.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /usr/lib/python3.4/site-packages/

Perhaps your account does not have write access to this directory?  If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account.  If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

  https://pythonhosted.org/setuptools/easy_install.html

Please make the appropriate changes for your system and try again.

~/bin/pulseeffects> sudo python3 setup.py install
root's password:
running install
running bdist_egg
running egg_info
creating PulseEffects.egg-info
writing PulseEffects.egg-info/PKG-INFO
writing dependency_links to PulseEffects.egg-info/dependency_links.txt
writing top-level names to PulseEffects.egg-info/top_level.txt
writing manifest file 'PulseEffects.egg-info/SOURCES.txt'
reading manifest file 'PulseEffects.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'PulseEffects.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/PulseEffects
copying PulseEffects/libpulse.py -> build/lib/PulseEffects
copying PulseEffects/application.py -> build/lib/PulseEffects
copying PulseEffects/pulse_manager.py -> build/lib/PulseEffects
copying PulseEffects/gst.py -> build/lib/PulseEffects
copying PulseEffects/__init__.py -> build/lib/PulseEffects
creating build/lib/PulseEffects/ui
copying PulseEffects/ui/about.glade -> build/lib/PulseEffects/ui
copying PulseEffects/ui/about_icon.png -> build/lib/PulseEffects/ui
copying PulseEffects/ui/headerbar.glade -> build/lib/PulseEffects/ui
copying PulseEffects/ui/main_ui.glade -> build/lib/PulseEffects/ui
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/PulseEffects
creating build/bdist.linux-x86_64/egg/PulseEffects/ui
copying build/lib/PulseEffects/ui/main_ui.glade -> build/bdist.linux-x86_64/egg/PulseEffects/ui
copying build/lib/PulseEffects/ui/about.glade -> build/bdist.linux-x86_64/egg/PulseEffects/ui
copying build/lib/PulseEffects/ui/headerbar.glade -> build/bdist.linux-x86_64/egg/PulseEffects/ui
copying build/lib/PulseEffects/ui/about_icon.png -> build/bdist.linux-x86_64/egg/PulseEffects/ui
copying build/lib/PulseEffects/libpulse.py -> build/bdist.linux-x86_64/egg/PulseEffects
copying build/lib/PulseEffects/application.py -> build/bdist.linux-x86_64/egg/PulseEffects
copying build/lib/PulseEffects/pulse_manager.py -> build/bdist.linux-x86_64/egg/PulseEffects
copying build/lib/PulseEffects/gst.py -> build/bdist.linux-x86_64/egg/PulseEffects
copying build/lib/PulseEffects/__init__.py -> build/bdist.linux-x86_64/egg/PulseEffects
byte-compiling build/bdist.linux-x86_64/egg/PulseEffects/libpulse.py to libpulse.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/PulseEffects/application.py to application.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/PulseEffects/pulse_manager.py to pulse_manager.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/PulseEffects/gst.py to gst.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/PulseEffects/__init__.py to __init__.cpython-34.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-3.4
copying and adjusting pulseeffects -> build/scripts-3.4
changing mode of build/scripts-3.4/pulseeffects from 644 to 755
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.4/pulseeffects -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/pulseeffects to 755
copying PulseEffects.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PulseEffects.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PulseEffects.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PulseEffects.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PulseEffects.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/PulseEffects-1.2.5-py3.4.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing PulseEffects-1.2.5-py3.4.egg
creating /usr/lib/python3.4/site-packages/PulseEffects-1.2.5-py3.4.egg
Extracting PulseEffects-1.2.5-py3.4.egg to /usr/lib/python3.4/site-packages
Adding PulseEffects 1.2.5 to easy-install.pth file
Installing pulseeffects script to /usr/bin

Installed /usr/lib/python3.4/site-packages/PulseEffects-1.2.5-py3.4.egg
Processing dependencies for PulseEffects==1.2.5
Finished processing dependencies for PulseEffects==1.2.5
~/bin/pulseeffects> python3 pulseeffects

(pulseeffects:18265): GLib-GIO-ERROR **: Settings schema 'com.github.wwmm.pulseeffects' is not installed

Trace/breakpoint trap (core dumped)
~/bin/pulseeffects> ```


versions of python installed


```~/bin/pulseeffects> python3
Python 3.4.5 (default, Jul 03 2016, 12:57:15) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
~/bin/pulseeffects> python
Python 2.7.12 (default, Jun 28 2016, 06:57:42) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from easyeffects.

wwmm avatar wwmm commented on June 14, 2024

This error is expected as the setup.py script does not copy the contents of the share folder to the corresponding folder inside /usr/share. Python setuptools have disabled this feature and their documentation recommends to perform this task using the distribution package manager.

After copying the files remember to run:

glib-compile-schemas /usr/share/glib-2.0/schemas/

from easyeffects.

Mirppc avatar Mirppc commented on June 14, 2024
root's password:
~/bin/pulseeffects> python3 pulseeffects

(pulseeffects:18446): GLib-GIO-ERROR **: Settings schema 'com.github.wwmm.pulseeffects' is not installed

Trace/breakpoint trap (core dumped)

that didnt work :< Thanks for the spiffy responses.

from easyeffects.

wwmm avatar wwmm commented on June 14, 2024

When trying to run from the cloned folder do:

glib-compile-schemas share/glib-2.0/schemas/
GSETTINGS_SCHEMA_DIR=share/glib-2.0/schemas/ python3 pulseeffects

from easyeffects.

wwmm avatar wwmm commented on June 14, 2024

The first command is only needed once

from easyeffects.

Mirppc avatar Mirppc commented on June 14, 2024

Thanks, i was able to get it running, everytime i tried using an audio stream it would take the audio from the USB headset (that needs to have the equalizer) and puts the audio on the default line out from the onboard audio card.

This was a bit annoying. Not sure if i sould make a new bug report on that. It does run though :), i did get some reverb though.

from easyeffects.

wwmm avatar wwmm commented on June 14, 2024

Hi, I am glad it is working :-) By default PulseEffects detects the current pulseaudio default output sink and uses it for sound output. By what you are telling me it seems that your pulseaudio server is configured to use the onboard sound as default output sink. You may try to use pavucontrol (or gnome settings if you use gnome) to set the usb headset as default output device.

As it is working I will close this issue.

Again, thanks for testing :-)

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.