Bug 79092 - AttributeError: 'Parameters' object has no attribute '__dict__'
Summary: AttributeError: 'Parameters' object has no attribute '__dict__'
Status: RESOLVED FIXED
Alias: None
Product: piglit
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium blocker
Assignee: Dylan Baker
QA Contact: Eric Anholt
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-05-22 23:11 UTC by Vinson Lee
Modified: 2014-05-27 22:09 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.