We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

How to install missing pyotherside on a Sailfish phone?

asked 2019-03-17 13:01:14 +0300

jsommer gravatar image

updated 2019-03-17 13:26:49 +0300

It just tried to install our prototype on the Accione and Accione P test devices for our focus group and realised the following error:

module "io.thp.pyotherside" is not installed 
    import io.thp.pyotherside 1.4

Maybe another or no version of pyotherside is installed on that devices. Which terminal command can I use to check the installed library? And how can I install the version, that is working for ohter Sailfish test devices?

On the the Accione Model (without the P), that I couldn't update to Sailfish 3.0.1.11, I get further errors:

library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found

After starting the app, the debug console shows a very long list of warnings:

undefined symbol: eglSignalSyncKHR
undefined symbol: eglCreateStreamKHR
undefined symbol: eglDestroyStreamKHR
undefined symbol: eglStreamAttribKHR
undefined symbol: eglQueryStreamKHR
...

I think this is related to the last mentioned library. The Sailfish OS release is 2.2.0.29. I think this is a special partner relase for Jala.

edit retag flag offensive close delete

Comments

Thanks so much. This helped.

ASccording the second part of my question: Our app seem to work although the library is not found on the Accione. I have to make further tests to be sure.

jsommer ( 2019-03-17 18:52:01 +0300 )edit

3 Answers

Sort by » oldest newest most voted
4

answered 2019-03-17 17:02:45 +0300

olf gravatar image

updated 2019-03-17 17:11:54 +0300

Trying to upgrade from SailfishOS 2.2.0.29 to 3.0.1.11 omits installing the "stop release" 3.0.0.8!
Don't do that.

Using the GUI or sfos-upgrade (at the command line) to upgrade SailfishOS avoids this and other pitfalls blindly issuing ssu re <version> && version --dup bears.

edit flag offensive delete publish link more

Comments

Thansk for your comment. Unfortunately no Sailfish 3 update is available, yet. You say, that incemental updates are necessar, so that you have to update from majer release to major release? I haven't done this for the Intex Aqua Fish devices we have without any problems.

jsommer ( 2019-03-17 18:53:49 +0300 )edit

@jsommer, please read the answers thoroughly and follow their embedded web-links.

olf ( 2019-03-18 00:22:03 +0300 )edit

@olf. Sure. Thanks for your answer. I think, my question for confirmation was correct, wasn’t it? I think my wording „major release“ was confusing. I usually mean the first digit of a release number, but I meant the officially published releases, that you name stop release.

jsommer ( 2019-03-18 10:13:32 +0300 )edit

No, "stop releases" solely addresses Jolla's "stop releases", but not "major releases" with different "first digit of a release number" and also not "officially published releases" or anything else!

olf ( 2019-03-18 15:56:50 +0300 )edit
4

answered 2019-03-17 19:16:48 +0300

coderus gravatar image

updated 2019-03-17 19:17:13 +0300

Installing availabble packages manually is a bad habit.

You should add to your app yaml or spec

Requires: pyotherside-qml-plugin-python3-qt5

edit flag offensive delete publish link more
3

answered 2019-03-17 16:34:00 +0300

olf gravatar image

pkcon install pyotherside

Pyotherside is in the Jolla repository as of SailfishOS 2.2.1, which was the first release integrating Jolla's mer-tools repository.
So if a pkcon search name pyotherside yields no hit on SFOS 2.2.0, add the mer-tools repo by issuing ssu ar mer-tools

And as always after altering the repository configuration, do not miss to issue a pkcon refresh

edit flag offensive delete publish link more

Comments

1

P.S.: This answer was only provided to show that pyotherside is available and installable.

I absolutely concur with @coderus' answer in this thread, that it is extremely bad style to use pkcon, rpm etc. to install dependencies of a package: This shall be done by properly defining such dependencies in the applications' Spec- / YAML-file.

olf ( 2019-03-18 00:28:08 +0300 )edit

@olf. Thanks for your plausible comment. I’m using that approach in Java, Swift and Objective-C projects. With your advice I can do this for the Qt/QML project either.

jsommer ( 2019-03-18 10:17:04 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2019-03-17 13:01:14 +0300

Seen: 669 times

Last updated: Mar 17 '19