[Touch-packages] [Bug 1525147] Re: webapp-container needs some help

2016-07-20 Thread Peter Bittner
The call to `printUsage()` happens in
`BrowserApplication::initialize()`, which is after the constructor has
been called. The base class `QApplication` seems to require a Mir server
(or X server) running.

Conclusion
--

- In order to be able to print the usage on the console without
requiring a Mir server this call needs to be made before the constructor
is called.

- It may also be a good idea to check all the command line arguments and
reject invalid ones. (Is there no module available for this, similar to
Python's argparse? Can we use QCommandLineParser?
http://doc.qt.io/qt-5/qcommandlineparser.html)

References
--

- 
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/webbrowser-app/wily/view/head:/src/app/browserapplication.cpp#L121
- 
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/webbrowser-app/wily/view/head:/src/app/browserapplication.cpp#L42
- http://doc.qt.io/qt-5/qcommandlineparser.html

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1525147

Title:
  webapp-container needs some help

Status in webapps-sprint:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  webapp-container doesn't provide much help on the command line:

  $ webapp-container 
  Could not open manifest file:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json" 
  Invalid webapps installation found:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon" 
  Using Oxide as the web engine backend 
  QQmlComponent: Component destroyed while completion pending

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1525147] Re: webapp-container needs some help

2016-06-29 Thread David Barth
** Changed in: webapps-sprint
Milestone: sprint-20 => backlog

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1525147

Title:
  webapp-container needs some help

Status in webapps-sprint:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  webapp-container doesn't provide much help on the command line:

  $ webapp-container 
  Could not open manifest file:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json" 
  Invalid webapps installation found:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon" 
  Using Oxide as the web engine backend 
  QQmlComponent: Component destroyed while completion pending

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1525147] Re: webapp-container needs some help

2016-03-18 Thread David Barth
** Changed in: webapps-sprint
Milestone: sprint-19 => sprint-20

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1525147

Title:
  webapp-container needs some help

Status in webapps-sprint:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  webapp-container doesn't provide much help on the command line:

  $ webapp-container 
  Could not open manifest file:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json" 
  Invalid webapps installation found:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon" 
  Using Oxide as the web engine backend 
  QQmlComponent: Component destroyed while completion pending

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1525147] Re: webapp-container needs some help

2016-03-07 Thread Peter Bittner
Currently, it's not possible to show `--help` neither in the Terminal
app nor in an SSH session connected to the phone.

   $ webapp-container --help
   Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
   UbuntuClientIntegration: connection to Mir server failed. Check that a Mir 
server is
   running, and the correct socket is being used and is accessible. The shell 
may have
   rejected the incoming connection, so check its log file
   Aborted (core dumped)

Looks like the webapp-container binary requires a successful connection
to the Mir server. This should not be required, I believe.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1525147

Title:
  webapp-container needs some help

Status in webapps-sprint:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  webapp-container doesn't provide much help on the command line:

  $ webapp-container 
  Could not open manifest file:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json" 
  Invalid webapps installation found:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon" 
  Using Oxide as the web engine backend 
  QQmlComponent: Component destroyed while completion pending

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1525147] Re: webapp-container needs some help

2016-02-22 Thread David Barth
** Changed in: webapps-sprint
Milestone: sprint-18 => sprint-19

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1525147

Title:
  webapp-container needs some help

Status in webapps-sprint:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  webapp-container doesn't provide much help on the command line:

  $ webapp-container 
  Could not open manifest file:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json" 
  Invalid webapps installation found:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon" 
  Using Oxide as the web engine backend 
  QQmlComponent: Component destroyed while completion pending

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1525147] Re: webapp-container needs some help

2016-01-26 Thread David Barth
** Changed in: webapps-sprint
Milestone: sprint-17 => sprint-18

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1525147

Title:
  webapp-container needs some help

Status in webapps-sprint:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  webapp-container doesn't provide much help on the command line:

  $ webapp-container 
  Could not open manifest file:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json" 
  Invalid webapps installation found:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon" 
  Using Oxide as the web engine backend 
  QQmlComponent: Component destroyed while completion pending

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1525147] Re: webapp-container needs some help

2016-01-26 Thread David Barth
** Changed in: webapps-sprint
 Assignee: (unassigned) => David Barth (dbarth)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1525147

Title:
  webapp-container needs some help

Status in webapps-sprint:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  webapp-container doesn't provide much help on the command line:

  $ webapp-container 
  Could not open manifest file:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json" 
  Invalid webapps installation found:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon" 
  Using Oxide as the web engine backend 
  QQmlComponent: Component destroyed while completion pending

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1525147] Re: webapp-container needs some help

2015-12-11 Thread Olivier Tilloy
Actually, it does, if invoked with "-h" or "--help":

$ webapp-container --help
Usage: webapp-container [-h|--help] [--fullscreen] [--maximized] [--inspector] 
[--app-id=APP_ID] [--homepage=URL] [--webapp=name] [--name=NAME] [--icon=PATH] 
[--webappModelSearchPath=PATH] [--webappUrlPatterns=URL_PATTERNS] 
[--accountProvider=PROVIDER_NAME] [--accountSwitcher] [--enable-back-forward] 
[--enable-addressbar] [--store-session-cookies] 
[--user-agent-string=USER_AGENT] [URL]
Options:
  -h, --help  display this help message and exit
  --fullscreendisplay full screen
[…]

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1525147

Title:
  webapp-container needs some help

Status in webapps-sprint:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  webapp-container doesn't provide much help on the command line:

  $ webapp-container 
  Could not open manifest file:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json" 
  Invalid webapps installation found:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon" 
  Using Oxide as the web engine backend 
  QQmlComponent: Component destroyed while completion pending

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Touch-packages] [Bug 1525147] Re: webapp-container needs some help

2015-12-11 Thread David Barth
yes, i know; that was just to make it a bit more friendly on first
encounter ;)

On Fri, Dec 11, 2015 at 11:33 AM, Olivier Tilloy <
olivier.til...@canonical.com> wrote:

> Actually, it does, if invoked with "-h" or "--help":
>
> $ webapp-container --help
> Usage: webapp-container [-h|--help] [--fullscreen] [--maximized]
> [--inspector] [--app-id=APP_ID] [--homepage=URL] [--webapp=name]
> [--name=NAME] [--icon=PATH] [--webappModelSearchPath=PATH]
> [--webappUrlPatterns=URL_PATTERNS] [--accountProvider=PROVIDER_NAME]
> [--accountSwitcher] [--enable-back-forward] [--enable-addressbar]
> [--store-session-cookies] [--user-agent-string=USER_AGENT] [URL]
> Options:
>   -h, --help  display this help message and exit
>   --fullscreendisplay full screen
> […]
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1525147
>
> Title:
>   webapp-container needs some help
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1525147

Title:
  webapp-container needs some help

Status in webapps-sprint:
  Confirmed
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  webapp-container doesn't provide much help on the command line:

  $ webapp-container 
  Could not open manifest file:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json" 
  Invalid webapps installation found:  
"/usr/share/unity-webapps/userscripts/unity-webapps-amazon" 
  Using Oxide as the web engine backend 
  QQmlComponent: Component destroyed while completion pending

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1525147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp