Skip to content

Garden package doesn't work #5

Description

When i try the example, i get a black screen.I'm using Manjaro Linux 64 bit. Here's the log:
[INFO ] Kivy v1.8.1-dev
[INFO ] [Python ] v2.7.6 (default, Nov 26 2013, 12:52:49)
[GCC 4.8.2]
[INFO ] [Logger ] Record log in /home/forgottenone/.kivy/logs/kivy_14-02-05_0.txt
[INFO ] [Factory ] 157 symbols loaded
[DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s
[DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones
[INFO ] [Image ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif
[DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s
[WARNING] Call to deprecated function call in /usr/lib/python2.7/site-packages/kivy/utils.py line 246.Called from /home/forgottenone/.kivy/garden/garden.cefpython/init.py line 33 by ().
[WARNING] Call to deprecated function call in /usr/lib/python2.7/site-packages/kivy/utils.py line 246.Called from /home/forgottenone/.kivy/garden/garden.cefpython/init.py line 40 by ().
Going to import /home/forgottenone/.kivy/garden/garden.cefpython/libs/linux64.py2/libcef.so
[DEBUG ] [App ] Loading kv <./cefbrowser.kv>
[DEBUG ] [App ] kv <./cefbrowser.kv> not found
[DEBUG ] [Window ] Ignored <egl_rpi> (import error)
[INFO ] [Window ] Provider: pygame(['window_egl_rpi'] ignored)
libpng warning: iCCP: known incorrect sRGB profile
[DEBUG ] [Window ] Display driver x11
[DEBUG ] [Window ] Actual window size: 800x600
[DEBUG ] [Window ] Actual color bits r8 g8 b8 a0
[DEBUG ] [Window ] Actual depth bits: 24
[DEBUG ] [Window ] Actual stencil bits: 8
[DEBUG ] [Window ] Actual multisampling samples: 2
[INFO ] [GL ] OpenGL version <3.0 Mesa 10.0.2>
[INFO ] [GL ] OpenGL vendor <X.Org>
[INFO ] [GL ] OpenGL renderer <Gallium 0.4 on AMD RV770>
[INFO ] [GL ] OpenGL parsed version: 3, 0
[INFO ] [GL ] Shading version <1.30>
[INFO ] [GL ] Texture max size <8192>
[INFO ] [GL ] Texture max units <16>
[DEBUG ] [Shader ] Fragment compiled successfully
[DEBUG ] [Shader ] Vertex compiled successfully
[DEBUG ] [ImagePygame ] Load </usr/lib/python2.7/site-packages/kivy/data/glsl/default.png>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [GL ] NPOT texture support is available
sh: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF8)
cefpython: ------------------------------------------------------------
cefpython: Initialize() called
cefpython: CefExecuteProcess(): exitCode = -1
cefpython: CefInitialize()
[0205/083242:ERROR_REPORT:main_delegate.cc(448)] Check failed: false. Could not load cef.pak
[0205/083242:ERROR:zygote_host_impl_linux.cc(146)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.

(process:4277): Gtk-WARNING *_: Locale not supported by C library.
Using the fallback 'C' locale.
LaunchProcess: failed to execvp:
/home/forgottenone/.kivy/garden/garden.cefpython/libs/linux64.py2/subprocess
[0205/083242:ERROR:content_client.cc(91)] No data resource available for id 25003
[0205/083242:ERROR:content_client.cc(91)] No data resource available for id 25007
[0205/083242:ERROR:content_client.cc(91)] No data resource available for id 25004
cefpython: CreateBrowserSync() called
cefpython: navigateUrl: http://kivy.org
cefpython: CefBrowser::CreateBrowserSync()
cefpython: GetPyBrowser(): creating new PyBrowser, browserId=1
[0205/083242:ERROR_REPORT:render_widget_host_view_osr.cc(272)] Check failed: false.
cefpython: CefBrowser::CreateBrowserSync() succeeded
cefpython: SendProcessMessage(): message=DoJavascriptBindings, arguments size=1
request_keyboard()
[INFO ] [OSC ] using for socket
[DEBUG ] [Base ] Create provider from mouse
[DEBUG ] [Base ] Create provider from probesysfs
[DEBUG ] [ProbeSysfs ] using probsysfs!
[DEBUG ] [ProbeSysfs ] found device: Logitech Gaming Mouse G600 at /dev/input/event2
[INFO ] [ProbeSysfs ] device match: /dev/input/event2
[INFO ] [MTD ] Read event from </dev/input/event2>
[INFO ] [Base ] Start application main loop
[0205/083243:ERROR:child_process_launcher.cc(326)] Failed to launch child process
OnLoadingStateChange(): isLoading = False
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.**args, self.__kwargs)
File "/usr/lib/python2.7/site-packages/kivy/input/providers/mtdev.py", line 193, in _thread_run
_device = Device(_fn)
File "/usr/lib/python2.7/site-packages/kivy/lib/mtdev.py", line 131, in __init

self._fd = os.open(filename, os.O_NONBLOCK | os.O_RDONLY)
OSError: [Errno 13] Permission denied: '/dev/input/event2'

[INFO ] [Base ] Leaving application in progress...
cefpython: Shutdown()
cefpython: del g_pyBrowsers[1]

Note that if i install this package:https://code.google.com/p/cefpython/downloads/detail?name=cefpython3-29.2-ubuntu1204-64bit-setup.zip&can=2&q=, the kivy example in the package runs without a problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions