← Back to team overview

ubuntu-phone team mailing list archive

Re: basename: missing operand

 

Hi,

I think I'm in the same situation, the emulators just don't start after
eating all my CPU for a while.
I thought it was because of my limited hardware on vivid, but with your
message it seems it's in the emulators themselves.

It's really an issue for an app developers, for now I'm testing my
developments only against the desktop mode. I've a bq 5, but it's my main
phone and I don't want to screw it by testing apps on it.

Let's see how it goes. If one can also let us how we can help, that would
be great!




2016-06-19 0:23 GMT+02:00 Unix One <unix1@xxxxxxxx>:

> Hello,
>
> Has no one else encountered this, am I missing something obvious, or
> maybe I didn't provide enough details, or maybe this isn't the right
> list to ask this question?
>
> Here are some more details just in case:
> - the host is 16.04 fresh install
> - hardware: Dell XPS 13 9350 with Intel HD graphics
> - I followed SDK installation steps here:
> https://developer.ubuntu.com/en/phone/platform/sdk/installing-the-sdk/
> - I followed emulator creation/start instructions in the links I already
> provided
> - I tried creating emulators for armhf with both development and stable
> channels, e.g. sudo ubuntu-emulator create myinstance
> - and then try to run it with: ubuntu-emulator run myinstance
>
> Here's the `ubuntu-emulator list` output, which lists 3 different
> instances I tried:
> $ ubuntu-emulator list
> myinstance      ubuntu=20151127,device=20150910,custom=20151127,version=2
> testarm
> ubuntu=20160506,device=20160401.1,custom=20160506,tag=OTA-10.1,version=19
> testarm2        ubuntu=20151127,device=20150910,custom=20151127,version=2
>
> I'd be extremely grateful if someone could help or at least point me in
> the right direction.
>
> Thank you!
>
> On 06/16/2016 07:40 AM, Unix One wrote:
> > Hello,
> >
> > I'm new to Ubuntu Touch development and setting up the SDK, and I feel a
> > bit dumb unable to get the emulator to launch successfully. It starts
> > with the new window, and after few minutes hangs consuming 100% of a CPU
> > core, with these last few lines in the log:
> >
> > [   54.540000] systemd-logind[942]: New seat seat0.
> > [   54.990000] init: force-adb pre-start process (627) terminated with
> > status 1
> > [   56.390000] eth0: no IPv6 routers present
> > [   64.250000] systemd-logind[942]: Failed to start user service:
> > Unknown unit: user@0.service
> > [   65.600000] systemd-logind[942]: New session c1 of user root.
> > [   72.560000] init: ssh-keygen main process (1289) terminated with
> status 1
> > [   76.900000] init: failsafe main process (1073) killed by TERM signal
> > [   81.850000] systemd-logind[942]: Failed to start user service:
> > Unknown unit: user@32011.service
> >    * Setting up X socket directories...
> >     [ OK ]
> > /lib/init/init-d-script: 12: /etc/rc2.d/S02whoopsie: -c: not found
> > basename: missing operand
> > Try 'basename --help' for more information.
> >
> > I've tried both
> > https://wiki.ubuntu.com/Touch/Emulator
> > and now
> >
> https://developer.ubuntu.com/en/blog/2016/06/14/calling-testers-new-ubuntu-sdk-ide-post/
> > with the same result.
> >
> > Searching for answers I found:
> >
> http://askubuntu.com/questions/725085/running-ubuntu-touch-emulator-failing
> > (unanswered)
> >
> https://bugs.launchpad.net/ubuntu-rtm/+source/lxc-android-config/+bug/1458043
> > (saying it's fixed in overlay)
> >
> > Is it known/expected that following the instructions in emulator wiki
> > will land me in this state? Should I be using the overlay? Or am I
> > missing something else?
> >
> > Thank you!
> >
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>



-- 
http://krampstudio.com
http://github.com/krampstudio
https://twitter.com/kramp

Follow ups

References