You are not logged in.

#1 2008-12-23 00:12:15

banshee28
Member
Registered: 2008-10-18
Posts: 336

[Solved] lxpanel, lxappearance, and pypanel not starting??

I am running a new install of arch64 from the 12.08 iso on a vm. I have openbox running great, installed obmenu, obconfig, firefox, etc. All of those apps and menus work fine! The problem is that after I installed lxpanel, lxappearance and even now pypanel, i cant seem to get any of them started?

I can type in pypanel in a term, but get a ImportError: Wrong elf class ...

For lxpanel and lxappearance, i get a /usr/bin/lxpanel: No such file or directory message, although it allows me to type it fine and i know its installed via pacman. Would this have something to do with it being 64-bit vs 32?

Last edited by banshee28 (2008-12-24 15:48:41)


Arch64, AMD64, LXDE

Offline

#2 2008-12-23 02:10:13

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

This may not be related to just the above apps since I just installed stalonetray and it does the same thing:

bash: /usr/bin/stalonetray: no such file or directory

The file is there, do i need to change the permissions on it? I did that with lxpanel and it did not make a difference.

Installed conky and its working fine by typing conky !!

Last edited by banshee28 (2008-12-23 02:11:17)


Arch64, AMD64, LXDE

Offline

#3 2008-12-23 02:17:43

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

Wrong ELF class messages mean that you're trying to run a binary from the wrong architecture, or you simply don't have enough cross-platform libraries to run it. For instance, you may have 64 bit Linux, and you're trying to run a 32 program. This is also the reason why sometimes you may try to run a binary that exists, and you get errors telling you that it doesn't. You have mixed libraries on your system.

Offline

#4 2008-12-23 02:23:53

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

skottish wrote:

Wrong ELF class messages mean that you're trying to run a binary from the wrong architecture, or you simply don't have enough cross-platform libraries to run it. For instance, you may have 64 bit Linux, and you're trying to run a 32 program. This is also the reason why sometimes you may try to run a binary that exists, and you get errors telling you that it doesn't. You have mixed libraries on your system.

Skottish, that may be the issue with pypanel, but the others never got the ELF error just the bash: /usr/bin/stalonetray: no such file or directory error. Now stalonetray does the same thing....?
So would this also mean that all 3 of these apps dont support x64? I just used pacman and let them install?

Last edited by banshee28 (2008-12-23 02:25:22)


Arch64, AMD64, LXDE

Offline

#5 2008-12-23 02:27:27

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

banshee28 wrote:
skottish wrote:

Wrong ELF class messages mean that you're trying to run a binary from the wrong architecture, or you simply don't have enough cross-platform libraries to run it. For instance, you may have 64 bit Linux, and you're trying to run a 32 program. This is also the reason why sometimes you may try to run a binary that exists, and you get errors telling you that it doesn't. You have mixed libraries on your system.

Skottish, that may be the issue with pypanel, but the others never got the ELF error just the bash: /usr/bin/stalonetray: no such file or directory error. Now stalonetray does the same thing....?

Depending on the circumstances, you'll get nothing other than 'no such file or directory'. For instance, if you try to run Real Player on a pure 64 bit system, this will happen.

Are you using 64 or 32 bit?

--EDIT--

Whoops. You're on 64 bit.

Somehow you're downloading 32 bit packages. What mirror(s) are you downloading from?

--EDIT 2--

We'll get you through this. Just stick with me for a little while.

Offline

#6 2008-12-23 02:46:35

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

My stalonetray is working fine on x64, so it's probably as skottish said

Offline

#7 2008-12-23 02:49:34

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

Does pacman not automatically look for x64 if I have a x64 install? I am using all the default mirrors in the pacman mirror list, all of which are repo x86_64.

# North America
# - United States
Server = ftp://ftp.archlinux.org/$repo/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
Server = http://archlinux.unixheads.org/$repo/os/x86_64
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = http://archlinux.umflint.edu/mirrors/archlinux/$repo/os/x86_64
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64
Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
Server = http://schlunix.org/archlinux/$repo/os/x86_64
Server = http://mirror.archlinux.com.ve/$repo/os/x86_64

Last edited by banshee28 (2008-12-23 02:56:19)


Arch64, AMD64, LXDE

Offline

#8 2008-12-23 02:59:36

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

banshee28 wrote:

Does pacman not automatically look for x64 if I have a x64 install? I am using all the default mirrors in the pacman mirror list, all of which are repo x86_64.

# North America
# - United States
Server = ftp://ftp.archlinux.org/$repo/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
Server = http://archlinux.unixheads.org/$repo/os/x86_64
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = http://archlinux.umflint.edu/mirrors/archlinux/$repo/os/x86_64
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64
Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
Server = http://schlunix.org/archlinux/$repo/os/x86_64
Server = http://mirror.archlinux.com.ve/$repo/os/x86_64

It should, and obviously these are all 64 bit repos. Comment out the first one, it's throttled. When done force re-install stalonetray with "pacman -Sf stalonetray" and see if it helps there. Also, it would be very helpful if I knew what the ELF class error was complaining about. Do you remember what it said, or can you reproduce it?

Offline

#9 2008-12-23 03:29:08

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

Here is that ELF error message along with the others:

[me@myhost ~]$ pypanel 
Traceback (most recent call last):
  File "/usr/bin/pypanel", line 892, in <module>
    from ppmodule import ppinit, ppshade, ppicon, ppfont, ppfontsize, ppclear
ImportError: /usr/lib/python2.6/site-packages/ppmodule.so: wrong ELF class: ELFCLASS32

[me@myhost ~]$ lxpanel
bash: /usr/bin/lxpanel: No such file or directory

[me@myhost ~]$ lxappearance 
bash: /usr/bin/lxappearance: No such file or directory

[me@myhost ~]$ stalonetray 
bash: /usr/bin/stalonetray: No such file or directory

Arch64, AMD64, LXDE

Offline

#10 2008-12-23 03:51:24

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

There's no doubt that the pypanel installation that you have is 32 bit. Again, what happens when you force install stuff? Try "pacman -Syf lxpanel" and see if it will start.

Offline

#11 2008-12-23 04:01:50

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

Hmm, same result?

bash-3.2# pacman -Syf lxpanel
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                350.2K  281.0K/s 00:00:01 [#####################] 100%
warning: lxpanel-0.3.8.1-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): lxpanel-0.3.8.1-1  

Total Download Size:    0.00 MB
Total Installed Size:   0.75 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) upgrading lxpanel                             [#####################] 100%
bash-3.2# lxpanel
bash: /usr/bin/lxpanel: No such file or directory
bash-3.2# pacman -Syf pypanel
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
warning: pypanel-2.4-4 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): pypanel-2.4-4  

Total Download Size:    0.00 MB
Total Installed Size:   0.14 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) upgrading pypanel                             [#####################] 100%
bash-3.2# pypanel 
Traceback (most recent call last):
  File "/usr/bin/pypanel", line 892, in <module>
    from ppmodule import ppinit, ppshade, ppicon, ppfont, ppfontsize, ppclear
ImportError: /usr/lib/python2.6/site-packages/ppmodule.so: wrong ELF class: ELFCLASS32
bash-3.2#

Arch64, AMD64, LXDE

Offline

#12 2008-12-23 04:09:36

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

It looks like pacman wants to install packages from the cache even with the -f switch. So:

pacman -R lxpanel

rm /var/cache/pacman/pkg/lxpanel-0.3.8.1-1.pkg.tar.gz

Then reinstall with "pacman -Sf lxpanel".

Offline

#13 2008-12-23 04:18:21

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

skottish wrote:

It looks like pacman wants to install packages from the cache even with the -f switch. So:

pacman -R lxpanel

rm /var/cache/pacman/pkg/lxpanel-0.3.8.1-1.pkg.tar.gz

Then reinstall with "pacman -Sf lxpanel".

Thanks Skottish, I really was hoping this would work. I tried it with lxpanel, lxappearance and stalonetray, all 3 did the same thing: no such file or directory? hmm


Arch64, AMD64, LXDE

Offline

#14 2008-12-23 04:35:52

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

Sorry I'm not being more help here. Clearly you have a mixture of 32 bit and 64 bit libraries in your system. I'm not sure how it's happening though.

Offline

#15 2008-12-23 04:41:57

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

The only thing I can think of are it's the new "test" 12.08 build, x64, and a vm (which should not matter). Most other apps run fine, conky starts fine now also. I just had to fix the locale, but its set properly now....Let me try the next items on my list like java and flash for x64 and see if those work big_smile


Arch64, AMD64, LXDE

Offline

#16 2008-12-23 21:50:46

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

Just installed x64 flash and it works fine. Not sure why these panels are not working also?


Arch64, AMD64, LXDE

Offline

#17 2008-12-24 03:34:54

jraab22
Member
Registered: 2008-08-06
Posts: 16

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

It looks like python itself might be the offending 32-bit program, have you tried forcing reinstall of that.

Offline

#18 2008-12-24 04:02:14

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

jraab22 wrote:

It looks like python itself might be the offending 32-bit program, have you tried forcing reinstall of that.

Just did a pacman -Sf python, and got the same results ??


Arch64, AMD64, LXDE

Offline

#19 2008-12-24 05:07:46

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

Interesting...I just installed xfce4-panel, and it installed and is working fine!

I really want either pypanel or lxpanel, so not sure why they dont work but xfce4 works fine?


Arch64, AMD64, LXDE

Offline

#20 2008-12-24 05:23:27

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

Hi again. Sorry about the other thread. We're supposed to keep it to one.

Anyway, your problem has stuck with me. If you're willing, I'd like to try one last attempt. Just to be sure that you're downloading a 64 bit copy, grab the package like this:

 wget http://archlinux.unixheads.org/community/os/x86_64/lxpanel-0.3.8.1-1.pkg.tar.gz

Then install with "pacman -U lxpanel-0.3.8.1-1.pkg.tar.gz".

Offline

#21 2008-12-24 05:37:55

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

skottish wrote:

Hi again. Sorry about the other thread. We're supposed to keep it to one.

Anyway, your problem has stuck with me. If you're willing, I'd like to try one last attempt. Just to be sure that you're downloading a 64 bit copy, grab the package like this:

 wget http://archlinux.unixheads.org/community/os/x86_64/lxpanel-0.3.8.1-1.pkg.tar.gz

Then install with "pacman -U lxpanel-0.3.8.1-1.pkg.tar.gz".

THAT DID IT lol

its working perfectly! I even did lxappearance the same way. Thanks skottish. cool

Not sure how this happened, but at least i know how to fix it if it happens again.


Arch64, AMD64, LXDE

Offline

#22 2008-12-24 06:00:35

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

banshee28 wrote:
skottish wrote:

Hi again. Sorry about the other thread. We're supposed to keep it to one.

Anyway, your problem has stuck with me. If you're willing, I'd like to try one last attempt. Just to be sure that you're downloading a 64 bit copy, grab the package like this:

 wget http://archlinux.unixheads.org/community/os/x86_64/lxpanel-0.3.8.1-1.pkg.tar.gz

Then install with "pacman -U lxpanel-0.3.8.1-1.pkg.tar.gz".

THAT DID IT lol

its working perfectly! I even did lxappearance the same way. Thanks skottish. cool

Not sure how this happened, but at least i know how to fix it if it happens again.

I'm so glad. Finally we got it! But...

We're not done yet. You need to make sure that this doesn't happen anymore. This is everything that I have enabled in /etc/pacman.d/mirrorlist:

Server = http://archlinux.unixheads.org/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archl … /os/x86_64
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64

These are all American servers, all have good up time, and all are reasonably fast.

Offline

#23 2008-12-24 14:01:37

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

skottish wrote:

I'm so glad. Finally we got it! But...

We're not done yet. You need to make sure that this doesn't happen anymore. This is everything that I have enabled in /etc/pacman.d/mirrorlist:

Server = http://archlinux.unixheads.org/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archl … /os/x86_64
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64

These are all American servers, all have good up time, and all are reasonably fast.

Once again your right "we're not done yet" .... I just changed my mirror list to list only those servers. Did a pacman -Sy lxpanel and let it install. Once again: no such file found error!

Did the wget, and pacman -U and it worked again! Here are my pacman files:

Mirror list:

# Arch Linux repository mirrorlist
#

# North America
# - United States
Server = http://archlinux.unixheads.org/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archl … /os/x86_64
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64

pacman.conf:

# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# Testing is disabled by default.  To enable, uncomment the following
# two lines.  You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.archlinux.org/community/os/i686/
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

Also getting this error using gnoe terminal when openeing gedit. Not sure if its related or not:

(Details -  1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. 
** (gedit:5436): WARNING **: Throbber animation not found

** (gedit:5436): WARNING **: Throbber fallback animation not found either

Arch64, AMD64, LXDE

Offline

#24 2008-12-24 15:33:51

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

From your pacman.conf:

[community]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.archlinux.org/community/os/i686/
Include = /etc/pacman.d/mirrorlist

Remove the Server line and no more 32 bit libraries.

As far as your second error goes, search the forum and the web a bit for it. If you can't find an answer, start a new tread.

Offline

#25 2008-12-24 15:48:26

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [Solved] lxpanel, lxappearance, and pypanel not starting??

skottish wrote:

From your pacman.conf:

[community]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.archlinux.org/community/os/i686/
Include = /etc/pacman.d/mirrorlist

Remove the Server line and no more 32 bit libraries.

As far as your second error goes, search the forum and the web a bit for it. If you can't find an answer, start a new tread.

Ah thats the problem right there...I completely overlooked that one. its working fine now. Thanks again.

Will research the other issue...

Solved cool


Arch64, AMD64, LXDE

Offline

Board footer

Powered by FluxBB