Bug 79092

Summary: AttributeError: 'Parameters' object has no attribute '__dict__'
Product: piglit Reporter: Vinson Lee <vlee>
Component: infrastructureAssignee: Dylan Baker <baker.dylan.c>
Status: RESOLVED FIXED QA Contact: Eric Anholt <eric>
Severity: blocker    
Priority: medium CC: baker.dylan.c, chadversary, yi.sun
Version: unspecifiedKeywords: regression
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2014-05-22 23:11:54 UTC
piglit: 78996bff399fd380a2bbac73dcbfe366ae502483 (master)

[100%] Generating texture_lod_tests.list
Traceback (most recent call last):
  File "generated_tests/gen_texture_lod_tests.py", line 180, in <module>
    main()
  File "generated_tests/gen_texture_lod_tests.py", line 159, in main
    **params.__dict__))
AttributeError: 'Parameters' object has no attribute '__dict__'
Comment 1 Dylan Baker 2014-05-23 07:44:38 UTC
This is a python 2.6 specific problem, it works fine on 2.7. I'll send out a patch.
Comment 2 Dylan Baker 2014-05-23 07:54:59 UTC
I have sent a patch to the list to address this issue:
[PATCH] gen_texure_lod_tests.py: Fix python 2.6 compatibility
Comment 3 Vinson Lee 2014-05-23 17:30:37 UTC
The build fails with Python 2.7 as well.
Comment 4 Dylan Baker 2014-05-23 18:54:27 UTC
I just made a clean build of piglit with python 2.7.6 and it worked fine

git clean -fdx
cmake . -GNinja
ninja

works for me (tm)

Either way the patch mentioned should fix the problem.
Comment 5 Dylan Baker 2014-05-27 22:09:02 UTC
Fixed with commit 796f34749dc21ad96f6ac25ca94d403a0974581e on master

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.