** Description changed: Clean flashed my phone and got a popup telling me there was a system update. It had "[34]" in the notification which seemed spurious. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: ubuntu-push-client 0.2+14.04.20140411-0ubuntu1 Uname: Linux 3.4.0-5-mako armv7l ApportVersion: 2.14.1-0ubuntu2 Architecture: armhf Date: Tue Apr 15 16:25:25 2014 InstallationDate: Installed on 2014-04-15 (0 days ago) InstallationMedia: Ubuntu 14.04 LTS - armhf (20140415.1) SourcePackage: ubuntu-push UpgradeStatus: No upgrade log present (probably fresh install) + + [Test Case] + + You need: + * a computer capable of running the ubuntu push server, with + * http://pastebin.ubuntu.com/7313803/ in a file called "broadcast.py" on it. + * a device using the stable image and that can talk to the computer over the network, with + * a shell running as the phablet user + + on the computer, do: + + mkdir -p test-case-1308145/src/launchpad.net + cd !$ + bzr branch lp:ubuntu-push + cd ubuntu-push + make bootstrap + sed -i~ -e 's/127.0.0.1//g' sampleconfigs/dev.json + make run-server-dev + + on the device, edit /etc/xdg/ubuntu-push-client/config.json (or copy it + to ~phablet/.config/ubuntu-push-client/config.json and edit it there) so + that "addr" points to the IP address of the computer, and port 9090; + something like + + "addr": "192.168.1.1:9090" + + (note there is no https:// as the hosts discovery step is being + skipped). + + Stop the push client, clear the levels database, and restart it: + + stop ubuntu-push-client + rm ~/.local/share/ubuntu-push-client/levels.db + start ubuntu-push-client + tail -f ~/.cache/upstart/ubuntu-push-client.log + + On the computer, while ensuring your device's screen is on, do + + python broadcast.py --no-https system '{"ubuntu-touch/trusty/mako": + [402, ""], "devel/mako": [402, ""]}' + + (that's a single line). You should see a popup on the device, with a + spurious and confusing number in brackets on it. + + [Regression Potential] + + I can't think of any.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1308145 Title: Supurious numbers in brackets in notifications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-push/+bug/1308145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs