[SailfishDevel] cannot deploy on emulator

Jarko Vihriala jarko.vihriala at jollamobile.com
Fri Apr 5 03:19:38 UTC 2013


You beat me to it. Anyway, it might also be a DNS thing, see

https://sailfishos.org/wiki/SDK_Alpha_Known_Issues#Emulator

-->
"If deployment fails with: "Could not connect to host: Timeout waiting 
for reply from server." then there is a problem with VirtualBox and DNS 
resolution. To fix either ssh in to the emulator as root or press 
right-ctrl+F2 and login as root/nemo. Then echo nameserver 8.8.8.8 > 
/etc/resolv.conf inside the emulator. (right-ctrl+F1 to get graphics back) "

I'll take a look at that timeout value update, seems like a good 
workaround as well.

thanks, Jarko

On 04/04/2013 01:09 PM, Wim de Vries wrote:
> Well, answering myself:
> QtCreator->Tools->Options->Devices I increased the time-out value to 
> 60secs.
> Now it works!
>
>
> Wim de Vries schreef op 2013-04-04 11:33:
>> Hi,
>>  Ubuntu 12.10 64bits.
>>  i am trying to build and deploy the mediagallery example, but it fails.
>>  When the emulator starts I see some some mounting errors related to
>> ext-fs, but it all flashes away...
>>  I can get the sailfish screen with ctrl-H.
>>
>>  See below the compile output.
>>  thanks.
>>
>> 11:31:21: Running steps for project mediagallery...
>>
>> 11:31:21: Starting:
>> "/home/wim/SailfishOS/share/qtcreator/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake" 
>>
>> /home/wim/SailfishOS/examples/SailfishOS/mediagallery/mediagallery.pro
>> -r -spec linux-g++-32 CONFIG+=debug CONFIG+=declarative_debug -after
>> OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc
>>
>> Project MESSAGE: Building with qdeclarative-boostable support
>>
>> 11:31:23: The process
>> "/home/wim/SailfishOS/share/qtcreator/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake" 
>>
>> exited normally.
>>
>> 11:31:23: Starting:
>> "/home/wim/SailfishOS/share/qtcreator/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make" 
>>
>> -w
>>
>> make: Entering directory
>> `/home/mersdk/SailfishOS/examples/SailfishOS/mediagallery'
>>
>> make: Nothing to be done for `first'.
>>
>> make: Leaving directory
>> `/home/mersdk/SailfishOS/examples/SailfishOS/mediagallery'
>>
>> 11:31:25: The process
>> "/home/wim/SailfishOS/share/qtcreator/MerProject/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make" 
>>
>> exited normally.
>>
>> 11:31:25: Checking whether to start Emulator...
>>
>> 11:31:25: Emulator is already running. Nothing to do.
>>
>> 11:31:25: Connecting to device...
>>
>> 11:31:35: Could not connect to host: Timeout waiting for reply from 
>> server.
>>
>> Did the emulator fail to start?
>>
>> 11:31:35: Deploy step failed.
>>
>> Error while building/deploying project mediagallery (kit:
>> MerSDK-SailfishOS-i486-x86)
>>
>> When executing step 'Start Emulator, if necessary'
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
> _______________________________________________
> SailfishOS.org Devel mailing list


-- 
We are #unlike.
Jolla Oy, http://www.jolla.com



More information about the Devel mailing list