issues while trying to run tests

Kapil Thangavelu kapil.thangavelu at canonical.com
Fri Jul 26 16:00:05 UTC 2013


For posterity, the issue was we have three unrevisioned deps for npm global
installation specified in the install docs. A recent update to
Mocha-phantomjs upstream (3.1) triggers this error, downgrading to 3.0.0
resolves the issue. Thanks to hatch for helping with the debug on irc.

cheers,

Kapil


On Wed, Jul 24, 2013 at 7:12 PM, Kapil Thangavelu <
kapil.thangavelu at canonical.com> wrote:

> Hi Folks,
>
> I was trying to go through the gui dev process for the first time in a
> while to submit a  bug fix. I walked through HACKING (ignoring all the refs
> to improv) for install instructs. Using lbox though i came up with a
> persistent error on either test-prod or test-debug.
>
> GET /test/test_subapp_app_extension.js 200 4ms - 4.29kb
> GET /test/test_tabview.js 200 5ms - 1.87kb
> GET /test/test_templates.js 200 4ms - 5kb
> GET /test/test_topology_utils.js 200 4ms - 2.74kb
> GET /test/test_unit_view.js 200 3ms - 11.63kb
> GET /test/test_utils.js 200 3ms - 32.4kb
> GET /test/test_viewlet_manager.js 200 3ms - 9.25kb
> GET /test/test_viewmode_controls_widget.js 200 3ms - 3.21kb
> GET /test/test_viewport_module.js 200 2ms - 5.21kb
> GET /test/test_websocket_logging.js 200 2ms - 3.76kb
> TypeError: 'undefined' is not an object (evaluating 'Mocha.process.stdout')
>
>   mocha-phantomjs/core_extensions.js:17
>   mocha-phantomjs/core_extensions.js:58
>
> Googling around found
> https://github.com/metaskills/mocha-phantomjs/issues/76
>
> Which references getting an updated version of mocha, and we have a
> version delta between mocha-phantomjs's embedded mocha version and mocha
> included in the app. (1.8.x vs 1.12)
>
> Just curious if anyone else had run into this and what the resolution was.
>
> thanks,
>
> Kapil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-gui/attachments/20130726/5475e3dd/attachment-0001.html>


More information about the Juju-GUI mailing list