Cnetworkmanager -- 3G -- python error /usr/bin/cnetworkmanager", line

Sprint sierra 250u usb
already replaced rc.conf  network for networkmanager
Testing version of cnetworkmanager, and tried the june 2010 version as well.
using python from testing.
As I only have internet via windows I'm sadly unable to be more comprehensive
without jumping thru hoop so to speak.
REALLY need a cure so that I can PERHAPS get a sprint 250U to connect via 3g.
Not that optimistic. Big apology for having been unable to get online for a couple of days doing this from windows hence lack of detail.
Here's the python error have tried both versions of cnetworkmanager. If I can get my arch updated will it fix it. Haven't updated for a few days.
THANK YOU.
kinda frustrated and that's saying something as it's usually all good fun when times not a problem as it is right now.
Python testing as well, though from a few days ago. Hoping if I can go somewhere and update my arch boot via eth0 it'll make it possible to connect via 3g when I get back home.
may as well ask, anyone know much about what details I need to connect a 3g modem  sprint 250u
Traceback (most recent call last):
  File "/usr/bin/cnetworkmanager", line 110, in <module>
    nm = NetworkManager()
  File "/usr/lib/python2.7/site-packages/networkmanager/networkmanager.py", line 50, in __init__
    super(NetworkManager, self).__init__(dbus.SystemBus(), self.SERVICE, self.OPATH, default_interface=self.IFACE)
  File "/usr/lib/python2.7/site-packages/dbusclient/__init__.py", line 40, in __init__
    super(DBusMio, self).__init__(conn, bus_name, object_path, introspect, follow_name_owner_changes, **kwargs)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
Last edited by yvonney (2010-10-15 21:33:12)

Good gravy, 3 GB of updates? I think you win an award for that or something.
When something like this happens to me I usually only have, like, a couple of packages that I'm updating. I assume, for some reason, the new bash package is conflicting with your old bash package. So I would (temporarily) uninstall bash, then go ahead and reinstall install (only) bash.
...so, either this will help you, or someone smarter than me will respond almost instantly telling you that I'm giving you horrible advice and teach you what you SHOULD do to resolve the problem. Either way, you're welcome.

Similar Messages

  • SOLVED /usr/bin/makepkg: line 552: build: command not found

    I'm trying to build a custom kernel, but am receiving this error:
    /usr/bin/makepkg: line 552: build: command not found
    I've searched all over for a fix, but haven't had any luck, it doesn't seem to be a common error, or it's so incredibly easy to fix that noone has bothered 
    Thanks for any help.
    /crobot

    Thanks for your response, it has failed on two builds, i'll post both.
    Here's the first:
    # $Id: PKGBUILD,v 1.26 2004/10/06 18:21:54 judd Exp $
    # Maintainer: judd <[email protected]>
    pkgname=kernel26
    pkgver=2.6.8.1
    pkgrel=3
    pkgdesc="The Linux Kernel and modules (IDE support)"
    url="http://www.kernel.org"
    backup=('boot/kconfig26')
    depends=('module-init-tools')
    install=kernel26.install
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2
    config cdburning.patch logo_linux_clut224.ppm
    bio_uncopy_user-mem-leak.patch bio_uncopy_user-mem-leak-fix.patch
    http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/26-stable-release/acpi-20040715-2.6.8.diff.bz2)
    md5sums=('9517ca999e822b898fbdc7e72796b1aa' '20ad5bea85099dfcced9a6b91064b04e'
    '66b87662e6dd54b6324f874739fa1b99' '5a62bcc7e96601052c7405459b483826'
    'd2329bc663089cd99b8dbfd25b6a7ebc' '15a9165ae02c4a3a3875fb7924a68cbf'
    'e00d08709581f215b15e321d162f782c')
    build() {
    cd $startdir/src/linux-$pkgver
    patch -Np1 -i ../bio_uncopy_user-mem-leak.patch || return 1
    patch -Np1 -i ../bio_uncopy_user-mem-leak-fix.patch || return 1
    patch -Np1 -i ../cdburning.patch || return 1
    #patch -Np1 -i ../acpi-20040715-2.6.8.diff || return 1
    # Arch logo!
    cp ../logo_linux_clut224.ppm drivers/video/logo/
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    yes "" | make config
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$pkgver/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$pkgver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/include
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$pkgver/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp -a scripts $startdir/pkg/usr/src/linux-$pkgver/
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$pkgver/arch/i386/
    cp arch/i386/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-$pkgver/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-$pkgver/$i
    done
    cd $startdir/pkg/usr/src/linux-$pkgver/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-$pkgver
    cd $startdir/pkg/lib/modules/$pkgver &&
    (rm -f source build; ln -sf /usr/src/linux-$pkgver build)
    Here's the second:
    ###### Give the kernel a unique name (for multiple builds - can be empty)
    _kerrev=crobot
    ###### Choose generic name, version, and release. updated later for $_kerrev
    pkgname=kernel26
    pkgver=2.6.8.1
    pkgrel=1
    pkgdesc="Custom Linux Kernel and modules"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    ###### Add a default config file and any patches to be applied to source array
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2)
    ###### Add md5 checksums here:
    #md5sum=()
    getvar() {
    old=$(cat Makefile | grep "^$1")
    echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
    return 0
    build() {
    cd $startdir/src/linux-$pkgver
    ###### apply patches here
    # patch -p1 < ../patch1 #model
    #get rid of i in i686 in default config
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    ###### Choose one of the following configuration types
    ###### Use first option for config in source array
    #yes "" | make config
    #make oldconfig || return 1
    make menuconfig
    #make xconfig
    #make gconfig
    ##### No user changes below here
    # save the configuration with today's date
    cp ./.config ../../NEWCONFIG-$(date +%b%d)
    # set EXTRAVERSION to create unique /lib/modules/ subdirectories
    _ker_extraversion=$(getvar "EXTRAVERSION")
    # update EXTRAVERSION in the Makefile by adding our _kerrev
    _oldline=$(cat Makefile | grep "^EXTRAVERSION")
    if [ $_kerrev != "" ]; then
    _ker_extraversion="$_ker_extraversion-$_kerrev"
    cat Makefile | sed "s|$_oldline|EXTRAVERSION = $_ker_extraversion|" > tmpMake
    mv tmpMake Makefile
    fi
    _kerrev=$_ker_extraversion
    kerver=$(getvar "VERSION").$(getvar "PATCHLEVEL").$(getvar "SUBLEVEL")
    # update the package information from the kernel Makefile
    # (just in case the Makefile changed during a patch)
    pkgver=$kerver$(echo $_kerrev | sed -e 's/-/./g')
    pkgdesc="Custom Linux Kernel and modules version: $kerver revision: $_kerrev /
    package ver: $pkgver build: $pkgrel"
    # changing the package name
    # removing patches versions from the revision string
    _t=$(echo $_kerrev | sed -e "s/^..[0-9]*//g")
    # _t=$(echo $_t | sed -e "s/^-rc[0-9]?*//g")
    # _suf contains the suffix identifying the kernel (it has the versions removed from
    it)
    _suf=$(echo $_t | sed -e "s/[0-9]*-/-/g")
    pkgname=kernel26$_suf
    echo "Package name: $pkgname"
    echo "Package ver: $pkgver"
    echo "Package desc: $pkgdesc"
    sleep 5
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    # create unique names in /boot/
    cp System.map $startdir/pkg/boot/System.map26$_suf
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26$_suf
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$kerver/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$kerver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26$_suf
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/include
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$kerver/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp -a scripts $startdir/pkg/usr/src/linux-$kerver/
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$kerver/arch/i386/
    cp arch/i386/kernel/asm-offsets.s
    $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-$kerver/$i
    done
    cd $startdir/pkg/usr/src/linux-$kerver/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-$kerver
    # create a unique subdirectory under /usr/src/
    cd $startdir/pkg/usr/src
    mv linux-$kerver linux-$kerver$_kerrev
    cd $startdir/pkg/lib/modules/$kerver$_kerrev &&
    (rm -f build; ln -sf /usr/src/linux-$kerver$_kerrev build)
    Thanks,
    /crobot

  • [SOLVED] /usr/bin/makepkg: line 337:

    I have a problem installing packages from AUR with yaourt:
    ==> Making package: virtualbox_bin 3.2.4-1 i686 (Tue Jun  8 15:01:07 EEST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> ERROR: The download program wget is not installed.
        Aborting...
      -> Downloading VirtualBox-3.2.4-62431-Linux_x86.run...
    /usr/bin/makepkg: line 337: http://download.virtualbox.org/virtualb … ux_x86.run: No such file or directory
    ==> ERROR: Failure while downloading VirtualBox-3.2.4-62431-Linux_x86.run
        Aborting...
    ==> ERROR: Makepkg was unable to build virtualbox_bin.
    ==> Restart building virtualbox_bin ? [y/N]
    Last edited by Cosmin (2010-06-08 12:57:34)

    ber_t wrote:
    Cosmin wrote:
    I have a problem installing packages from AUR with yaourt:
    ==> Making package: virtualbox_bin 3.2.4-1 i686 (Tue Jun  8 15:01:07 EEST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> ERROR: The download program wget is not installed.
        Aborting...
      -> Downloading VirtualBox-3.2.4-62431-Linux_x86.run...
    /usr/bin/makepkg: line 337: http://download.virtualbox.org/virtualb … ux_x86.run: No such file or directory
    ==> ERROR: Failure while downloading VirtualBox-3.2.4-62431-Linux_x86.run
        Aborting...
    ==> ERROR: Makepkg was unable to build virtualbox_bin.
    ==> Restart building virtualbox_bin ? [y/N]
    Seems like wget isn't installed.
    Thank you. That was the problem.

  • Error : /usr/bin/ld: cannot find -lmvec

    Hi All,
    I am trying to build an application where compiler flag "-xvector=lib" is used.
    An i get error "/usr/bin/ld: cannot find -lmvec"
    If i remove this flag then this error disappears.
    Can anybody explain the changes i should make to use this flag "-xvector=lib".
    Can anybody identify the solution to this problem because i must use this falg.
    Thanks and Regards
    Ganesh

    With -xvector=lib, compiler may generate calls to vectorized routines which reside in libmvec.so (on solaris),
    hence -lmvec passed to linker. I think that libmvec.so wasn't ported to Linux, so -xvector=lib does not work
    (not supported) on Linux

  • /usr/bin/fbsetbg: line 169: xmessage: command not (Solved)

    I was trying to set my FluxBox background for some time and it did't work everytime..
    i edit the .fluxbox/init file as said in the fluxbox dokumentation.. But nothing...
    I tried to do it like this : fbsetbg night-elf-1280x.jpg
    and the following message came out:
    /usr/bin/fbsetbg: line 169: xmessage: command not found
    That's not really normal... isn't it...
    I googled a bit, but the only information i found was in chinese... so jeah...
    Please help me.. What am I doing wrong
    greetz
    Flufinela

    You need to install xorg-apps. xmessage is included with this package.
       pacman -S xorg-apps

  • SeLinux Checkpolicy install error ( /usr/bin/ld: cannot find -lfl)

    I am trying to setup selinux per the arch wiki, but I ran into an error when trying to install the checkpolicy package from the AUR. I keep getting the following error:
    ==> Starting build()...
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o checkpolicy.o -c checkpolicy.c
      bison -y -d policy_parse.y
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o y.tab.o -c y.tab.c
      lex policy_scan.l
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o lex.yy.o -c lex.yy.c
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o queue.o -c queue.c
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o module_compiler.o -c module_compiler.c
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o parse_util.o -c parse_util.c
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o policy_define.o -c policy_define.c
      cc -Wl,-O1,--sort-common,--as-needed,-z,relro  checkpolicy.o y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o  /usr/lib/libsepol.a -lfl -o checkpolicy
      /usr/bin/ld: cannot find -lfl
      collect2: error: ld returned 1 exit status
      <builtin>: recipe for target 'checkpolicy' failed
      make: *** [checkpolicy] Error 1
    any ideas? I have been googling for a few hours trying to find out about the -lfl and to see if i am missing it , but cannot figure this out. I downloaded the tar for checkpolicy and have the same issue.
    Should I be altering the makefile in anyway so that /usr/bin/ld can find -lfl ?
    Last edited by johnnyboy (2014-11-12 06:43:49)

    @Allan: The selinux-flex package is needed as part of the installation process.
    Something tells me that this AUR package needs to be updated.
    But yes, a solution appears to be to remove selinux-flex and install flex and then compile checkpolicy.
    Last edited by clfarron4 (2014-11-12 12:36:42)

  • Relinking error /usr/bin/ld: cannot find -ljava

    Hello everyone, has anyone seen this error while relinking? I am hitting this error while performing a clone.
    /apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib
    gcc -m32 -o /apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/libnmeoci.so `cat /apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/libnmeoci.def | perl /apps/itccrmR12/apps/tech_st/10.1.2/bin/processDef.pl | grep -E "[a-zA-Z]+[;]" | awk -F ";" '{printf(" -u "$1);}'` -shared -L/apps/itccrmR12/apps/tech_st/10.1.2/lib/ -L/apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/ -L/apps/itccrmR12/apps/tech_st/10.1.2/lib/stubs/ /apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/libnmeoci.a -L/apps/itccrmR12/apps/tech_st/10.1.2/lib -L/apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/ -lnmemso -lcore10 -Wl,-rpath,/apps/itccrmR12/apps/tech_st/10.1.2/lib/:/apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/:/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386/client:/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386 -L/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386/client -L/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386 -z lazyload -ljava -ljvm -lverify -z nolazyload -Wl,-rpath,/apps/itccrmR12/apps/tech_st/10.1.2/lib/:/apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/:/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386/client:/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386 -Wl,--allow-shlib-undefined `cat /apps/itccrmR12/apps/tech_st/10.1.2/lib/sysliblist` -ldl -lm
    */usr/bin/ld: cannot find -ljava*
    collect2: ld returned 1 exit status
    make: *** [apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/libnmeoci.so] Error 1
    Failed linking target libnmeoci on Fri Jan 7 11:04:51 EST 2011...

    Please see these docs.
    '/usr/bin/ld: cannot find -ljava' occurs while applying one off patch [ID 418557.1]
    Getting Error "Java.Lang.Exception: Exception In Sending Request :: Null" After Cloning Database Using Rapid Clone [ID 849772.1]
    Rapid Clone & Em Dbconsole [ID 743833.1]
    Thanks,
    Hussein

  • S-nail error no such directory /usr/bin/sendmail / permission denied

    I am trying to get email notifications setup with smartmontools but the test email does not reach my address. s-nail is an optional dependency of smartmontools and is installed. From my understanding it should work out of the box without any configuration but it doesn't.
    I attempted to send an email manually for troubleshooting purposes with this command:
    sudo echo "This is the mail body" | mailx -s "This is the subject" -r sendersemail [email protected]
    The mailx command produced an odd error:
    /usr/bin/sendmail: No such file or directory
    If I create /usr/bin/sendmail directory (and chmod it to 777) I get this error:
    /usr/bin/sendmail: Permission denied
    "/home/dom/dead.letter" 10/251
    ... message not sent.
    I am lost. Does anyone have any idea what is going on here?
    Last edited by dominicm (2015-02-24 22:50:38)

    There is no config, it's all at defaults with only s-nail package installed. Or did you mean other non-snail config? Did you use the command as per my original post exactly and was it  an external email? Did you have s-nail installed/configured before now?
    I also now tried adding a .rcmail config from snail wiki linked before.
    # All the examples require v15-compat!
    set v15-compat
    # ArchLinux-specific locations of certificates.
    # Since these are subject to the ArchLinux update mechanism,
    # use only those, don't try to load OpenSSL builtin ones.
    # And use the TLS specific set: see "man 8 update-ca-trust"
    #set ssl-ca-dir=/etc/ssl/certs
    set ssl-ca-file=/etc/ssl/certs/ca-certificates.crt
    set ssl-no-default-ca
    # Require secure transport via protocol version TLS v1.2, exclusively.
    # (Change this only [best on a per-account base, as below]
    # when the remote server doesn't support this protocol!)
    set ssl-method=tls1.2
    # Request strict transport security checks
    set ssl-verify=strict
    # Essential setting: choose allowed character sets
    # (Have a look at the "CHARACTER SETS" manual section)
    set sendcharsets=utf-8,iso-8859-1
    # When sending messages, wait until the Mail-Transfer-Agent finishs.
    # Only like this you'll be able to see errors reported through the exit
    # status of the MTA (including the builtin SMTP one)!
    set sendwait
    # To save a copy of sent messages somewhere (this will end up in your home directory)
    set record=sentmail.mbox
    # This may be interesting to gain some speedup when sending mail
    set mimetypes-load-control
    # This is optional, but you should get the big picture
    # by reading the manual before you leave that off
    set from="Your Name <youremail@domain>"
    Still the same error. No surprise since this config doesn't add any new info that is not present in the mailx command.
    Last edited by dominicm (2015-02-24 23:59:44)

  • Compiling error with /usr/bin/ld: cannot find -l error

    With the help of ToddLittle, I have solved a lot of problem with tuxedo as I am a freshman to it.Thank you ToddLittle!
    However I meet a new problem with compiling my new program. I got this error:
    /usr/bin/ld: cannot find -l/home/cjf/oracle/tuxedo12.1.1.0/include
    where /home/cjf/oracle/tuxedo12.1.1.0 is my tuxedo installation path.
    I build it under ubuntu 12.04 64 bit and my IDE is eclipse.
    How to solve it? thanks!

    Usually it is best to execute the script that is installed in the Tuxedo installation directory that sets up all the necessary environment variables.  That script is $TUXDIR/tux.env.  Source that script before trying to use buildclient or buildserver or any other Tuxedo command to solve most problems like this.
    PS You might want to check out Solaris Studio if you want to use an IDE as there is a Tuxedo plug-in for it that really helps in developing Tuxedo applications.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • [Solved] No module named parse- python errors as own user

    A number of applications on my system (wicd and turpial, among others) return python errors when I run them as my own user. I can run these applications as root with no errors, so I'm not missing any packages. The most common of these errors, appearing when I run applications like turpial and hotot looks like this:
    ➤ turpial
    Traceback (most recent call last):
    File "/usr/bin/turpial", line 5, in <module>
    from pkg_resources import load_entry_point
    File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 17, in <module>
    from urllib.parse import urlparse, urlunparse
    ImportError: No module named parse
    When I run wicd-curses:
    ➤ wicd-curses
    Traceback (most recent call last):
    File "/usr/share/wicd/curses/wicd-curses.py", line 44, in <module>
    from dbus import DBusException
    File "/usr/lib/python3.3/site-packages/dbus/__init__.py", line 82, in <module>
    import dbus.types as types
    File "/usr/lib/python3.3/site-packages/dbus/types.py", line 6, in <module>
    from _dbus_bindings import (
    ImportError: /usr/lib/python3.3/site-packages/_dbus_bindings.so: undefined symbol: PyBytes_Type
    Again, both applications mentioned here work fine when run as root. It should also be noted that I only installed turpial after already witnessing this error with hotot-gtk3-git. Has anyone seen this before, or have any idea how to start troubleshooting it?
    Thanks.
    EDIT: It was a Pythonpath issue.
    Last edited by apurplermixture (2013-04-24 00:55:28)

    Thank you! That worked

  • CompileXIB /usr/bin/ibtool failed with exit code 255

    Hi
    We have several build machines located at different sites. Recently all the machines, on one site, started to fail with this error
    /usr/bin/ibtool failed with exit code 255
    during a CompileXIB of a updated file. By reverting the change line by line I discovered that the issue was caused by
    <customView appearanceType="lightContent" translatesAutoresizingMaskIntoConstraints="NO" id="119" customClass="CSIWhiteBackgroundHeaderView">
    where the text in red was recently added. If I remove the appearanceType the build succeeds.
    But I can't understand why this is only affecting some of our build machines. All of them are using XCode version 5.0.2 (5A3005). Furthermore this change has not affected the developers workstations.
    The committer usd XCode 5.1. But if appearanceType was specific to XCode 5.1 I would expect all the builders to complain.
    To resolve this problem I tried a deep clean (i.e. Hold alt - Clean Build Folder ...) & I manually delete all the dervived data in /Users/<myuser>/Library/Developer/XCode/DervivedData. But this had no impact.
    Another difference between the machines is the OS. The failing builds are on OSX 10.8.4. The successful ones are on 10.9.
    Any ideas?
    Regards
    Shane

    Our company has just moved from Xcode 4.6.3 to Xcode 5.0.2 and have experienced the exact same issue. Sometimes everything builds fine, sometimes it will give that xib file error. The xibs failing are not always the same.

  • Python error regarding libtk version

    I downloaded the pyvnc2swf PKGBUILD from AUR and installed the package; when I tried to run it, I got an error about 'unable to find libtk8.4.so', so I did the usual trick and symlinked libtk8.5.so in /usr/lib to that name.
    Now I get the following error message, and I'm unsure how to resolve the problem:
    dave@kaminoitte:/usr/lib$ pyvnc2swf
    Using pygame 1.7.1release
    Using pymedia 1.3.5
    Traceback (most recent call last):
    File "/usr/bin/pyvnc2swf", line 373, in ?
    if __name__ == "__main__": main(sys.argv[1:])
    File "/usr/bin/pyvnc2swf", line 371, in main
    debug=debug).run()
    File "/usr/bin/pyvnc2swf", line 108, in __init__
    self.root = Tkinter.Tk()
    File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1571, in __init__
    self._loadtk()
    File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1589, in _loadtk
    raise RuntimeError,
    RuntimeError: tk.h version (8.4) doesn't match libtk.a version (8.5)
    Any help would be greatly appreciated 

    Snowman wrote:You are using the tk.h for version 8.4. Do you have multiple tk.h headers installed? What does
    $ grep TK_VERSION /usr/include/tk.h
    gives you. If it's 8.4, you need the headers for 8.5. You could try to change the TK_VERSION and  TK_PATCH_LEVEL in tk.h to make it beleive that it's the header of 8.5. It might not work though. Or get the correct headers for 8.5.
    dave@kaminoitte:/home/dave/.fvwm$ grep TK_VERSION /usr/include/tk.h
    #define TK_VERSION "8.5"
    They seem correct :shock:
    *checks for multiple instances of tk.h*
    dave@kaminoitte:/home/dave/.fvwm$ locate tk.h | grep /tk.h
    /usr/include/tk.h
    /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/Tk/pTk/tk.h
    hmm..
    dave@kaminoitte:/home/dave/.fvwm$ grep TK_VERSION /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/Tk/pTk/tk.h
    #define TK_VERSION "8.4"
    aha!
    So... I symlinked /usr/include/tk.h to /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/Tk/pTk/tk.h , meaning both are TK_VERSION "8.5"; still pyvnc2swf complains though, so there's obviously something I need to update. I don't know what that is (if you could tell me so I know for the future, that'd be great ^_^), so I'm going for a reboot now...

  • /usr/bin/java Permission denied after installing JDK on linux

    Hi Guys,
    I installed jdk-6u1-linux-i586-rpm.bin and I am getting strange errors like this:
    1 When I simply run "java" in shell I get this:
    /usr/bin/java: line 67: /tmp/javaf10273: Permission denied
    /usr/bin/java: line 67: /tmp/javaf10273: Success
    2. When I try to run an sh file I get this:
    Warning: -ms128m not understood. Ignoring.
    Warning: -mx128m not understood. Ignoring.
    /usr/bin/java: line 67: /tmp/javae10796: Permission denied
    /usr/bin/java: line 67: /tmp/javae10796: Success
    I searched around and as I understand the linux package may have contained some older java version, and the comp is still trying to use that.
    But these notes did not say how to uninstall that older version, orr what to do.
    Can you please maybe point me somewhere?
    Thanks,
    Gyuri

    The RPM installer for the Sun JDK installs Java in /usr/java/jdk1.6.0_01. Just add /usr/java/jdk1.6.0_01/bin to your path before /usr/bin and it should be fine.
    Additionally, there are no -ms and -mx parameters, those should be -Xms and -Xmx.

  • /usr/bin/ld: unknown flag: -compatibility_version

    Hi, I have a fresh reinstall of OSX on my revision two MacBook Pro and I installed the developer tools 2.4.1. I now have a problem that has halted all of my development.
    I cannot compile any of my unix apps. I run ./configure, it succeeds and my compile will even succeed, up until when it goes to link it and I get the following error:
    /usr/bin/ld: unknown flag: -compatibility_version
    Here is the full line when it's building the program (in this case, libexpat, but it also does this for other apps, such as apache):
    /bin/sh ./libtool --silent --mode=link gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 6:2:5 -rpath /usr/local/lib  -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
    /usr/bin/ld: unknown flag: -compatibility_version
    collect2: ld returned 1 exit status
    make: *** [libexpat.la] Error 1
    Does anyone have any idea on what needs to be done to fix this? I would greatly appreciate it.

    Upon lots of tweaking, I got it to compile. I'm not sure what I did that fixed it, but now I've got a new issue.
    If you've got any ideas, please let me know:
    /Users/cody/Desktop/httpd-2.0.59/srclib/apr/libtool --silent --mode=link gcc -g -O2 -DDARWIN -DSIGPROCMASKSETS_THREADMASK -no-cpp-precomp -DAPHAVE_DESIGNATEDINITIALIZER -I/Users/cody/Desktop/httpd-2.0.59/srclib/apr/include -I/Users/cody/Desktop/httpd-2.0.59/srclib/apr-util/include -I/Users/cody/Desktop/httpd-2.0.59/srclib/apr-util/xml/expat/lib -I. -I/Users/cody/Desktop/httpd-2.0.59/os/unix -I/Users/cody/Desktop/httpd-2.0.59/server/mpm/prefork -I/Users/cody/Desktop/httpd-2.0.59/modules/http -I/Users/cody/Desktop/httpd-2.0.59/modules/filters -I/Users/cody/Desktop/httpd-2.0.59/modules/proxy -I/Users/cody/Desktop/httpd-2.0.59/include -I/Users/cody/Desktop/httpd-2.0.59/modules/generators -I/Users/cody/Desktop/httpd-2.0.59/modules/dav/main -export-dynamic -L/Users/cody/Desktop/httpd-2.0.59/srclib/apr-util/xml/expat/lib -o httpd modules.lo modules/aaa/mod_access.la modules/aaa/mod_auth.la modules/filters/mod_include.la modules/loggers/modlogconfig.la modules/metadata/mod_env.la modules/metadata/mod_setenvif.la modules/http/mod_http.la modules/http/mod_mime.la modules/generators/mod_status.la modules/generators/mod_autoindex.la modules/generators/mod_asis.la modules/generators/mod_cgi.la modules/mappers/mod_negotiation.la modules/mappers/mod_dir.la modules/mappers/mod_imap.la modules/mappers/mod_actions.la modules/mappers/mod_userdir.la modules/mappers/mod_alias.la modules/mappers/mod_so.la server/mpm/prefork/libprefork.la server/libmain.la os/unix/libos.la /Users/cody/Desktop/httpd-2.0.59/srclib/pcre/libpcre.la /Users/cody/Desktop/httpd-2.0.59/srclib/apr-util/libaprutil-0.la /Users/cody/Desktop/httpd-2.0.59/srclib/apr-util/xml/expat/lib/libexpat.la -liconv /Users/cody/Desktop/httpd-2.0.59/srclib/apr/libapr-0.la -lresolv -lpthread
    /usr/bin/ld: warning multiple definitions of symbol _regcomp
    /Users/cody/Desktop/httpd-2.0.59/srclib/pcre/.libs/libpcre.a(pcreposix.o) definition of _regcomp in section (_TEXT,_text)
    /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libpthread.dylib(regcomp.So) definition of _regcomp
    /usr/bin/ld: warning multiple definitions of symbol _regexec
    /Users/cody/Desktop/httpd-2.0.59/srclib/pcre/.libs/libpcre.a(pcreposix.o) definition of _regexec in section (_TEXT,_text)
    /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libpthread.dylib(regexec.So) definition of _regexec
    /usr/bin/ld: warning multiple definitions of symbol _regfree
    /Users/cody/Desktop/httpd-2.0.59/srclib/pcre/.libs/libpcre.a(pcreposix.o) definition of _regfree in section (_TEXT,_text)
    /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libpthread.dylib(regfree.So) definition of _regfree

  • /usr/bin/ld215 not availbel in RHEL 5.4 - For 11.5.10.2 Installation

    Hi Friends,
    I am installaing 11.5.10.2 on RHEL 5.4
    The Metalink Note says : (Oracle Applications Installation Update Notes, Release 11i (11.5.10.2) [ID 316806.1] )
    For Oracle Linux 5 and Red Hat Enterprise Linux 5 only :
    *# ln -s /usr/bin/ld215 /usr/bin/ld*
    But i don't have the file /usr/bin/ld215 .
    Even this note (Oracle Applications 11i Installation on OEL5 or RHEL5 [ID 730444.1]) says to perform
    mv /usr/bin/ld /usr/bin/ld.old
    ln -s /usr/bin/ld215 /usr/bin/ld
    But i have /usr/bin/ld and doesn't have /usr/bin/ld215 ( In reverse)
    If i perform the :
    mv /usr/bin/ld /usr/bin/ld.old
    ln -s /usr/bin/ld215 /usr/bin/ld
    i get error (/usr/bin/ld not found) in system check so i left /usr/bin/ld as it is
    Is the command *# ln -s /usr/bin/ld215 /usr/bin/ld* wrong (should it be otherway) ? How do i get this file ? can i skip this? I don't find any error on system check in rapidwiz but will it cause any issue in future/
    Please suggest
    Regards,
    DB

    Hi Hussein,
    It got fixed after installating the rpm compat-binutils215-2.15.92.0.2-24.i386.rpm ( as a pre req of compat-oracle-el5-1.0-5)
    Regards,
    DB

Maybe you are looking for

  • Nokia 500 and Belle Refresh: browser issues.

    Greetings. The Belle Refresh was indeed a welcome refresh for this low-to-midrange phone. However, there is a serious issue with the browser. With the update to Qt 4.8, you inherited QtWebKit, an amazing browser I know very well. In a desktop, it's f

  • Lucky me, I have a vertical line too!

    Hi fellow victims, I have a PB 17" 1.5ghz serial W844... I woke up this morning to be greeted by a charming lime green vertical line 1/3rd from the left of the screen. It's about in line with the centre of the W in Window in the safari menubar. Inter

  • IPad 2, ios7, all but 4 random icons are gone.

    Overnight, all but 4 of the iPad icons are gone, including Settings, Safari and all the default icons that came with the iPad. The device is not jail broken or modified. Tried a reset (home/off) and 2 icons came back - texting, and a random game - so

  • Boot from flash drive

    Is T400s capable of booting from a flash drive?  Some Linux vendors have their live versions on flash drives and I would like to try them out.  I have a Linux live CD but the drive makes too much noise and is relatively slow when I use it.

  • Kate won't open remote files upgrading to KF5

    Hello, Today I updated all the packages and I noticed that KDE Frameworks 5 was introduced. It seemed exciting, however after starting Dolphin and logging to an FTP server using Kwallet, I tried editing a remote file with Kate, like I've been doing f