module "Ubuntu.WebApps" is not installed block html5 app

Bug #1518532 reported by eric brinsfield
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Client Developer Experience
In Progress
Critical
Zoltan Balogh
Ubuntu HTML5 UI SDK
In Progress
Critical
Alexandre Abreu
Ubuntu SDK IDE
Confirmed
Critical
Zoltan Balogh
unity-webapps-qml
New
Undecided
Unassigned

Bug Description

I keep getting this error when trying to run an app in ubuntu sdk. Everything that I know of is installed on Ubuntu 14.04

Starting /usr/bin/ubuntu-html5-app-launcher...
Setting import path to: /home/eric/workspace/myApp/www/../lib/x86_64-linux-gnu
file:///usr/share/ubuntu-html5-app-launcher/qml/main.qml:21:1: module "Ubuntu.WebApps" is not installed
     import Ubuntu.WebApps 0.1
     ^
Main application component cannot be loaded.
/usr/bin/ubuntu-html5-app-launcher exited with code 1

Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :

Can anyone help to fix this issue? I cannot run a template html 5 app under "Ubuntu SDK Desktop Kit". I come out the same error as shown as above.

** (ubuntu-html5-app-launcher:25128): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Setting import path to:
file:///usr/share/ubuntu-html5-app-launcher/qml/main.qml:21:1: module "Ubuntu.WebApps" is not installed
     import Ubuntu.WebApps 0.1
     ^
Main application component cannot be loaded.

Thanks & best regards,
XiaoGuo

Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :

Developers cannot run a html5 template app.

affects: unity-webapps-qml → ubuntu-sdk-ide
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

The ubuntu-html5-theme package is not in the SDK release PPA so no updates are being provided for older releases?
Its working on WIly but the version is 0.1.2+15.10.20150604-0ubuntu2~gcc5.1 from the wily archive (whats with the gcc5.1?)
The latest is 0.1.2+16.04.20160203-0ubuntu1

I also noticed that the main.qml has these imports which seem dated but perhaps doesn't matter
import QtQuick 2.0
import Ubuntu.Components 0.1
import Ubuntu.WebApps 0.1

Changed in ubuntu-html5-theme:
assignee: nobody → Alexandre Abreu (abreu-alexandre)
importance: Undecided → Critical
status: New → Confirmed
Changed in ubuntu-sdk-ide:
assignee: nobody → Zoltan Balogh (bzoltan)
importance: Undecided → Critical
status: New → Confirmed
Changed in canonical-developer-experience:
assignee: nobody → Zoltan Balogh (bzoltan)
importance: Undecided → Critical
status: New → Confirmed
summary: - module "Ubuntu.WebApps" is not installed
+ module "Ubuntu.WebApps" is not installed block html5 app
Revision history for this message
Zoltan Balogh (bzoltan) wrote :

The comment from #1 (https://bugs.launchpad.net/canonical-developer-experience/+bug/1518532/comments/1) is not valid. The Ubuntu Desktop Kit is not designed to serve as fully functional runtime Kit. It is made to provide the UI and some Qt APIs not the whole platform API set.

The HTML5 development dependencies are ready in the Staging PPA and will be released togethe with the new ubuntu-sdk meta package this week.

Changed in canonical-developer-experience:
status: Confirmed → In Progress
Changed in ubuntu-html5-theme:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.