Expandtable cell problem

View: New views
5 Messages — Rating Filter:   Alert me  

Expandtable cell problem

by Szilárd Pfeiffer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I try to use the expandtablecell from python I get an exception.

Command:
expandtablecell('frmGTK+CodeDemos', 'ttbl0', 10)

Traceback:
  File "<stdin>", line 1, in <module>
  File "/var/lib/python-support/python2.5/ldtp.py", line 1173, in
expandtablecell
    raise LdtpExecutionError (_responseStatus [1])
ldtplib.ldtplibutils.LdtpExecutionError: 'Invalid response packet'

Versions:
ldtp - 1.5.1
GTK+ - 2.16.0
Glib - 2.20.0

same problem with checkrow

Traceback:
  File "<stdin>", line 1, in <module>
  File "/var/lib/python-support/python2.5/ldtp.py", line 2677, in checkrow
    raise LdtpExecutionError (_responseStatus [1])
ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'


both of them (expandtablecell, checkrow) use the do_action in tree-table.c.
_______________________________________________
LDTP-dev mailing list
LDTP-dev@...
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev

Re: Expandtable cell problem

by Nagappan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Pfeiffer,

I tried the same and getting an error

>>> from ldtp import *
>>> expandtablecell('frmGTK+CodeDemos', 'ttbl0', 10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/ldtp.py", line 1200, in expandtablecell
    raise LdtpExecutionError (_responseStatus [1])
ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
>>> checkrow('frmGTK+CodeDemos', 'ttbl0', 10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/ldtp.py", line 2704, in checkrow
    raise LdtpExecutionError (_responseStatus [1])
ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'

Reason for the above error: The tree table cell, we are trying to accessing doesn't have any toggle option, atleast through accessibility interface. Could you please confirm the same with accerciser.

Thanks
Nagappan

On Fri, Apr 17, 2009 at 7:57 AM, Szilard Pfeiffer <szilard.pfeiffer@...> wrote:
When I try to use the expandtablecell from python I get an exception.

Command:
expandtablecell('frmGTK+CodeDemos', 'ttbl0', 10)

Traceback:
 File "<stdin>", line 1, in <module>
 File "/var/lib/python-support/python2.5/ldtp.py", line 1173, in
expandtablecell
   raise LdtpExecutionError (_responseStatus [1])
ldtplib.ldtplibutils.LdtpExecutionError: 'Invalid response packet'

Versions:
ldtp - 1.5.1
GTK+ - 2.16.0
Glib - 2.20.0

same problem with checkrow

Traceback:
 File "<stdin>", line 1, in <module>
 File "/var/lib/python-support/python2.5/ldtp.py", line 2677, in checkrow
   raise LdtpExecutionError (_responseStatus [1])
ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'


both of them (expandtablecell, checkrow) use the do_action in tree-table.c.
_______________________________________________
LDTP-dev mailing list
LDTP-dev@...
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev



--
Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org
http://nagappanal.blogspot.com

_______________________________________________
LDTP-dev mailing list
LDTP-dev@...
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev

Re: Expandtable cell problem

by Szilárd Pfeiffer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nagappan A wrote:

> Hello Pfeiffer,
>
> I tried the same and getting an error
>
> >>> from ldtp import *
> >>> expandtablecell('frmGTK+CodeDemos', 'ttbl0', 10)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.5/site-packages/ldtp.py", line 1200, in
> expandtablecell
>     raise LdtpExecutionError (_responseStatus [1])
> ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
> >>> checkrow('frmGTK+CodeDemos', 'ttbl0', 10)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.5/site-packages/ldtp.py", line 2704, in checkrow
>     raise LdtpExecutionError (_responseStatus [1])
> ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
>
> Reason for the above error: The tree table cell, we are trying to
> accessing doesn't have any toggle option, atleast through
> accessibility interface. Could you please confirm the same with
> accerciser.
Confirmed, but in case of the uncheckrow function (command:
'uncheckrow('frmGTK+CodeDemos', 'ttbl0', 10)') the result is '1' so it
is inconsistent considering the working of checkrow function.

Otherwise, the 10th row of the GTK+ demo's tree has children so the
expandtablecell should have worked.

Anyway thanks for the good reaction time.

Szilard

>
> Thanks
> Nagappan
>
> On Fri, Apr 17, 2009 at 7:57 AM, Szilard Pfeiffer
> <szilard.pfeiffer@... <mailto:szilard.pfeiffer@...>> wrote:
>
>     When I try to use the expandtablecell from python I get an exception.
>
>     Command:
>     expandtablecell('frmGTK+CodeDemos', 'ttbl0', 10)
>
>     Traceback:
>      File "<stdin>", line 1, in <module>
>      File "/var/lib/python-support/python2.5/ldtp.py", line 1173, in
>     expandtablecell
>        raise LdtpExecutionError (_responseStatus [1])
>     ldtplib.ldtplibutils.LdtpExecutionError: 'Invalid response packet'
>
>     Versions:
>     ldtp - 1.5.1
>     GTK+ - 2.16.0
>     Glib - 2.20.0
>
>     same problem with checkrow
>
>     Traceback:
>      File "<stdin>", line 1, in <module>
>      File "/var/lib/python-support/python2.5/ldtp.py", line 2677, in
>     checkrow
>        raise LdtpExecutionError (_responseStatus [1])
>     ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
>
>
>     both of them (expandtablecell, checkrow) use the do_action in
>     tree-table.c.
>     _______________________________________________
>     LDTP-dev mailing list
>     LDTP-dev@... <mailto:LDTP-dev@...>
>     http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>
>
>
>
> --
> Linux Desktop (GUI Application) Testing Project -
> http://ldtp.freedesktop.org
> http://nagappanal.blogspot.com

_______________________________________________
LDTP-dev mailing list
LDTP-dev@...
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev

Re: Expandtable cell problem

by Szilárd Pfeiffer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you inform me there is any improvement? Do you need additional
information? Should I open a bug report?


Regards,

Szilárd


Szilard Pfeiffer wrote:

> Nagappan A wrote:
>> Hello Pfeiffer,
>>
>> I tried the same and getting an error
>>
>> >>> from ldtp import *
>> >>> expandtablecell('frmGTK+CodeDemos', 'ttbl0', 10)
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File "/usr/lib/python2.5/site-packages/ldtp.py", line 1200, in
>> expandtablecell
>>     raise LdtpExecutionError (_responseStatus [1])
>> ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
>> >>> checkrow('frmGTK+CodeDemos', 'ttbl0', 10)
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File "/usr/lib/python2.5/site-packages/ldtp.py", line 2704, in
>> checkrow
>>     raise LdtpExecutionError (_responseStatus [1])
>> ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
>>
>> Reason for the above error: The tree table cell, we are trying to
>> accessing doesn't have any toggle option, atleast through
>> accessibility interface. Could you please confirm the same with
>> accerciser.
> Confirmed, but in case of the uncheckrow function (command:
> 'uncheckrow('frmGTK+CodeDemos', 'ttbl0', 10)') the result is '1' so it
> is inconsistent considering the working of checkrow function.
>
> Otherwise, the 10th row of the GTK+ demo's tree has children so the
> expandtablecell should have worked.
>
> Anyway thanks for the good reaction time.
>
> Szilard
>>
>> Thanks
>> Nagappan
>>
>> On Fri, Apr 17, 2009 at 7:57 AM, Szilard Pfeiffer
>> <szilard.pfeiffer@... <mailto:szilard.pfeiffer@...>> wrote:
>>
>>     When I try to use the expandtablecell from python I get an
>> exception.
>>
>>     Command:
>>     expandtablecell('frmGTK+CodeDemos', 'ttbl0', 10)
>>
>>     Traceback:
>>      File "<stdin>", line 1, in <module>
>>      File "/var/lib/python-support/python2.5/ldtp.py", line 1173, in
>>     expandtablecell
>>        raise LdtpExecutionError (_responseStatus [1])
>>     ldtplib.ldtplibutils.LdtpExecutionError: 'Invalid response packet'
>>
>>     Versions:
>>     ldtp - 1.5.1
>>     GTK+ - 2.16.0
>>     Glib - 2.20.0
>>
>>     same problem with checkrow
>>
>>     Traceback:
>>      File "<stdin>", line 1, in <module>
>>      File "/var/lib/python-support/python2.5/ldtp.py", line 2677, in
>>     checkrow
>>        raise LdtpExecutionError (_responseStatus [1])
>>     ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
>>
>>
>>     both of them (expandtablecell, checkrow) use the do_action in
>>     tree-table.c.
>>     _______________________________________________
>>     LDTP-dev mailing list
>>     LDTP-dev@...
>> <mailto:LDTP-dev@...>
>>     http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>>
>>
>>
>>
>> --
>> Linux Desktop (GUI Application) Testing Project -
>> http://ldtp.freedesktop.org
>> http://nagappanal.blogspot.com
>
>

_______________________________________________
LDTP-dev mailing list
LDTP-dev@...
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev

Re: Expandtable cell problem

by Nagappan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Szilard,

I have fixed the issue in git. Thanks for the bug report.

Thanks
Nagappan

On Sat, May 9, 2009 at 10:06 AM, Szilárd Pfeiffer <szilard.pfeiffer@...> wrote:
Could you inform me there is any improvement? Do you need additional
information? Should I open a bug report?


Regards,

Szilárd


Szilard Pfeiffer wrote:

> Nagappan A wrote:
>> Hello Pfeiffer,
>>
>> I tried the same and getting an error
>>
>> >>> from ldtp import *
>> >>> expandtablecell('frmGTK+CodeDemos', 'ttbl0', 10)
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File "/usr/lib/python2.5/site-packages/ldtp.py", line 1200, in
>> expandtablecell
>>     raise LdtpExecutionError (_responseStatus [1])
>> ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
>> >>> checkrow('frmGTK+CodeDemos', 'ttbl0', 10)
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File "/usr/lib/python2.5/site-packages/ldtp.py", line 2704, in
>> checkrow
>>     raise LdtpExecutionError (_responseStatus [1])
>> ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
>>
>> Reason for the above error: The tree table cell, we are trying to
>> accessing doesn't have any toggle option, atleast through
>> accessibility interface. Could you please confirm the same with
>> accerciser.
> Confirmed, but in case of the uncheckrow function (command:
> 'uncheckrow('frmGTK+CodeDemos', 'ttbl0', 10)') the result is '1' so it
> is inconsistent considering the working of checkrow function.
>
> Otherwise, the 10th row of the GTK+ demo's tree has children so the
> expandtablecell should have worked.
>
> Anyway thanks for the good reaction time.
>
> Szilard
>>
>> Thanks
>> Nagappan
>>
>> On Fri, Apr 17, 2009 at 7:57 AM, Szilard Pfeiffer
>> <szilard.pfeiffer@... <mailto:szilard.pfeiffer@...>> wrote:
>>
>>     When I try to use the expandtablecell from python I get an
>> exception.
>>
>>     Command:
>>     expandtablecell('frmGTK+CodeDemos', 'ttbl0', 10)
>>
>>     Traceback:
>>      File "<stdin>", line 1, in <module>
>>      File "/var/lib/python-support/python2.5/ldtp.py", line 1173, in
>>     expandtablecell
>>        raise LdtpExecutionError (_responseStatus [1])
>>     ldtplib.ldtplibutils.LdtpExecutionError: 'Invalid response packet'
>>
>>     Versions:
>>     ldtp - 1.5.1
>>     GTK+ - 2.16.0
>>     Glib - 2.20.0
>>
>>     same problem with checkrow
>>
>>     Traceback:
>>      File "<stdin>", line 1, in <module>
>>      File "/var/lib/python-support/python2.5/ldtp.py", line 2677, in
>>     checkrow
>>        raise LdtpExecutionError (_responseStatus [1])
>>     ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to perform action'
>>
>>
>>     both of them (expandtablecell, checkrow) use the do_action in
>>     tree-table.c.
>>     _______________________________________________
>>     LDTP-dev mailing list
>>     LDTP-dev@...
>> <mailto:LDTP-dev@...>
>>     http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>>
>>
>>
>>
>> --
>> Linux Desktop (GUI Application) Testing Project -
>> http://ldtp.freedesktop.org
>> http://nagappanal.blogspot.com
>
>

_______________________________________________
LDTP-dev mailing list
LDTP-dev@...
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev



--
Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org
http://nagappanal.blogspot.com

_______________________________________________
LDTP-dev mailing list
LDTP-dev@...
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev