On Tue, Jun 02, 2015 at 10:12:02PM -0400, Roy Mathew wrote: > I modified the line in setup.py to read: > dependencies = ['cairocffi>=0.6', 'cffi>=0.8.2', 'six>=1.4.1', > 'xcffib>=0.1.11,<=0.3.0']
It needs to be strictly < 0.3; version 0.3 won't work with qtile right now; you can confirm you've got the right version with: pip show xcffib Tycho > and did python setup.py build and install. > However, I still get the same error..sigh. > > File "build/bdist.linux-x86_64/egg/cairocffi/__init__.py", line 105, in > <module> > File "build/bdist.linux-x86_64/egg/cairocffi/xcb.py", line 16, in <module> > File > "/home/roy/git-dir/Python/py2.7/local/lib/python2.7/site-packages/cffi-1.1.0-py2.7-linux-x86_64.egg/cffi/api.py", > line 430, in include > type(ffi_to_include).__name__,)) > TypeError: ffi.include() expects an argument that is also of type cffi.FFI, > not 'CompiledFFI' > > On Tue, Jun 2, 2015 at 9:25 PM, Roger Duran <[email protected]> wrote: > > > On Tue, Jun 2, 2015 at 9:07 PM, Roy Mathew <[email protected]> wrote: > > > As another data point, I then switched (from the latest version) to the > > > 0.9.1 tag and was able to get python setup.py build and python setup.py > > > install (within a virtualenv) to run ok. > > > > > > At runtime, however: > > > bash: qtile -c /downloads/qtile-examples/arkchar.py > > > TypeError: ffi.include() expects an argument that is also of type > > cffi.FFI, > > > not 'CompiledFFI' > > You should downgrade xcffib to <0.3.0 > > > > > > > > > > > On Tue, Jun 2, 2015 at 7:57 PM, Roy Mathew <[email protected]> wrote: > > >> > > >> Thanks, Tycho. > > >> > > >> I downloaded https://github.com/qtile/qtile.git and did: > > >> > > >> python setup.py build > > >> > > >> and I ended up with: > > >> > > >> pkg_resources.ContextualVersionConflict: (cffi 0.9.2 > > >> (/downloads/qtile/.eggs/cffi-0.9.2-py2.7-linux-x86_64.egg), > > >> Requirement.parse('cffi>=1.1.0'), set(['xcffib'])) > > >> > > >> Not sure where to go from here. > > >> > > >> On Tue, Jun 2, 2015 at 5:42 PM, Tycho Andersen <[email protected]> wrote: > > >>> > > >>> On Tue, Jun 02, 2015 at 02:37:44PM -0700, Roy Mathew wrote: > > >>> > > > >>> > > > >>> > Hi folks, I created a py2.7 virtualenv, and attempted to install > > qtile > > >>> > in it. I get the following error; need a little help getting past > > this. > > >>> > thanks: > > >>> > > >>> Looks like this might be a bug with our pypi upload; that file is a > > >>> man page which should be distributed with it as well. > > >>> > > >>> You can install from source if you want as a workaround. > > >>> > > >>> Tycho > > >>> > > >>> > bash: pip install qtile > > >>> > > > >>> > creating /home/roy/py2.7/share > > >>> > creating /home/roy/py2.7/share/man > > >>> > creating /home/roy/py2.7/share/man/man1 > > >>> > error: can't copy 'resources/qtile.1': doesn't exist or not a > > regular > > >>> > file > > >>> > ---------------------------------------- > > >>> > Cleaning up... > > >>> > Command /home/roy/py2.7/bin/python2 -c "import setuptools, > > >>> > > > >>> > > > tokenize;__file__='/tmp/pip-build-yYz_NI/qtile/setup.py';exec(compile(getattr(tokenize, > > >>> > 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, > > >>> > 'exec'))" install --record > > >>> > /tmp/pip-upZ7p6-record/install-record.txt > > >>> > --single-version-externally-managed --compile --install-headers > > >>> > /home/roy/py2.7/include/site/python2.7 failed with error code 1 > > in > > >>> > /tmp/pip-build-yYz_NI/qtile > > >>> > Exception information: > > >>> > Traceback (most recent call last): > > >>> > File > > >>> > > > "/home/roy/py2.7/local/lib/python2.7/site-packages/pip/basecommand.py", line > > >>> > 122, in main > > >>> > status = self.run(options, args) > > >>> > File > > >>> > > > "/home/roy/py2.7/local/lib/python2.7/site-packages/pip/commands/install.py", > > >>> > line 295, in run > > >>> > requirement_set.install(install_options, global_options, > > >>> > root=options.root_path) > > >>> > File > > >>> > "/home/roy/py2.7/local/lib/python2.7/site-packages/pip/req.py", line > > 1436, > > >>> > in install > > >>> > requirement.install(install_options, global_options, *args, > > >>> > **kwargs) > > >>> > File > > >>> > "/home/roy/py2.7/local/lib/python2.7/site-packages/pip/req.py", line > > 707, in > > >>> > install > > >>> > cwd=self.source_dir, filter_stdout=self._filter_install, > > >>> > show_stdout=False) > > >>> > File > > >>> > "/home/roy/py2.7/local/lib/python2.7/site-packages/pip/util.py", > > line 716, > > >>> > in call_subprocess > > >>> > % (command_desc, proc.returncode, cwd)) > > >>> > InstallationError: Command /home/roy/py2.7/bin/python2 -c "import > > >>> > setuptools, > > >>> > > > >>> > > > tokenize;__file__='/tmp/pip-build-yYz_NI/qtile/setup.py';exec(compile(getattr(tokenize, > > >>> > 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, > > >>> > 'exec'))" install --record > > >>> > /tmp/pip-upZ7p6-record/install-record.txt > > >>> > --single-version-externally-managed --compile --install-headers > > >>> > /home/roy/py2.7/include/site/python2.7 failed with error code 1 > > in > > >>> > /tmp/pip-build-yYz_NI/qtile > > >>> > > > >>> > > > >>> > -- > > >>> > 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. > > >>> > > >>> -- > > >>> You received this message because you are subscribed to a topic in the > > >>> Google Groups "qtile-dev" group. > > >>> To unsubscribe from this topic, visit > > >>> https://groups.google.com/d/topic/qtile-dev/ZuKj8afRCuQ/unsubscribe. > > >>> To unsubscribe from this group and all its topics, send an email to > > >>> [email protected]. > > >>> For more options, visit https://groups.google.com/d/optout. > > >> > > >> > > >> > > >> > > >> -- > > >> Roy. > > > > > > > > > > > > > > > -- > > > Roy. > > > > > > -- > > > 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. > > > > -- > > You received this message because you are subscribed to a topic in the > > Google Groups "qtile-dev" group. > > To unsubscribe from this topic, visit > > https://groups.google.com/d/topic/qtile-dev/ZuKj8afRCuQ/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to > > [email protected]. > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > Roy. > > -- > 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. -- 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.
