← Back to team overview

ubuntu-phone team mailing list archive

Re: Running uNav locally

 


On 19.04.2016 16:26, Matthias Apitz wrote:
> El día Tuesday, April 19, 2016 a las 02:00:30PM +0200, Cesar Herrera escribió:
> 
>> I've seen this:
>> http://www.mail-archive.com/ubuntu-phone@xxxxxxxxxxxxxxxxxxx/msg19225.html
>> But it doesn't work for me.
>> So, I've done two scripts and runned them in two windows.
>> In the first one:
>> cd /media/phablet/*/Maps
>> python3 -m http.server 8888 &
>>
>> In the second:
>> cd /userdata/system-data/opt/click.ubuntu.com/navigator.costales/current
>> qmlscene %u qml/Main.qml
>>
>> Then I have this error:
>> Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
>> UbuntuClientIntegration: connection to Mir ser is
>> running, and the correct socket is being usehave
>> rejected the incoming connection, so check i
>> Aborted
>> If I try with webapp in 0.0.0.0:8888 I see the maps.
>> But I don't know how to do it.
>> Cheers,
>> Cesar 		 	   		  
> 
> Three comments on this:
> - Please try sending ASCII and not HTML mails.
> - You can not launch a UI app from a terminal, at least I never found a
>   way to do so. It can not connect this way to the Mir server.

just pass "--desktop_file_hint=/usr/share/applications/some-app.desktop"
as argument and it will work.

> - You must follow what was written in the above referenced mail and even
>   than it will not work, because it needs a tweaked index.html file for
>   uBav. Please vote for the issue in LP.
> 
> 	matthias
> 

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References