Recipe source build fails with "AttributeError: 'NoneType' object has no attribute 'group'"

Asked by Sergey "Shnatsel" Davidoff on 2012-04-20

Recipe https://code.launchpad.net/~elementary-os/+recipe/software-center-daily fails to build with "AttributeError: 'NoneType' object has no attribute 'group'" in dh_clean, though it builds fine locally (with "debuild" on real system, not in pbuilder).
What am I doing wrong?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
William Grant
Solved:
2012-04-21
Last query:
2012-04-21
Last reply:
2012-04-21
Best William Grant (wgrant) said : #1

The regexp used to extract VERSION in your setup.py is too limited. It doesn't match the version string produced by the recipe -- it's missing +, for example.

Thanks! It's an upstream setup.py from Software Center. I'll try to [get somebody to] fix it and propose a patch upstream.

Thanks William Grant, that solved my question.