Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Gooey problem #272

@qaz2709

Description

@qaz2709

when I ran "python run_all.py",error "AttributeError: type object 'Bitmap' has no attribute 'FromBufferRGBA'' comes out.
someone can solve it?
similar problem in #253. but no answers.
the whole erroe is
Traceback (most recent call last): File "run_all.py", line 166, in <module> args = parse_args() File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/python_bindings/gooey_decorator.py", line 83, in inner2 return payload(*args, **kwargs) File "run_all.py", line 114, in parse_args return vars(parser.parse_args()) File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/python_bindings/gooey_parser.py", line 113, in parse_args return self.parser.parse_args(args, namespace) File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/python_bindings/gooey_decorator.py", line 78, in run_gooey application.run(build_spec) File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/gui/application.py", line 15, in run app = build_app(build_spec) File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/gui/application.py", line 24, in build_app gapp = GooeyApplication(merge(build_spec, imagesPaths)) File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/gui/containers/application.py", line 39, in __init__ self.header = FrameHeader(self, buildSpec) File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/gui/components/header.py", line 33, in __init__ self.layoutComponent() File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/gui/components/header.py", line 60, in layoutComponent self.settings_img = self._load_image(images['configIcon'], targetHeight) File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/gui/components/header.py", line 92, in _load_image return imageutil.wrapBitmap(sizedImage, self) File "/usr/local/lib/python2.7/dist-packages/Gooey-1.0.2-py2.7.egg/gooey/gui/imageutil.py", line 28, in wrapBitmap bitmapData = wx.Bitmap.FromBufferRGBA(im.size[0], im.size[1], rgba) AttributeError: type object 'Bitmap' has no attribute 'FromBufferRGBA'

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