We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#qpy:kivy import os from kivy.app import App from kivy.uix.image import Image, AsyncImage from kivy.loader import Loader class TestApp(App): def build(self): img = AsyncImage(source = "https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Opera_2015_icon.svg/400px-Opera_2015_icon.svg.png") TestApp().run()
and log:
[Feedback]: [Device information] RNE-L03,android:7.0,sdk:24 [Recent error information] [Or write your feedback here]: [INFO ] [Kivy ] v1.10.0 [INFO ] [Python ] v2.7.12 (default, Nov 21 2017, 21:49:35) [GCC 4.9.x 20150123 (prerelease)] [INFO ] [Factory ] 194 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif (img_ffpyplayer ignored) [INFO ] [Loader ] using a thread pool of 2 workers [INFO ] [Window ] Provider: pygame [INFO ] [GL ] Using the "OpenGL ES 2" graphics system [INFO ] [GL ] Backend used <gl> [INFO ] [GL ] OpenGL version <OpenGL ES 3.2 v1.r12p1-04bet0.b125fee3fb58301c951089b9a402d362> [INFO ] [GL ] OpenGL vendor <ARM> [INFO ] [GL ] OpenGL renderer <Mali-T830> [INFO ] [GL ] OpenGL parsed version: 3, 2 [INFO ] [GL ] Texture max size <8192> [INFO ] [GL ] Texture max units <16> Traceback (most recent call last): File "/data/user/0/org.qpython.qpy/files/lib/python27.zip/logging/__init__.py", line 882, in emit stream.write(fs % msg) File "<string>", line 23, in write TypeError: argument 1 must be string without null bytes, not str Logged from file __init__.py, line 1051 [ERROR ] [Shader ] GL error 1281 [INFO ] [Support ] Android install hooks [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked Traceback (most recent call last): File "windowprpvider.py", line 13, in <module> TestApp().run() File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/kivy_u4_qpython-1.10.0-py2.7.egg/kivy/app.py", line 802, in run root = self.build() File "windowprpvider.py", line 11, in build img = AsyncImage(source = "https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Opera_2015_icon.svg/400px-Opera_2015_icon.svg.png";) File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/kivy_u4_qpython-1.10.0-py2.7.egg/kivy/uix/image.py", line 345, in __init__ self._load_source() File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/kivy_u4_qpython-1.10.0-py2.7.egg/kivy/uix/image.py", line 360, in _load_source anim_delay=self.anim_delay) File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/kivy_u4_qpython-1.10.0-py2.7.egg/kivy/loader.py", line 448, in image client = ProxyImage(self.loading_image, File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/kivy_u4_qpython-1.10.0-py2.7.egg/kivy/loader.py", line 168, in _get_loading_image self._loading_image = ImageLoader.load(filename=loading_png_fn) File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/kivy_u4_qpython-1.10.0-py2.7.egg/kivy/core/image/__init__.py", line 435, in load im = loader(filename, **kwargs) File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/kivy_u4_qpython-1.10.0-py2.7.egg/kivy/core/image/__init__.py", line 201, in __init__ self._data = self.load(filename) File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/kivy_u4_qpython-1.10.0-py2.7.egg/kivy/core/image/img_pil.py", line 101, in load return list(self._img_read(im)) File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/kivy_u4_qpython-1.10.0-py2.7.egg/kivy/core/image/img_pil.py", line 86, in _img_read img_tmp.mode.lower(), img_tmp.tobytes()) File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/PIL_u4_qpython-1.1.7-py2.7.egg/PIL/Image.py", line 512, in __getattr__ raise AttributeError(name) AttributeError: tobytes
The text was updated successfully, but these errors were encountered:
No branches or pull requests
and log:
The text was updated successfully, but these errors were encountered: