Well, I tried to apply the patch, but suddenly running xephyr was 
completely broken. This was very weird, because I could easily restart my 
own running instance of Qtile and everything worked fine.

I tried to remove Qtile and xcffib and reinstall them. Now Qtile doesn't 
work anymore (I am back to running gnome) and I get the same error from 
xephyr:

./qtile/scripts/xephyr 
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension GLX
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, 
removing from list!
[dix] Could not init font path element 
/usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, 
removing from list!
2015-04-06 14:50:31,084 qtile init_log:100  Starting Qtile
2015-04-06 14:50:31,383 qtile safe_import:49  Can't Import Widget: 
'.mpdwidget.Mpd', No module named mpd
2015-04-06 14:50:31,397 qtile safe_import:49  Can't Import Widget: 
'.wlan.Wlan', No module named pythonwifi.iwlibs
2015-04-06 14:50:31,461 qtile make_qtile:109  Error while reading config 
file
Traceback (most recent call last):
  File "/home/martin/qtile/scripts/../bin/qtile", line 107, in make_qtile
    c = confreader.File(options.configfile, is_restart=options.no_spawn)
  File "/home/martin/qtile/bin/libqtile/confreader.py", line 46, in __init__
    from .resources import default_config
  File "/home/martin/qtile/bin/libqtile/resources/default_config.py", line 
114, in <module>
    widget.Prompt(),
  File "/home/martin/qtile/bin/libqtile/widget/prompt.py", line 351, in 
__init__
    self.history = pickle.load(f)
  File "/usr/lib/python2.7/pickle.py", line 1378, in load
    return Unpickler(file).load()
  File "/usr/lib/python2.7/pickle.py", line 858, in load
    dispatch[key](self)
  File "/usr/lib/python2.7/pickle.py", line 1090, in load_global
    klass = self.find_class(module, name)
  File "/usr/lib/python2.7/pickle.py", line 1126, in find_class
    klass = getattr(mod, name)
AttributeError: 'module' object has no attribute 'deque'
Traceback (most recent call last):
  File "/home/martin/qtile/scripts/../bin/qtile", line 130, in <module>
    q = make_qtile()
  File "/home/martin/qtile/scripts/../bin/qtile", line 107, in make_qtile
    c = confreader.File(options.configfile, is_restart=options.no_spawn)
  File "/home/martin/qtile/bin/libqtile/confreader.py", line 46, in __init__
    from .resources import default_config
  File "/home/martin/qtile/bin/libqtile/resources/default_config.py", line 
114, in <module>
    widget.Prompt(),
  File "/home/martin/qtile/bin/libqtile/widget/prompt.py", line 351, in 
__init__
    self.history = pickle.load(f)
  File "/usr/lib/python2.7/pickle.py", line 1378, in load
    return Unpickler(file).load()
  File "/usr/lib/python2.7/pickle.py", line 858, in load
    dispatch[key](self)
  File "/usr/lib/python2.7/pickle.py", line 1090, in load_global
    klass = self.find_class(module, name)
  File "/usr/lib/python2.7/pickle.py", line 1126, in find_class
    klass = getattr(mod, name)
AttributeError: 'module' object has no attribute 'deque'

This is both with and without the patch, something has gone horribly wrong.
I am a bit confused that the error appears to be in the default config 
file. Xephyr usually loads my own config in .config/qtile/config.py

Why is my Qtile broken? I don't know what happened :(

I applied the patch to the __init.py__ files
./usr/local/lib/python2.7/dist-packages/xcffib/__init__.py
./usr/local/lib/python3.4/dist-packages/xcffib-0.2.2-py3.4-linux-x86_64.egg/xcffib/__init__.py
by removing line 565 in both files

:(

On Monday, April 6, 2015 at 1:26:29 PM UTC-4, Tycho Andersen wrote:
>
> On Mon, Apr 06, 2015 at 10:22:32AM -0700, Martin wrote: 
> > I get this 
>
> Oh, hah; I forgot about that. Probably easiest to just apply the patch 
> manually (i.e. open the file and delete the one line that the patch 
> deletes yourself). 
>
> Tycho 
>
> > sudo -H pip install 
> > https://github.com/tych0/xcffib/zipball/has-error-not-connected 
> > 
> > Collecting 
> https://github.com/tych0/xcffib/zipball/has-error-not-connected 
> >   Downloading 
> > https://github.com/tych0/xcffib/zipball/has-error-not-connected (64kB) 
> >     100% |################################| 65kB 978kB/s 
> >     It looks like you need to generate the binding. 
> >     please run 'make xcffib' or 'make check'. 
> >     Complete output from command python setup.py egg_info: 
> >     running egg_info 
> >     
> >     creating pip-egg-info/xcffib.egg-info 
> >     
> >     writing requirements to pip-egg-info/xcffib.egg-info/requires.txt 
> >     
> >     writing pip-egg-info/xcffib.egg-info/PKG-INFO 
> >     
> >     writing top-level names to 
> pip-egg-info/xcffib.egg-info/top_level.txt 
> >     
> >     writing dependency_links to 
> > pip-egg-info/xcffib.egg-info/dependency_links.txt 
> >     
> >     writing manifest file 'pip-egg-info/xcffib.egg-info/SOURCES.txt' 
> >     
> >     warning: manifest_maker: standard file '-c' not found 
> > 
> >     It looks like you need to generate the binding. 
> >     
> >     please run 'make xcffib' or 'make check'. 
> >     
> >     ---------------------------------------- 
> >     Command "python setup.py egg_info" failed with error code 1 in 
> > /tmp/pip-aIasDv-build 
> > 
> > 
> > On Monday, April 6, 2015 at 11:41:56 AM UTC-4, Tycho Andersen wrote: 
> > > 
> > > On Mon, Apr 06, 2015 at 08:39:53AM -0700, Martin wrote: 
> > > > git clone https://github.com/tych0/xcffib 
> > > > cd xcffib 
> > > > python setup.py install 
> > > >   running install 
> > > >   It looks like you need to generate the binding. 
> > > >   please run 'make xcffib' or 'make check'. 
> > > > make xcffib 
> > > >   cabal --config-file=/dev/null configure --enable-tests 
> > > >   make: cabal: Command not found 
> > > >   make: *** [dist] Error 127 
> > > > make 
> > > >   cabal --config-file=/dev/null configure --enable-tests 
> > > >   make: cabal: Command not found 
> > > >   make: *** [dist] Error 127 
> > > > make check 
> > > >   cabal --config-file=/dev/null configure --enable-tests 
> > > >   make: cabal: Command not found 
> > > >   make: *** [dist] Error 127 
> > > > make install 
> > > >   make: *** No rule to make target `install'.  Stop. 
> > > > 
> > > > It appears I cannot install xcffib from source 
> > > 
> > > Right, you'll need all the haskell stuff. Probably the easiest is to 
> > > just use pip. 
> > > 
> > > > -- 
> > > > You received this message because you are subscribed to the Google 
> > > Groups "qtile-dev" group. 
> > > > To unsubscribe from this group and stop receiving emails from it, 
> send 
> > > an email to [email protected] <javascript:>. 
> > > > For more options, visit https://groups.google.com/d/optout. 
> > > 
> > > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "qtile-dev" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to