Kivy-Designer无法正常工作 [英] Kivy-designer is not working

查看:261
本文介绍了Kivy-Designer无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在pycharm上使用了奇异果.我想安装一个kivy设计器,以利用Kivy的视觉界面功能.我使用python3按照文档中的说明安装了kivydesigner,但是当我运行它时,出现如下错误:弹出窗口出现在屏幕上,然后立即关闭.

I'm using a kivy over pycharm. I want to install a kivy designer to take advantage of Kivy's visual interface features. I installed the kivydesigner as written in the document with python3 but when I run it, I get an error like the following below ; the popup comes on the screen and closes immediately.

预先感谢您的帮助.

stranger@paradise-citys-grasses:~/kivy-designer$ python3 -m designer
[INFO   ] [Logger      ] Record log in /home/stranger/.kivy/logs/kivy_17-09-29_72.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.5.3 (default, Sep 14 2017, 22:58:41)
[GCC 6.3.0 20170406]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used <gl>
[INFO   ] [GL          ] OpenGL version <b'3.0 Mesa 17.0.7'>
[INFO   ] [GL          ] OpenGL vendor <b'X.Org'>
[INFO   ] [GL          ] OpenGL renderer <b'Gallium 0.4 on AMD CEDAR (DRM 2.49.0 / 4.10.0-35-generic, LLVM 4.0.0)'>
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <b'1.30'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[WARNING] [FileNotFoundError] [Errno 2] No such file or directory: '/home/stranger/.kivy/garden/garden.xpopup/xpopup.mo'. Switch to the defaults.
[INFO   ] [Clipboard   ] Provider: gtk3(['clipboard_dbusklipper'] ignored)
xclip version 0.12
Copyright (C) 2001-2008 Kim Saunders et al.
Distributed under the terms of the GNU GPL
[INFO   ] [Cutbuffer   ] Provider: xclip
[INFO   ] [CutBuffer   ] cut buffer support enabled
Parçalama arızası (çekirdek döküldü)

最后一行是土耳其语.它的意思是破碎失败(核心故障)".

Last line is Turkish. It means "Crushing failure (core breakdown)".

推荐答案

注意

Kivy Designer仍然是WIP(正在进行中).

Note

The Kivy Designer is still a WIP (Work In Progress).

在Ubuntu 16.04 LTS上运行Kivy Designer的问题,它总是崩溃.

Problem running Kivy Designer on Ubuntu 16.04 LTS and it always crash.

使用Python 3.x在Windows 10 64位系统上运行没问题.

No problem running in on Windows 10 64-bits using Python 3.x.

在文件夹.kivy/garden/garden.xpopup中有一个名为xpopup_ru.mo的文件.将xpopup_ru.mo重命名为xpopup.mo,它将解决FileNotFoundError,但Kivy Designer仍将在以下环境中崩溃:Python 3.x,Kivy,Ubuntu 16.04/18.04 LTS(64位).

There is a file by the name, xpopup_ru.mo in the folder, .kivy/garden/garden.xpopup. Rename xpopup_ru.mo to xpopup.mo, and it will solve the FileNotFoundError but Kivy Designer will still crash in the environment: Python 3.x, Kivy, Ubuntu 16.04/18.04 LTS (64-bits).

运行Kivy Designer没问题

No problem running Kivy Designer

这篇关于Kivy-Designer无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆