tronfortytwo / ontheroad Goto Github PK
View Code? Open in Web Editor NEWDevelopment tool for Ubuntu Touch
License: GNU General Public License v3.0
Development tool for Ubuntu Touch
License: GNU General Public License v3.0
I tried to fix that in my fork https://github.com/delijati/OnTheRoad but unfortunately i could not find the reason. If i remove everything except the Button
it works. So something is overlapping it i could not figure out what.
When setting up a clickable in a container on my Meizu Pro 5 running OTA-3 the installation of python-minimal fails with: awk: command not found.
While the mawk package is installed, it does not seem to provide the awk command, at least not in any directory in $PATH.
The work around for me was dropping into a bash prompt in the container and giving apt install original-awk
, then selecting the choice to set up clickable again.
I do not know if this issue is also present in a xenial container.
Use something like:
APP_ID = "xx-qml.foo"
if os.environ.get('XDG_DATA_HOME'):
DIR = os.path.join(os.environ['XDG_DATA_HOME'], APP_ID)
If we install directly from bash
(in a chroot) the corresponding file is not updated, so the apps are not listed in the scope
$ cat ~/.local/share/libertine/ContainersConfig.json
{
"containerList": [
{
"InstallStatus": "ready",
"InstalledApps": [],
"distro": "vivid",
"id": "conlibe",
"multiarch": "disabled",
"name": "OnTheRoad-conlibe",
"type": "chroot"
}
],
"defaultContainer": "conlibe"
}
Even if the ssh connection fails, otr-ssh
reports a successful connection. Example for #5:
------------------------------------------
NOW YOU ARE INSIDE THE APPARMOR-FREE SHELL
Now you can run 'otr'.
You can go back to the normal shell with 'exit'
------------------------------------------
Permission denied (publickey).
phablet@ubuntu-phablet:~$
I have no idea how to help or give you more information so you tell me what to do and I'll gladly do it!
I ran otr
for the first time, downloaded the binary, and created a container named ubports
. When I got back to the main menu, I wanted to use the container so I selected that option and, instead of listing the created containers, it output the following:
Traceback (most recent call last):
File "/usr/bin/libertine-container-manager", line 313, in <module>
container_manager = LibertineContainerManager()
File "/usr/bin/libertine-container-manager", line 35, in __init__
self.containers_config = ContainersConfig()
File "/usr/lib/python3/dist-packages/libertine/ContainersConfig.py", line 64, in __init__
self.refresh_database()
File "/usr/lib/python3/dist-packages/libertine/ContainersConfig.py", line 167, in refresh_database
self.container_list = read_container_config_file()
File "/usr/lib/python3/dist-packages/libertine/ContainersConfig.py", line 31, in read_container_config_file
container_list = json.load(fd)
File "/usr/lib/python3.4/json/__init__.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 12 column 5 (char 288)
Like I said, I'll help in any way I can, I just don't have the first idea of how other than posting this report with the error.
On my device the initial setup fails after issuing otr-ssh
for the first time with the error Permission denied (publickey)
. I think the reason for this is that is that i already had ssh keys on my device, but even after removing .ssh/
, running otr-ssh
errors out, so i might have fucked up some configs. If i have time i'll do more digging, but maybe you have an idea.
Thanks, and keep up the good work :)
Step to reproduce:
Create a container
SSH to it and run the following command. (Not sure which package really causes the issue)
apt-get install apt-utils build-essential cmake dpkg-cross fakeroot libc-dev isc-dhcp-client net-tools ifupdown g++ pkg-config ubuntu-sdk-libs ubuntu-sdk-libs-dev ubuntu-sdk-libs-tools oxideqt-codecs-extra qt5-doc language-pack-en click intltool python2.7 git cookiecutter
Towards the end of installing and configuring, an error appears related to python2.7-minimal.
Device:
Nexus 5
Other observations/comments:
This does not happen in a container created via Libertine.
These packages by the way are needed for clickable to work directly on the device.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.