*CAUSE:*

This error has happened because of new pip 6.1.1 release. In this release
they have remove the attribute "*url*" and used "*link*" in that place, so,
devstack guys who were using "*url*" in the "*openstack/requirements*"
project also need to change the variable. And I think you don't have the
updated "*openstack/requirements*" project.

*SOLUTION:*

​Following steps you can use to solve this issue:

1. Do ./unstack.sh
2. Go to /op​t/stack/ and delete the requirements folder.
3. Go to devstack folder and run stack.sh again.

On Thu, Apr 9, 2015 at 3:46 PM, Deepika Agrawal <deepika...@gmail.com>
wrote:

> This is the full log :-
>  python update.py /opt/stack/keystone
> Traceback (most recent call last):
>   File "update.py", line 274, in <module>
>     main(options, args)
>   File "update.py", line 259, in main
>     _copy_requires(options.suffix, options.softupdate, args[0])
>   File "update.py", line 219, in _copy_requires
>     source_reqs = _parse_reqs('global-requirements.txt')
>   File "update.py", line 140, in _parse_reqs
>     reqs[_parse_pip(pip)] = pip
>   File "update.py", line 101, in _parse_pip
>     elif install_require.url:
>   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py",
> line 128, in url
>     return self.link.url
> AttributeError: 'NoneType' object has no attribute 'url'
>
> On Thu, Apr 9, 2015 at 3:03 PM, Abhishek Shrivastava <
> abhis...@cloudbyte.com> wrote:
>
>> Can you give the full log.
>>
>>
>> On Thu, Apr 9, 2015 at 2:57 PM, Deepika Agrawal <deepika...@gmail.com>
>> wrote:
>>
>>> hi guys!
>>> i am geting attribute error "nonetype has no attribute URL" in python
>>> update.py /opt/stack/keystone when i am going to run stack.sh.
>>>  Please help!
>>> --
>>> Deepika Agrawal
>>>
>>>
>>>
>>> __________________________________________________________________________
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>>
>> --
>>
>>
>> *Thanks & Regards,*
>> *Abhishek*
>> *Cloudbyte Inc. <http://www.cloudbyte.com>*
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
> Deepika Agrawal
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 


*Thanks & Regards,*
*Abhishek*
*Cloudbyte Inc. <http://www.cloudbyte.com>*
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to