On 4/24/13, Mat Booth <[email protected]> wrote:
> On 19 February 2013 11:04, Gary Martin <[email protected]> wrote:
[...]
>>
>> The bh-demo2 suffers from the following bug which stops the Create Ticket
>> button working: https://issues.apache.org/bloodhound/ticket/399
>>
>> Cheers,
>>     Gary
>

Hi Matt !

> Hey,
>
> Do either of these instances have the XmlRpcPlugin installed? There
> doesn't seem to be response from the /xmlrpc and /rpc URIs.
>

JFTR , after running XmlRpcPlugin test suite without any modifications
(@ r12546) against our patched copy of Trac (@ trunk) there are no
major issues , even though the plugin uses some classes that will be
replaced in a real Bloodhound environment (which are not activated by
the plugins' test suite btw)

The actual problem comes after trying to upgrade it to activate
multi-product support since , at that time the upgrade procedure fails
in the absence of bhsearch plugin .

{{{
#!sh

$ python setup.py test -m tracrpc.tests
running test
running egg_info
writing TracXMLRPC.egg-info/PKG-INFO
writing top-level names to TracXMLRPC.egg-info/top_level.txt
writing dependency_links to TracXMLRPC.egg-info/dependency_links.txt
writing entry points to TracXMLRPC.egg-info/entry_points.txt
writing TracXMLRPC.egg-info/PKG-INFO
writing top-level names to TracXMLRPC.egg-info/top_level.txt
writing dependency_links to TracXMLRPC.egg-info/dependency_links.txt
writing entry points to TracXMLRPC.egg-info/entry_points.txt
reading manifest file 'TracXMLRPC.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'TracXMLRPC.egg-info/SOURCES.txt'
running build_ext

Found Trac source: /path/to/bloodhound/trac
Disabling Trac components overriden by Bloodhound...
Enabling Bloodhound multi-product plugin...
Upgrading to multi-product environment ...
Enabling RPC plugin and permissions...
TracError: The Trac Environment needs to be upgraded.

Run "trac-admin /path/to/bloodhound_rpc/trunk/rpctestenv/trac upgrade"

Traceback (most recent call last):
  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/__init__.py", line
78, in <module>
    '8765', 'http://127.0.0.1')
  File "/path/to/bloodhound/trac/trac/tests/functional/testenv.py",
line 60, in __init__
    self.create()
  File "/path/to/bloodhound/trac/trac/tests/functional/testenv.py",
line 138, in create
    self.post_create(env)
  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/__init__.py", line
55, in post_create
    self._tracadmin('permission', 'add', 'anonymous', 'XML_RPC')
  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/__init__.py", line
72, in _tracadmin
    SvnFunctionalTestEnvironment._tracadmin(self, *args, **kwargs)
  File "/path/to/bloodhound/trac/trac/tests/functional/testenv.py",
line 159, in _tracadmin
    'with %r' % (proc.returncode, args))
Exception: Failed with exitcode 2 running trac-admin with
('permission', 'add', 'anonymous', 'XML_RPC')
Trac test infrastructure not available.
Install Trac as 'python setup.py develop' (run Trac from source).


Stopping web server...


----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK


$ trac-admin /path/to/bloodhound_rpc/rpctestenv/trac/ upgrade
The upgrade failed. Please fix the issue and try again.

ImportError: No module named bhsearch

}}}

Could you please confirm that MP support may be enabled in a
deployment without bhsearch activated ?

PS: In test stuo code I do trigger the trac-admin upgrade command but
it fails silently .

-- 
Regards,

Olemis.

Reply via email to