Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rst editor crashing on android #174

Closed
kyrelos opened this issue Nov 15, 2013 · 2 comments
Closed

Rst editor crashing on android #174

kyrelos opened this issue Nov 15, 2013 · 2 comments

Comments

@kyrelos
Copy link

kyrelos commented Nov 15, 2013

i am having problems with rst editor. after compiling for android it crashes when i run it on a device. on the logcat it crashes at a point where it fails to find the docutils.parsers module.
i have looked at the forums and the problem seems to be because the docutils module is absent in my package. but i could not find a solution.
i am using the virtualbox image that was provided and i have checked the modules in host python and docutils is not there.

my question is how do i get to bring in the docutils module and get it to be compiled properly with the other modules. i tried to nanually transfer docutils to the site-packages of hostpython but after compiling , on running the resulting apk, its still crashed, complaining of absence of docutils.parsers

any help will be really appreciated.
thanks

@inclement
Copy link
Member

When you run distribute.sh in python-for-android, you should do ./distribute.sh -m "docutils kivy". More generally, you need to add here any modules that are not in the python standard library, or which are not pure python and so need special compilation instructions. The latter non-python type can only be added if python-for-android has a special recipe to compile them, you can see the available recipes at https://github.com/kivy/python-for-android/tree/master/recipes .

If you haven't already, you should probably also pull the latest master from the python-for-android git repository, as I think there have been many improvements since the vm version was created.

@kyrelos
Copy link
Author

kyrelos commented Nov 15, 2013

thanks a lot for your quick reply. i believe that will work.

@kyrelos kyrelos closed this as completed Nov 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants