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

Asked by Sergey "Shnatsel" Davidoff

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:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) said :
#2

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

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) said :
#3

Thanks William Grant, that solved my question.