You are not logged in.

#1 2015-04-19 16:55:43

niccoper
Member
Registered: 2015-04-19
Posts: 4

[e17 and pytyle] Is pytyle compliant with enligthenment ?

Hi,

I'm trying to install pytyle (tries the 3 versions) and I use a WM enlightenment but I still stuck.

You can see error message I have when I try pytyle 1, 2 or 3. Does anybody knows any tricks to solve this problems please ?

By the way,  Does anybody uses successfully pytyle ans e17 ? Is there a tiling applications compliant with e17 (I've tries tile-windows and the e17's tiling but I'm not satisfy with theses.)

Thanks.

Below the error messages I get when I try to run pytyle

pytyle

$ pytyle
Xlib.protocol.request.QueryExtension

Le message s'affiche mais rien ne se passe

pytyle2

$ pytyle2 
Traceback (most recent call last):
  File "/usr/bin/pytyle2", line 27, in <module>
    import pt.state as state
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 272, in <module>
    init()
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 20, in init
    load_properties()
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 109, in load_properties
    update_property(pname)
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 155, in update_property
    m()
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 199, in update_NET_CURRENT_DESKTOP
    properties['_NET_CURRENT_DESKTOP'] = ptxcb.XROOT.get_current_desktop()
  File "/usr/lib/python2.7/site-packages/pt/ptxcb/window.py", line 564, in get_current_desktop
    return self._get_property('_NET_CURRENT_DESKTOP')[0]
IndexError: list index out of range

pytyle3

$ pytyle3 
Enlightenment window manager is running...
Could not bind Control-Mod1-r
Could not bind Control-Mod1-s
Could not bind Control-Mod1-d
Could not bind Control-Mod1-f
Could not bind Control-Mod1-q
Traceback (most recent call last):
  File "/usr/bin/pytyle3", line 18, in <module>
    tile.update_tilers()
  File "/usr/lib/python2.7/site-packages/pt3/tile.py", line 97, in update_tilers
    for d in xrange(state.desk_num):
TypeError: an integer is required

Offline

#2 2015-04-21 13:53:54

niccoper
Member
Registered: 2015-04-19
Posts: 4

Re: [e17 and pytyle] Is pytyle compliant with enligthenment ?

up please

Offline

#3 2015-04-21 14:56:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: [e17 and pytyle] Is pytyle compliant with enligthenment ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2015-04-21 14:58:30

niccoper
Member
Registered: 2015-04-19
Posts: 4

Re: [e17 and pytyle] Is pytyle compliant with enligthenment ?

Hi,

OK, sorry.

Offline

#5 2015-04-21 15:01:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: [e17 and pytyle] Is pytyle compliant with enligthenment ?

Don't worry about it.  In the future, just try to provide more information instead.   I don't use E17 myself.  Sadly, those error messages provide me no clues.

Last edited by ewaller (2015-04-21 15:02:15)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2015-04-21 15:43:52

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [e17 and pytyle] Is pytyle compliant with enligthenment ?

E17 is old. Dont use it.

E19 which is the latest has a tiling module.

Offline

#7 2015-04-21 16:36:21

niccoper
Member
Registered: 2015-04-19
Posts: 4

Re: [e17 and pytyle] Is pytyle compliant with enligthenment ?

Hi 89c51,

Thanks for the advice but I'm using E19 at the moment. I don't use the enlightenment tiling module. Pytyle is much more powerful, simple and confortable.

Edit: The thread's title is incorrect, I use e19, not e17

Last edited by niccoper (2015-04-22 03:37:36)

Offline

#8 2016-06-15 17:58:51

goamech
Member
Registered: 2016-06-15
Posts: 4

Re: [e17 and pytyle] Is pytyle compliant with enligthenment ?

I have almost same situation with Pytyle2 and Openbox 3.6.1
Please, give any tips how to fix it!

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pt/ptxcb/window.py", line 394, in set_event_masks
    [event_masks]
  File "/usr/lib/python2.7/site-packages/xcb/xproto.py", line 1408, in ChangeWindowAttributes
    for elt in xcb.Iterator(value_list, 15, 'value_list', False):
Exception: Too few items in 'value_list' list (expect 15).

Traceback (most recent call last):
  File "/usr/bin/pytyle2", line 27, in <module>
    import pt.state as state
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 272, in <module>
    init()
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 20, in init
    load_properties()
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 109, in load_properties
    update_property(pname)
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 155, in update_property
    m()
  File "/usr/lib/python2.7/site-packages/pt/state.py", line 199, in update_NET_CURRENT_DESKTOP
    properties['_NET_CURRENT_DESKTOP'] = ptxcb.XROOT.get_current_desktop()
  File "/usr/lib/python2.7/site-packages/pt/ptxcb/window.py", line 564, in get_current_desktop
    return self._get_property('_NET_CURRENT_DESKTOP')[0]
TypeError: 'NoneType' object has no attribute '__getitem__'

Offline

Board footer

Powered by FluxBB