Skip to content

A problem of SemanticResolution #2

@guyul

Description

@guyul

I got this problem when I using UiRef (after extracting the layouts), could you please tell me how to figure it out?

Starting /ext/layouts/com.fueneco.talking.photos/layouts/com.fueneco.talking.photos_7f03000a.xml
Starting /ext/layouts/com.fueneco.talking.photos/layouts/com.fueneco.talking.photos_7f030006.xml
Avg time = 13.923076923076923 total = 181.0 13
Running UiRef
Loaded 13 layouts
Traceback (most recent call last):
File "/src/SemanticResolution/SemanticsResolver.py", line 234, in
main()
File "/src/SemanticResolution/SemanticsResolver.py", line 227, in main
resVals = resolver.resolveLayout(apk, viewHierarchy)
File "/src/SemanticResolution/SemanticsResolver.py", line 119, in resolveLayout
for v in viewHierarchy.getOrdered():
File "/src/SemanticResolution/LayoutParser.py", line 103, in getOrdered
sorted_vals = sorted([(v.t, v.l, v) for v in self.hierarchy if v.counter not in labelIds])
TypeError: '<' not supported between instances of 'ViewObject' and 'ViewObject'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions