On Thu, Aug 2, 2012 at 8:00 AM, hagenp <
hagen....@gmail.com> wrote:
> Unfortunately I am not a repo/Python expert, and also can't push this for
> review myself.
> Could someone knowledgeable please confirm and maybe push? Thanks! -hagenp
>
> Symptom:
> When you try to do a "repo init" or "repo sync" with a non-AOSP mirror, you
> get a Traceback ending in
>>
>> File ".../mirror/.repo/repo/manifest_xml.py", line 57, in
>> _resolveFetchUrl
>> manifestUrl = self.manifestUrl.rstrip('/')
>> AttributeError: 'NoneType' object has no attribute 'rstrip'
>
> (In my case, I set up a Linaro mirror and got this problem. Repro command
> line:
> repo init -u git://
android.git.linaro.org/platform/manifest.git --mirror
>
>
> Quickfix: change .repo/repo/manifest_xml.py line 435
> from
>>
>> remote = _XmlRemote('origin', m_url[:s], manifestUrl)
>
> to
>>
>> remote = _XmlRemote(name = 'origin', fetch = m_url[:s], manifestUrl =
>> manifestUrl)
Thanks for the detailed problem report. I think this is now fixed in 1.10.2.