#493: Installation error due to search
------------------------+--------------------
  Reporter:  gjm        |      Owner:  nobody
      Type:  defect     |     Status:  new
  Priority:  major      |  Milestone:
 Component:  dashboard  |    Version:  0.5.2
Resolution:             |   Keywords:
------------------------+--------------------

Old description:

> As reported by marcomangiante via email:
>
> {{{
> Traceback (most recent call last):
>   File "bloodhound_setup.py", line 410, in <module>
>     bsetup.setup()
>   File "bloodhound_setup.py", line 236, in setup
>     'default-pages'))
>   File "/opt/apache-bloodhound-
> incubating-0.5.2/installer/bloodhound/local/lib/python2.7/site-
> packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 903, in
> resource_filename
>     return get_provider(package_or_requirement).get_resource_filename(
>   File "/opt/apache-bloodhound-
> incubating-0.5.2/installer/bloodhound/local/lib/python2.7/site-
> packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 213, in
> get_provider
>     __import__(moduleOrReq)
> ImportError: No module named bhsearch
> }}}

New description:

 As reported by marcomangiante via email:

 {{{
 Traceback (most recent call last):  File "bloodhound_setup.py", line 410,
 in <module>    bsetup.setup()  File "bloodhound_setup.py", line 236, in
 setup    'default-pages'))  File "/opt/apache-bloodhound-
 incubating-0.5.2/installer/bloodhound/local/lib/p
 ython2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line
 903,
 in resource_filename    return
 get_provider(package_or_requirement).get_resource_filename(  File "/opt
 /apache-bloodhound-incubating-0.5.2/installer/bloodhound/local/lib/p
 ython2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line
 213,
 in get_provider    __import__(moduleOrReq)ImportError: No module named
 bhsearch
 }}}

--

Comment (by andrej):

 My suggestion is to remove {{{
         pages.append(pkg_resources.resource_filename('bhsearch',
                                                  'default-pages'))
 }}}} from bloodhound_setup.py for 0.5.x releases

 New releases from trunk will already have bhsearch fixed in
 requirements.txt and bloodhound_setup.py

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/493#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to