mansrz / pymt

Automatically exported from code.google.com/p/pymt
0 stars 0 forks source link

error with examples/pictures$ python pictures.py #240

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd examples/pictures
2. python pictures.py
3.

What is the expected output? What do you see instead?
[INFO   ] PyMT v0.4
[WARNING] [Extensions] _graphx not available
[INFO   ] [Camera  ] using <gstreamer> as camera provider
[INFO   ] [Text    ] using <pygame> as text provider
[INFO   ] [Video   ] using <gstreamer> as video provider
[INFO   ] [OSC     ] using <multiprocessing> for socket
[INFO   ] [Loader  ] using <pygame> as thread loader
[INFO   ] [Window  ] use Pygame as window provider.
[INFO   ] [Window  ] OpenGL version <3.2.0 NVIDIA 190.53>
Traceback (most recent call last):
  File "pictures.py", line 62, in <module>
    pymt_plugin_activate(w, ctx)
  File "pictures.py", line 43, in pymt_plugin_activate
    img = Loader.image(os.path.join(current_dir, 'images', 'pic%d.jpg' %
(i+1)))
  File "/usr/local/lib/python2.6/dist-packages/pymt/loader.py", line 199,
in image
    loading_image=self.loading_image)
  File "/usr/local/lib/python2.6/dist-packages/pymt/loader.py", line 47, in
__init__
    super(ProxyImage, self).__init__(self, arg, **kwargs)
TypeError: __init__() takes exactly 2 non-keyword arguments (3 given)

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by bernt.hu...@googlemail.com on 15 Apr 2010 at 7:30

GoogleCodeExporter commented 9 years ago
my fault, i known it :)
i'll fix it asap.

Original comment by txprog on 15 Apr 2010 at 7:38

GoogleCodeExporter commented 9 years ago
fixed

Original comment by txprog on 18 Apr 2010 at 9:33

GoogleCodeExporter commented 9 years ago

Original comment by txprog on 2 Jul 2010 at 2:08