{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/kivy-designer/issues/132","labels_url":"https://api.github.com/repos/kivy/kivy-designer/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy-designer/issues/132/comments","events_url":"https://api.github.com/repos/kivy/kivy-designer/issues/132/events","html_url":"https://github.com/kivy/kivy-designer/issues/132","id":111211034,"number":132,"title":"missing files","user":{"login":"admica","id":8504036,"avatar_url":"https://avatars.githubusercontent.com/u/8504036?v=3","gravatar_id":"","url":"https://api.github.com/users/admica","html_url":"https://github.com/admica","followers_url":"https://api.github.com/users/admica/followers","following_url":"https://api.github.com/users/admica/following{/other_user}","gists_url":"https://api.github.com/users/admica/gists{/gist_id}","starred_url":"https://api.github.com/users/admica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admica/subscriptions","organizations_url":"https://api.github.com/users/admica/orgs","repos_url":"https://api.github.com/users/admica/repos","events_url":"https://api.github.com/users/admica/events{/privacy}","received_events_url":"https://api.github.com/users/admica/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-13T15:55:41Z","updated_at":"2015-10-13T16:10:41Z","closed_at":null,"body":"I'm running Fedora 21. When I cloned the kivy-designer repo, the data directory was missing the fonts, so I found them in my kivy installation and rsync'd the whole data directory. Why are the fonts missing from data and what else is missing? There's no instructions that say it needs to be merged into the kivy installation. I give up at this point.\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/core/window/window_pygame.py\", line 398, in mainloop\r\n    self._mainloop()\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/core/window/window_pygame.py\", line 285, in _mainloop\r\n    EventLoop.idle()\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/base.py\", line 330, in idle\r\n    self.dispatch_input()\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/base.py\", line 315, in dispatch_input\r\n    post_dispatch_input(*pop(0))\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/base.py\", line 221, in post_dispatch_input\r\n    listener.dispatch('on_motion', etype, me)\r\n  File \"kivy/_event.pyx\", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7008)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/core/window/__init__.py\", line 904, in on_motion\r\n    self.dispatch('on_touch_down', me)\r\n  File \"kivy/_event.pyx\", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7008)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/core/window/__init__.py\", line 920, in on_touch_down\r\n    if w.dispatch('on_touch_down', touch):\r\n  File \"kivy/_event.pyx\", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7008)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/popup.py\", line 201, in on_touch_down\r\n    return super(Popup, self).on_touch_down(touch)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/modalview.py\", line 242, in on_touch_down\r\n    super(ModalView, self).on_touch_down(touch)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/widget.py\", line 382, in on_touch_down\r\n    if child.dispatch('on_touch_down', touch):\r\n  File \"kivy/_event.pyx\", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7008)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/widget.py\", line 382, in on_touch_down\r\n    if child.dispatch('on_touch_down', touch):\r\n  File \"kivy/_event.pyx\", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7008)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/widget.py\", line 382, in on_touch_down\r\n    if child.dispatch('on_touch_down', touch):\r\n  File \"kivy/_event.pyx\", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7008)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/widget.py\", line 382, in on_touch_down\r\n    if child.dispatch('on_touch_down', touch):\r\n  File \"kivy/_event.pyx\", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7008)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/widget.py\", line 382, in on_touch_down\r\n    if child.dispatch('on_touch_down', touch):\r\n  File \"kivy/_event.pyx\", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7008)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/behaviors.py\", line 135, in on_touch_down\r\n    self.dispatch('on_press')\r\n  File \"kivy/_event.pyx\", line 695, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:6967)\r\n  File \"kivy/_event.pyx\", line 1168, in kivy._event.EventObservers.dispatch (kivy/_event.c:12191)\r\n  File \"kivy/_event.pyx\", line 1092, in kivy._event.EventObservers._dispatch (kivy/_event.c:11764)\r\n  File \"kivy/_event.pyx\", line 695, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:6967)\r\n  File \"kivy/_event.pyx\", line 1168, in kivy._event.EventObservers.dispatch (kivy/_event.c:12191)\r\n  File \"kivy/_event.pyx\", line 1092, in kivy._event.EventObservers._dispatch (kivy/_event.c:11764)\r\n  File \"/home/admica/workspace/git/kivy/kivy-designer/designer/app.py\", line 674, in _perform_new\r\n    self.designer_content.toolbox.add_custom()\r\n  File \"/home/admica/workspace/git/kivy/kivy-designer/designer/uix/designer_sandbox.py\", line 31, in __exit__\r\n    return self.on_exception(value, tb=tb)\r\n  File \"/home/admica/workspace/git/kivy/kivy-designer/designer/uix/designer_sandbox.py\", line 38, in on_exception\r\n    self.dispatch('on_getting_exception')\r\n  File \"kivy/_event.pyx\", line 695, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:6967)\r\n  File \"kivy/_event.pyx\", line 1168, in kivy._event.EventObservers.dispatch (kivy/_event.c:12191)\r\n  File \"kivy/_event.pyx\", line 1092, in kivy._event.EventObservers._dispatch (kivy/_event.c:11764)\r\n  File \"/home/admica/workspace/git/kivy/kivy-designer/designer/app.py\", line 1583, in on_sandbox_getting_exception\r\n    self.ui_creator.error_console.text = text\r\n  File \"kivy/weakproxy.pyx\", line 22, in kivy.weakproxy.WeakProxy.__setattr__ (kivy/weakproxy.c:1182)\r\n  File \"kivy/properties.pyx\", line 397, in kivy.properties.Property.__set__ (kivy/properties.c:4677)\r\n  File \"kivy/properties.pyx\", line 1350, in kivy.properties.AliasProperty.set (kivy/properties.c:21738)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/textinput.py\", line 2576, in _set_text\r\n    self._refresh_text(text)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/textinput.py\", line 1525, in _refresh_text\r\n    _lines, self._lines_flags = self._split_smart(text)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/textinput.py\", line 1914, in _split_smart\r\n    w = text_width(word, _tab_width, _label_cached)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/codeinput.py\", line 161, in _get_text_width\r\n    lbl = self._create_line_label(text)\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/uix/codeinput.py\", line 139, in _create_line_label\r\n    label.refresh()\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/core/text/__init__.py\", line 617, in refresh\r\n    sz = self.render()\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/core/text/markup.py\", line 117, in render\r\n    ret = self._pre_render()\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/core/text/markup.py\", line 219, in _pre_render\r\n    extents = self.get_cached_extents()\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/core/text/text_pygame.py\", line 88, in get_cached_extents\r\n    return self._get_font().size\r\n  File \"/usr/lib64/python2.7/site-packages/kivy/core/text/text_pygame.py\", line 49, in _get_font\r\n    font_handle = open(fontname, 'rb')\r\nIOError: [Errno 2] No such file or directory: 'data/fonts/DroidSansMono.ttf'\r\n"},"comment":{"url":"https://api.github.com/repos/kivy/kivy-designer/issues/comments/147763025","html_url":"https://github.com/kivy/kivy-designer/issues/132#issuecomment-147763025","issue_url":"https://api.github.com/repos/kivy/kivy-designer/issues/132","id":147763025,"user":{"login":"dessant","id":7513068,"avatar_url":"https://avatars.githubusercontent.com/u/7513068?v=3","gravatar_id":"","url":"https://api.github.com/users/dessant","html_url":"https://github.com/dessant","followers_url":"https://api.github.com/users/dessant/followers","following_url":"https://api.github.com/users/dessant/following{/other_user}","gists_url":"https://api.github.com/users/dessant/gists{/gist_id}","starred_url":"https://api.github.com/users/dessant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dessant/subscriptions","organizations_url":"https://api.github.com/users/dessant/orgs","repos_url":"https://api.github.com/users/dessant/repos","events_url":"https://api.github.com/users/dessant/events{/privacy}","received_events_url":"https://api.github.com/users/dessant/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T16:10:41Z","updated_at":"2015-10-13T16:10:41Z","body":"Copying fonts is not needed. Are you using Kivy 1.9.0? If yes, pygame should not be the default, but sdl2.\r\n\r\nBut even then, Kivy Designer master references Roboto https://github.com/kivy/kivy-designer/search?utf8=%E2%9C%93&q=roboto.\r\nKivy switched to Roboto after the 1.9.0 release, so Kivy master is needed in order to run KD."}}