Skip to content

APK module import error #603

@plr0201

Description

@plr0201

Describe the bug
A clear and concise description of what the bug is.
2021-08-12 21:15:53.725 2850-2850/com.example.helloworld E/Python: Traceback (most recent call last):
2021-08-12 21:15:53.726 2850-2850/com.example.helloworld E/Python: File "/data/user/0/com.example.helloworld/files/python/user_code/app_packages/rubicon/java/api.py", line 45, in dispatch
2021-08-12 21:15:53.726 2850-2850/com.example.helloworld E/Python: val = getattr(pyinstance, method)(*args)
2021-08-12 21:15:53.726 2850-2850/com.example.helloworld E/Python: File "/data/user/0/com.example.helloworld/files/python/user_code/app_packages/toga_android/widgets/button.py", line 19, in onClick
2021-08-12 21:15:53.726 2850-2850/com.example.helloworld E/Python: self.button_impl.interface.on_press(widget=self.button_impl.interface)
2021-08-12 21:15:53.726 2850-2850/com.example.helloworld E/Python: File "/data/user/0/com.example.helloworld/files/python/user_code/app_packages/toga/handlers.py", line 66, in _handler
2021-08-12 21:15:53.726 2850-2850/com.example.helloworld E/Python: result = handler(interface, *args, **kwargs)
2021-08-12 21:15:53.726 2850-2850/com.example.helloworld E/Python: File "/data/user/0/com.example.helloworld/files/python/user_code/app/helloworld/app.py", line 35, in say_hello
2021-08-12 21:15:53.726 2850-2850/com.example.helloworld E/Python: import mutagen,numpy,wave
2021-08-12 21:15:53.727 2850-2850/com.example.helloworld E/Python: ModuleNotFoundError: No module named 'mutagen'
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • Operating System:android 11
  • Python version:3.8
    • Briefcase:latest
    • Toga:latest
    • ...

Additional context
I did pip install mutagen, but it still report the error. Anywhere I can find the doc for libs beeware support or unsupport? Or instruction for me to make beeware support?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA crash or error in behavior.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions