Coder Social home page Coder Social logo

mvasilkov / kivy-2014 Goto Github PK

View Code? Open in Web Editor NEW
135.0 15.0 12.0 412 KB

Rockivy is an app for learning guitar scales, written in Python for Kivy App Contest 2014.

Home Page: https://github.com/mvasilkov/kivy-2014.git

License: MIT License

C 2.42% Python 97.58%

kivy-2014's Introduction

Rockivy

Rockivy is an app for learning guitar scales, written in Python.

Attention: Rockivy is not a synthesizer. Learning to play guitar requires, at the very least, a guitar.

Requirements

  • Python 2.7
  • Kivy 1.8

Setup

Please refer to http://kivy.org for Kivy installation instructions.

Android: get Kivy Launcher from the Google Play.

Usage

Clone the repository and run main.py with Kivy-aware Python.

Assuming bash or similar shell:

git clone https://github.com/mvasilkov/kivy-2014.git rockivy
cd rockivy
$(which kivy||which python) main.py

Supported operating systems

  • OS X
  • Linux
  • Windows
  • Android
  • iOS (tentative)

License

MIT (see LICENSE)

Droid Sans is from Google, distributed under the terms of the Apache License 2.0

kivy-2014's People

Contributors

mvasilkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kivy-2014's Issues

fatal python error on fedora 20

Successfully installed kivy Kivy-Garden requests
Cleaning up...
[nedr@bb rockivy]$ $(which kivy||which python) main.py
/usr/bin/which: no kivy in (/home/nedr/apps/pyenv/shims:/home/nedr/apps/pyenv/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/usr/lib/rabbitmq/bin:/home/nedr/.local/bin:/home/nedr/bin)
[INFO              ] Kivy v1.8.0
[WARNING           ] [Config      ] Older configuration version detected (0 instead of 10)
[WARNING           ] [Config      ] Upgrading configuration in progress.
[INFO              ] [Logger      ] Record log in /home/nedr/.kivy/logs/kivy_14-05-14_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
[INFO              ] [Text        ] Provider: pygame
[DEBUG             ] [Window      ] Ignored <egl_rpi> (import error)
[INFO              ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
[DEBUG             ] [Window      ] Display driver x11
[DEBUG             ] [Window      ] Actual window size: 960x540
[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 <4.4.0 NVIDIA 331.67>
[INFO              ] [GL          ] OpenGL vendor <NVIDIA Corporation>
[INFO              ] [GL          ] OpenGL renderer <GeForce GT 610/PCIe/SSE2>
[INFO              ] [GL          ] OpenGL parsed version: 4, 4
[INFO              ] [GL          ] Shading version <4.40 NVIDIA via Cg compiler>
[INFO              ] [GL          ] Texture max size <16384>
[INFO              ] [GL          ] Texture max units <32>
[DEBUG             ] [Shader      ] Fragment compiled successfully
[DEBUG             ] [Shader      ] Vertex compiled successfully
[DEBUG             ] [ImagePygame ] Load </home/nedr/.local/lib/python2.7/site-packages/kivy/data/glsl/default.png>
[INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO              ] [Shader      ] Read <game.glsl>
[DEBUG             ] [Shader      ] Vertex compiled successfully
[DEBUG             ] [Shader      ] Fragment compiled successfully
[DEBUG             ] [ImagePygame ] Load </home/nedr/progs/rockivy/media/test.png>
[DEBUG             ] [ImagePygame ] Load </home/nedr/progs/rockivy/media/a-0.png>
[INFO              ] [OSC         ] using <multiprocessing> for socket
[DEBUG             ] [Base        ] Create provider from mouse,disable_multitouch
[DEBUG             ] [Base        ] Create provider from probesysfs
[DEBUG             ] [ProbeSysfs  ] using probsysfs!
[DEBUG             ] [ProbeSysfs  ] found device: Microsoft Microsoft® 2.4GHz Transceiver V1.0 at /dev/input/event3
[INFO              ] [ProbeSysfs  ] device match: /dev/input/event3
[INFO              ] [MTD         ] Read event from </dev/input/event3>
[DEBUG             ] [ProbeSysfs  ] found device: A4TECH USB Device at /dev/input/event4
[INFO              ] [ProbeSysfs  ] device match: /dev/input/event4
[INFO              ] [MTD         ] Read event from </dev/input/event4>
[INFO              ] [Base        ] Start application main loop
[INFO              ] [MTD         ] </dev/input/event4> range position X is 0 - 183
[INFO              ] [MTD         ] </dev/input/event4> range position Y is 0 - 183
[INFO              ] [MTD         ] </dev/input/event4> range touch major is 0 - 183
[INFO              ] [MTD         ] </dev/input/event4> range touch minor is 0 - 183
[INFO              ] [MTD         ] </dev/input/event4> range pressure is 0 - 255
[INFO              ] [MTD         ] </dev/input/event4> axes invertion: X is 0, Y is 0
 Exception in thread Thread-1:
 Traceback (most recent call last):
   File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
     self.run()
   File "/usr/lib64/python2.7/threading.py", line 764, in run
     self.__target(*self.__args, **self.__kwargs)
   File "/home/nedr/.local/lib/python2.7/site-packages/kivy/input/providers/mtdev.py", line 193, in _thread_run
     _device = Device(_fn)
   File "/home/nedr/.local/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/event3'

[INFO              ] [GL          ] NPOT texture support is available
[DEBUG             ] [ImagePygame ] Load <media/btn.png>
[DEBUG             ] [ImagePygame ] Load <media/btn_down_g.png>
[DEBUG             ] [ImagePygame ] Load <media/btn_down.png>
[DEBUG             ] [ImagePygame ] Load <media/chkbox_a.png>
Fatal Python error: (pygame parachute) Segmentation Fault
Аварийный останов (core dumped)

Running error

Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 204, in set_icon
self._set_icon_standard(filename)
File "/usr/local/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 212, in _set_icon_standard
im = pygame.image.load(filename)
error: File is not a Windows BMP file

Python 3

This should have been addressed from the very beginning.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.