Skip to content

Kivy builds failing #861

@nocarryr

Description

@nocarryr

Builds against kivy's current master branch (as of e0c77c8) are failing with tracebacks similar to this:

08-05 09:09:00.111 32532 32577 I python  : [WARNING] [Config      ] Older configuration version detected (0 instead of 16)
08-05 09:09:00.111 32532 32577 I python  : [WARNING] [Config      ] Upgrading configuration in progress.
08-05 09:09:00.121 32532 32577 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/org.example.rtlsdrtest/files/app/.kivy/logs/kivy_16-08-05_0.txt
08-05 09:09:00.121 32532 32577 I python  : [INFO   ] [Kivy        ] v1.9.2-dev0
08-05 09:09:00.121 32532 32577 I python  : [INFO   ] [Python      ] v2.7.2 (default, Aug  5 2016, 09:06:28)
08-05 09:09:00.121 32532 32577 I python  : [GCC 4.9.x 20150123 (prerelease)]
08-05 09:09:00.141 32532 32577 I python  :  Traceback (most recent call last):
08-05 09:09:00.141 32532 32577 I python  :    File "main.py", line 8, in <module>
08-05 09:09:00.141 32532 32577 I python  :      from kivy.app import App
08-05 09:09:00.141 32532 32577 I python  :    File "/data/user/0/org.example.rtlsdrtest/files/app/lib/python2.7/site-packages/kivy/app.py", line 319, in <module>
08-05 09:09:00.141 32532 32577 I python  :      from kivy.base import runTouchApp, stopTouchApp
08-05 09:09:00.141 32532 32577 I python  :    File "/data/user/0/org.example.rtlsdrtest/files/app/lib/python2.7/site-packages/kivy/base.py", line 29, in <module>
08-05 09:09:00.141 32532 32577 I python  :      from kivy.clock import Clock
08-05 09:09:00.141 32532 32577 I python  :    File "/data/user/0/org.example.rtlsdrtest/files/app/lib/python2.7/site-packages/kivy/clock.py", line 364, in <module>
08-05 09:09:00.141 32532 32577 I python  :      from kivy._clock import CyClockBase, ClockEvent, FreeClockEvent, \
08-05 09:09:00.141 32532 32577 I python  :  ImportError: cannot import name FreeClockEvent
08-05 09:09:00.161 32532 32577 I python  : Python for android ended.

Since it's related to kivy.clock, I tried setting the version in the kivy recipe to one before this PR and all seemed well.

I realize this should probably be an issue opened in the kivy repo, but the ImportError only occurs in p4a builds (tested current master on desktop).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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