| Issue 65: | MTKineticList with searchable parameter set to False | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. create an object MTKineticList with searchable parameter set to False
a = MTKineticList(pos=(10, 10),size=(200, 300),w_limit=1, title='',
friction=10, deletable=False, searchable=False, velstop=1.5)
2.
3.
What is the expected output? What do you see instead?
File "C:\Program
Files\Python25\Lib\site-packages\pymt\ui\widgets\kinetic.py", line 237, in
__init__
self.a_sinput_in = Animation(self.sinput, 'Move In', 'y', self.y +
self.height - 40 - self.sinput.size[1], 1, 10)
AttributeError: 'MTKineticList' object has no attribute 'sinput'
What version of the product are you using? On what operating system?
Python 2.5.4 on XP 32bits
Please provide any additional information below.
i get the following :
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 1.2.4 ==== No Subprocess ====
>>>
[INFO ] Fbo will use hardware Framebuffer
Traceback (most recent call last):
File "C:\Documents and
Settings\poq\Bureau\PyMT\pymt-0.2\examples\touchtracer\object_calendar_AW5bis_testcircles7.py",
line 49, in <module>
evenement_det = MTKineticList(pos=(10, 10),size=(200, 300),w_limit=1,
title='', friction=10, deletable=False, searchable=False, velstop=1.5)
File "C:\Program
Files\Python25\Lib\site-packages\pymt\ui\widgets\kinetic.py", line 237, in
__init__
self.a_sinput_in = Animation(self.sinput, 'Move In', 'y', self.y +
self.height - 40 - self.sinput.size[1], 1, 10)
AttributeError: 'MTKineticList' object has no attribute 'sinput'
>>>
temporarly solved (in case MTKineticList s searchable parameter is set to
False) by modifying kinetic.py", line 237 :
"""
#Animations to hide and show the search text input box
self.a_sinput_in = Animation(self.sinput, 'Move In', 'y', self.y +
self.height - 40 - self.sinput.size[1], 1, 10)
self.a_sinput_out = Animation(self.sinput, 'Move Out', 'y', self.y +
self.height - self.sinput.size[1], 1, 10)
"""
Apr 28, 2009
Project Member
#1
xelap...@gmail.com
Apr 28, 2009
i use Python 2.5.4 PYMT 0.2
Apr 28, 2009
Ok, please get the latest mercurial revision. I really need to talk to the other PyMT people about versions. Good Luck!
May 7, 2009
(No comment was entered for this change.)
Status:
Accepted
Owner: xelapond Labels: Component-Core Milestone-0.3
Aug 17, 2009
Fixed in 0.3 as the last comment said.
Status:
Fixed
|