Closed xsuchy closed 8 years ago
Beg me pardon. I think you just masked the issue. The real problem is in metadata_extractors.py:
contains_conf_py = len(self.archive.get_files_re(
r'{0}/conf.py'.format(d), full_path=True))
So you are interpreting directory name as regular expression.
I'm not sure what means 'multiple repeat', but you can demonstrate the problem with:
import re
d="("
re.compile(r'{0}/conf.py'.format(d))
which yields similar error.
and multiple repeat can be reproduced with
d="p++"
See http://stackoverflow.com/questions/19942314/python-multiple-repeat-error
I've noticed what is the origin of the problem, there is already a lot of heuristic in sphinx_dir method so I thought it was alright to skip some of the directories if it can't be used as an regex. 49014c298b8a120019f689eaaf is probably better way how to fix the issue.