Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2270 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  Pypanel: Probleme

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Pypanel: Probleme

n°567582
Rasthor
Posté le 06-10-2004 à 19:59:21  profilanswer
 

Bonjour tout le monde.
 
 
http://pypanel.sourceforge.net/
 
 
 
J'ai un problème, je n'arrive pas à lancer pypanel...
 

Citation :

pypanel
 
/usr/lib/python2.3/site-packages/Xlib/display.py:30: DeprecationWarning: Non-ASCII character '\xf6' in file /usr/lib/python2.3/site-packages/Xlib/protocol/display.py on line 749, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
  import protocol.display
Segmentation fault (core dumped)


 
 
Vous avez deja eu ce problème ? Vous l'avez résolu comment ?


Message édité par Rasthor le 07-10-2004 à 20:01:41
mood
Publicité
Posté le 06-10-2004 à 19:59:21  profilanswer
 

n°567586
Rasthor
Posté le 06-10-2004 à 20:09:37  profilanswer
 

http://forum.hardware.fr/forum2.ph [...] =0#t566345
 

Citation :

rm ~/.pypanelrc && pypanel &


 
Marche pas. :sweat:


Message édité par Rasthor le 06-10-2004 à 20:18:10
n°567706
Rasthor
Posté le 06-10-2004 à 23:51:56  profilanswer
 

petit up...

n°567766
alien cons​piracy
hardtrance addict
Posté le 07-10-2004 à 07:17:45  profilanswer
 

report bug

n°567792
xpoulet
apt-get install poolaÿ
Posté le 07-10-2004 à 09:27:04  profilanswer
 

lorsque tu as fais "python setup.py install" tu n'as eu aucune erreurs ?


---------------
Preuve est faite que visages dévots et pieuses actions nous servent à enrober de sucre le diable lui-même.
n°567797
Rasthor
Posté le 07-10-2004 à 09:31:30  profilanswer
 

xPOULET a écrit :

lorsque tu as fais "python setup.py install" tu n'as eu aucune erreurs ?

Surement, j'ai toujours des erreurs quand je fais quelque chose. [:spamafote]
 
 
[:cupra]
 
 
Mais je referais la compil ce soir chez moi.
 
Ceux qui ont pypanel, vous avez quelless versions de :
pypanel
python
pygtk
imlib2
python-xlib
 
 
Si ça ne vous embête pas de regarder.  :jap:  

n°567802
xpoulet
apt-get install poolaÿ
Posté le 07-10-2004 à 09:38:40  profilanswer
 

Rasthor a écrit :


 
Ceux qui ont pypanel, vous avez quelless versions de :
 


 
 
 
dans le README, il est précisé:
 


-------------------------------------------------------------------------------
                        Requirements (Minimum versions)
-------------------------------------------------------------------------------
1. Python v2.2                  http://www.python.org
2. Python X Library v0.12       http://python-xlib.sourceforge.net
3. Imlib2 v1.1.1                http://www.enlightenment.org/pages/imlib2.html
4. libXft v1.0 (optional)       http://fontconfig.org


 
Regarde si tu as au moins ces versions là .


Message édité par xpoulet le 07-10-2004 à 09:39:14

---------------
Preuve est faite que visages dévots et pieuses actions nous servent à enrober de sucre le diable lui-même.
n°567803
black_lord
Modérateur
Truth speaks from peacefulness
Posté le 07-10-2004 à 09:39:57  profilanswer
 

pypanel v1.1
python 2.3.4 (fonctionne aussi en 2.2)
pygtk 2.0.0
imlib 1.1.0
python-xlib 0.12


Message édité par black_lord le 07-10-2004 à 09:41:03

---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
n°567804
Rasthor
Posté le 07-10-2004 à 09:40:45  profilanswer
 

J'ai les toutes dernières versions je crois. [:spamafote]

n°567805
Rasthor
Posté le 07-10-2004 à 09:41:10  profilanswer
 

Black_lord: :jap:

mood
Publicité
Posté le 07-10-2004 à 09:41:10  profilanswer
 

n°568093
Rasthor
Posté le 07-10-2004 à 18:33:59  profilanswer
 

Alors chez moi:
 
Python     2.3.4-6mdk
imlib2     1.1.0-3mdk
pygtk2.0   2.3.96-1mdk
pypanel  2.0
python-xlib 0.12
 
Finalement, c'est fort probable que ce soit le python qui merde.... Ou alors pygtk ? :??:
 
Je désinstalle tout et je ré-installe que l'essentiel. On verra bien. [:spamafote]


Message édité par Rasthor le 07-10-2004 à 19:21:51
n°568105
MsHome
djulsoonsoune
Posté le 07-10-2004 à 18:43:30  profilanswer
 

j'ai toutes les libs , avec aucun prob a l'install , et j'ai le meme prob :/

n°568114
black_lord
Modérateur
Truth speaks from peacefulness
Posté le 07-10-2004 à 18:51:25  profilanswer
 

pygtk n'est pas utilisé par pypanel :o


---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
n°568121
Rasthor
Posté le 07-10-2004 à 18:58:52  profilanswer
 

black_lord a écrit :

pygtk n'est pas utilisé par pypanel :o

Je le ré-installe quand même. [:cupra]

n°568151
Rasthor
Posté le 07-10-2004 à 19:22:02  profilanswer
 

J'ai le Pypanel 2.0 en fait....

n°568157
Rasthor
Posté le 07-10-2004 à 19:38:46  profilanswer
 

En root:

python setup.py install
 
running install
running build
running build_ext
running build_scripts
copying and adjusting pypanel -> build/scripts-2.3
running install_lib
running install_scripts
copying build/scripts-2.3/pypanel -> /usr/bin
changing mode of /usr/bin/pypanel to 755
running install_data


 
=> semble ok  :sol:  
 
en user:  

pypanel &
pypanel  
/usr/lib/python2.3/site-packages/Xlib/display.py:30: DeprecationWarning: Non-ASCII character '\xf6' in file /usr/lib/python2.3/site-packages/Xlib/protocol/display.py on line 749, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
  import protocol.display
 
Traceback (most recent call last):
  File "/usr/bin/pypanel", line 769, in ?
    PyPanel(display.Display())
  File "/usr/lib/python2.3/site-packages/Xlib/display.py", line 80, in __init__
    self.display = _BaseDisplay(display)
  File "/usr/lib/python2.3/site-packages/Xlib/display.py", line 67, in __init__
    apply(protocol.display.Display.__init__, (self, ) + args, keys)
  File "/usr/lib/python2.3/site-packages/Xlib/protocol/display.py", line 118, in __init__
    raise error.DisplayConnectionError(self.display_name, r.reason)
Xlib.error.DisplayConnectionError: Can't connect to display ":0.0": No protocol specified
 
Traceback (most recent call last):
  File "/usr/bin/pypanel", line 769, in ?
    PyPanel(display.Display())
  File "/usr/lib/python2.3/site-packages/Xlib/display.py", line 80, in __init__
    self.display = _BaseDisplay(display)
  File "/usr/lib/python2.3/site-packages/Xlib/display.py", line 67, in __init__
    apply(protocol.display.Display.__init__, (self, ) + args, keys)
  File "/usr/lib/python2.3/site-packages/Xlib/protocol/display.py", line 50, in __init__
    auth_name, auth_data = connect.get_auth(name, host, displayno)
  File "/usr/lib/python2.3/site-packages/Xlib/support/connect.py", line 97, in get_auth
    return mod.get_auth(dname, host, dno)
  File "/usr/lib/python2.3/site-packages/Xlib/support/unix_connect.py", line 94, in get_auth
    data = os.popen('xauth list %s 2>/dev/null' % dname).read()
KeyboardInterrupt
[1]+  Exit 1                  pypanel


 
 
[:spamafote] Moi pas comprendre...


Message édité par Rasthor le 07-10-2004 à 19:39:33
n°568163
Rasthor
Posté le 07-10-2004 à 19:45:37  profilanswer
 

J'hallucine !!!!
 
 
Ligne 749 :  

# Bug reported by Ilpo Nyyssönen


 
Le programme plante à cause du "ö".... :pfff:
J'ai donc modifié le "ö" en "o" et il passe l'erreur.
 
Ca ne marche encore, mais j'y travaille.  :hello:


Message édité par Rasthor le 07-10-2004 à 19:46:23
n°568167
Rasthor
Posté le 07-10-2004 à 19:48:13  profilanswer
 

Dernier bug en date:
 

Xlib.error.DisplayConnectionError: Can't connect to display ":0.0": No protocol specified

n°568168
dr-freuder​ick
Asymétrie Cognitive.
Posté le 07-10-2004 à 19:48:14  profilanswer
 

un topic unique qui demarre sur un problème ? c'est un peu prétentieux non ?


---------------
The Toast, un docu-fiction qui teste la loi de murphy et les films en carton
n°568170
Rasthor
Posté le 07-10-2004 à 19:50:34  profilanswer
 

dr-freuderick a écrit :

un topic unique qui demarre sur un problème ? c'est un peu prétentieux non ?

[:spamafote]
 
C'est pour attirer le chalant.  :whistle:


Message édité par Rasthor le 07-10-2004 à 19:50:54
n°568174
Rasthor
Posté le 07-10-2004 à 19:53:26  profilanswer
 

Et maintenant sous pekwm, j'ai un "Segmentation fault (core dumped)"
 
:sweat:

n°568178
miminou
Posté le 07-10-2004 à 19:57:51  profilanswer
 

dr-freuderick a écrit :

un topic unique qui demarre sur un problème ? c'est un peu prétentieux non ?


c un coup a prevenir un modo
 
non sans dec , le gars l'a pas compris le "topic unique"
On crée pas un "topic unique" pour resoudre ses petits pb perso qu'on etalé sur un autre topic...  :heink:

n°568179
MsHome
djulsoonsoune
Posté le 07-10-2004 à 19:58:20  profilanswer
 

Rasthor a écrit :

Et maintenant sous pekwm, j'ai un "Segmentation fault (core dumped)"
 
:sweat:


 
lol moi aussi  :pt1cable:


---------------
http://sylvainm.chez.tiscali.fr mon site qu'il est bieng
n°568185
Rasthor
Posté le 07-10-2004 à 20:01:25  profilanswer
 

miminou a écrit :

c un coup a prevenir un modo
 
non sans dec , le gars l'a pas compris le "topic unique"
On crée pas un "topic unique" pour resoudre ses petits pb perso qu'on etalé sur un autre topic...  :heink:

Y'a pas d'autres topics. :o

n°568186
Rasthor
Posté le 07-10-2004 à 20:01:49  profilanswer
 

Zetes contents ?

n°568203
miminou
Posté le 07-10-2004 à 20:18:23  profilanswer
 

moi ,je disais ca comme ca...
c pas moi qui irais gueuler !!

n°568261
dr-freuder​ick
Asymétrie Cognitive.
Posté le 07-10-2004 à 21:42:55  profilanswer
 

rhooo suceptible !! ct un mot comme ça ! ( en plus d'être pretentieux :o )
 
(blague)


---------------
The Toast, un docu-fiction qui teste la loi de murphy et les films en carton
n°568289
miminou
Posté le 07-10-2004 à 22:10:49  profilanswer
 

:lol:  
je propose qu'il soit renomer - ds ce cas -  
-> PyPanel , le topic de l'amour fraternel du monde
( le genre avec des piti chats et des lapinou )
 
 :na:

n°569681
MsHome
djulsoonsoune
Posté le 10-10-2004 à 18:01:52  profilanswer
 

bon voila mon fichier pypanelrc , est ce qu'il y aurait une erreur de syntaxe et d'ou pourrait bien venir la segmentation fault ?
 
 
 

Citation :


#------------------------------------------------------------------------------
#
#                         PyPanel v2.0 Configuration
#
# This configuration file is a Python script that will be executed when
# PyPanel is started.  In order for PyPanel to start properly, make sure that
# this file contains proper Python formatting and no syntax errors.
#------------------------------------------------------------------------------
 
#------------------------------------------------------------------------------
# Colors: Format is hex triplet - 0xrrggbb
#------------------------------------------------------------------------------
BG_COLOR        = "0xd6d6d6"    # Panel background and tinting color
TASK_COLOR      = "0x000000"    # Normal task name color  
FOCUSED_COLOR   = "0x1826de"    # Focused task name color
SHADED_COLOR    = "0x808080"    # Shaded task name color  
MINIMIZED_COLOR = "0x808080"    # Minimized task name color  
DESKTOP_COLOR   = "0x000000"    # Desktop name color
CLOCK_COLOR     = "0x000000"    # Clock text color
LINE_COLOR      = "0x606060"    # Vertical line color
 
#------------------------------------------------------------------------------
# Panel Spacing and Location Options: Measured in pixels
#------------------------------------------------------------------------------
P_LOCATION      = 1             # Panel placement: 0 = top, 1 = bottom
P_WIDTH         = 0             # Panel width: 0 = Use full screen width
P_START         = 0             # Starting X coordinate of the panel
P_SPACER        = 6             # Spacing between panel objects
P_HEIGHT        = 24            # Panel height
 
#------------------------------------------------------------------------------
# Icon Size Options: Measured in pixels
#------------------------------------------------------------------------------
I_HEIGHT        = 16            # Application icon height
I_WIDTH         = 16            # Application icon Width  
TRAY_I_HEIGHT   = 24            # System tray icon height (usually 16 or 24)
TRAY_I_WIDTH    = 24            # System tray icon width  (usually 16 or 24)
 
#------------------------------------------------------------------------------
# Panel Clock Format: 'man strftime' for detailed formatting options and help
#------------------------------------------------------------------------------
CLOCK_FORMAT    = "%Y-%m-%d %H:%M"    # Ex: 2004-09-25 17:45  
 
#------------------------------------------------------------------------------
# Clock Delay: Seconds between each clock update during periods of inactivity
#------------------------------------------------------------------------------
CLOCK_DELAY     = 20
 
#------------------------------------------------------------------------------
# Hidden Application List: Apps listed here will not be display on the panel
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
# Ex: ["xmms", "xine", "gDesklets"]
#------------------------------------------------------------------------------
HIDE_LIST       = []            
                   
#------------------------------------------------------------------------------
# Panel Text Font: This option takes either a traditional or Xft font string  
# Ex: "-schumacher-clean-medium-r-normal-*-12-*-*-*-*-*-*-*"
#     "aquafont-8"  
#------------------------------------------------------------------------------
FONT            = "bitstream vera sans-8"
 
#------------------------------------------------------------------------------
# Show All Applications: Show apps from all desktops or just the current
# 0: Disabled - only applications on the current desktop will be displayed
# 1: Enabled  - Selected apps are moved to the current desktop (EWMH only)
# 2: Enabled  - Current desktop is changed to the selected apps desktop
#------------------------------------------------------------------------------
SHOWALL         = 0             # 0, 1 or 2 - see descriptions above
 
#------------------------------------------------------------------------------
# Default Application Icon: Used for applications with no icon
# Use the full path to the desired image, most formats are supported by Imlib2
# If the option is "", PyPanel will use its own default icon
#------------------------------------------------------------------------------
ICON            = ""
 
#------------------------------------------------------------------------------
# Background Alpha/Shade Level: 0 (Fully Translucent) -> 255 (Fully Opaque)
# BG_COLOR is used for tinting
#------------------------------------------------------------------------------
SHADE           = 50
 
#------------------------------------------------------------------------------
# Misc. Options: 1 = Enabled/Yes, 0 = Disabled/No
#------------------------------------------------------------------------------
APPICONS        = 1             # Show application icons
AUTOHIDE        = 0             # Autohide uses the CLOCK_DELAY timer above
SHOWLINES       = 1             # Show object seperation lines
 
#------------------------------------------------------------------------------
# Desktop Names: Configure the names of your desktops
# If the option is [], PyPanel will attempt to use the desktop name specified
# by the XServer, if that fails it will use the desktop number as its name
# Ex. ["One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight"]
#------------------------------------------------------------------------------
DESKTOP_NAMES   = []
 
#------------------------------------------------------------------------------
# Panel Layout:          ----------------------------
#                        [  1  ][  2  ][  3  ][  4  ]
#                        ----------------------------
#
# The panel layout is split into 4 sections numbered 1, 2, 3 or 4 as shown
# in the diagram above.  Each of the following objects can be enabled by
# assigning it a section number or disabled by assigning it 0:
#------------------------------------------------------------------------------
DESKTOP         = 1             # Desktop name section
TASKS           = 2             # Task names section (cannot be disabled!)  
TRAY            = 3             # System tray section
CLOCK           = 4             # Clock section
 
 
 
 
#------------------------------------------------------------------------------
#                       Button Event Function Definitions
#------------------------------------------------------------------------------
# Left click   - button 1  
# Middle click - button 2
# Right click  - button 3
# Wheel up     - button 4
# Wheel down   - button 5  
#
# changeDesktop(x)
# - Change Desktop: Increase or decrease the current desktop by 'x' amount
#  
# toggleShade(task)
# - Shade or Unshade an application
#
# toggleHidden()
# - Minimize the panel to the top or bottom depending on its start location
#
# toggleMinimize(task, traise=1)
# - Minimize or Unminimize an application and optionally raise it
#
# taskRaise(task, focus=1)
# - Raise an application to the top of the window list and optionally focus it  
#
# taskLower(task, focus=0)
# - Lower an app to the bottom of the window list and optionally focus it
#
# taskFocus(task)
# - Give focus to the selected application, if it has focus then minimize it
#
# showDesktop()
# - Toggle between hiding and unhiding ALL applications
#------------------------------------------------------------------------------
 
#----------------------------------
def desktopButtonEvent(pp, button):
#----------------------------------
    """ Button event handler for the panel's desktop object """
         
    if button == 1:
        pp.changeDesktop(-1)
    elif button == 2:
        pp.changeDesktop(2)
    elif button == 3:
        pp.changeDesktop(1)
    elif button == 4:
        pp.changeDesktop(1)
    elif button == 5:
        pp.changeDesktop(-1)
         
#--------------------------------
def clockButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel's clock object """
     
    if button == 1:
        os.system("xclock &" )
    elif button == 2:
        pass
    elif button == 3:
        pp.toggleHidden()  
    elif button == 4:
        pp.showDesktop()
    elif button == 5:
        pp.showDesktop()
         
#-------------------------------------
def taskButtonEvent(pp, button, task):
#-------------------------------------
    """ Button event handler for the panel's tasks """
     
    if button == 1:
        pp.taskFocus(task)
    elif button == 2:
        # Destroy the application
        task.obj.destroy()
    elif button == 3:
        # Ex. - XMMS doesn't shade, so we want to minimize it instead and
        #       still use button 3 to shade other applications
        #       task.tclass is the tasks class name (WM_CLASS)
        if "xmms" in task.tclass:
            pp.toggleMinimize(task)
        else:
            pp.toggleShade(task)
    elif button == 4:
        pp.taskRaise(task, focus=1)
    elif button == 5:
        pp.taskLower(task, focus=0)
         


---------------
http://sylvainm.chez.tiscali.fr mon site qu'il est bieng
n°569809
black_lord
Modérateur
Truth speaks from peacefulness
Posté le 10-10-2004 à 20:50:10  profilanswer
 

chezmoicamarche
 
réinstallé fraichment, debian sarge up to date, suivi scrupuleusement les instructions du site [:spamafote]


---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
n°570021
MsHome
djulsoonsoune
Posté le 11-10-2004 à 08:34:48  profilanswer
 

moi j'ai beau installer fraichement avec aucun message d'erreur a l'install et j'ai toujours cette fouttu segfault. donc la j'ai envoé un message au developpeur :o


---------------
http://sylvainm.chez.tiscali.fr mon site qu'il est bieng
n°570834
gaby7
Posté le 12-10-2004 à 12:00:46  profilanswer
 

Moi aussi j'ai un probleme pypanel je me joins donc à ce topic  :whistle:  
 
J'ai bien tous les requis à savoir :
 
1. Python v2.2                  http://www.python.org
2. Python X Library v0.12       http://python-xlib.sourceforge.net
3. Imlib2 v1.1.1                http://www.enlightenment.org/pages/imlib2.html
4. libXft v1.0 (optional)       http://fontconfig.org  
 
D'apres le readme je dois balancer un : python setup.py install
 
J'ai ca comme erreur:  
 
Traceback (most recent call last):
  File "setup.py", line 2, in ?
    from distutils.core import Extension, setup
ImportError: No module named distutils.core
zsh: exit 1     python setup.py install
 
On doit modifier son setup.py ? ou je suis completement a coté de la plaque ?  :o


Message édité par gaby7 le 12-10-2004 à 12:00:59
n°570838
black_lord
Modérateur
Truth speaks from peacefulness
Posté le 12-10-2004 à 12:03:52  profilanswer
 

apt-get install python-dev


---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
n°570840
gaby7
Posté le 12-10-2004 à 12:11:23  profilanswer
 

ah merci, en fait c'etait le xlibs-dev qui me manquait

mood
Publicité
Posté le   profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  Pypanel: Probleme

 

Sujets relatifs
Probleme SFTPProblème de sécurité sur users 2003 Server
[Resolu] Script probleme passwdProbleme OpenGL
Mozilla : probleme de profil/utilisateur apres une coupureproblème de compilation de KDE
GTK+ 2.4 Shadow, installation petit problèmeProblème CUPS
Problème reconnaissance boîtier externe scanlogic USBIDE SL11RProbleme spdif
Plus de sujets relatifs à : Pypanel: Probleme


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR