can you provide some longs ?
the standard question.
i get the jolla page only on exceptions.
so getting the jolla page means somethings got fucked.
I only ever get the Jolla page. Thatâs with an install from chum:testing.
I understand, maybe if you start it from cmdline we will see something like missing dependencies or some error
i install the app from chum or locally built but my phone is not pristine (package wise)
Here is the log. I started the application and tried to log in.
[defaultuser@Fairphone4 ~]$ /usr/bin/sailfish-qml harbour-tidalplayer
[D] unknown:0 - Using Wayland-EGL
[D] unknown:0 - Got library name: â/usr/lib64/qt5/qml/io/thp/pyotherside/libpyothersideplugin.soâ
[W] unknown:90 - file:///usr/share/harbour-tidalplayer/qml/pages/FirstPage.qml:90:9: QML SlideshowView: Cannot anchor to an item that isnât a parent or sibling.
[D] isTokenValid:53 - -1
[D] checkAndLogin:43 - old token invalid
[D] loginIn:462 -
[W] unknown:0 - QQmlContext: Cannot set context object on invalid context.
[W] unknown:0 - QQmlComponent: Cannot create a component in an invalid context
[W] unknown:0 - QQmlContext: Cannot set context object on invalid context.
[W] unknown:0 - QQmlComponent: Cannot create a component in an invalid context
[W] unknown:0 - QQmlContext: Cannot set context object on invalid context.
[W] unknown:0 - QQmlComponent: Cannot create a component in an invalid context
[D] :126 - Playlistmanager module imported successfully
[D] :132 - Starting playlist manager
[D] generateList:390 - Playlist changed from main.qml
[D] generateList:220 - Generate current database
[D] getSize:158 - Playlist size: 0
[D] generateList:222 - current size 0
[D] expression for onListChanged:403 - update playlist
[D] expression for onListChanged:405 - update current playlist
[D] unknown:0 - âPyOtherSide error: Traceback (most recent call last):\n\n File "/usr/share/harbour-tidalplayer/qml/tidal.py", line 8, in \n import tidalapi\n\n File "/usr/share/harbour-tidalplayer/python/tidalapi/init.py", line 6, in \n from .artist import Artist, Role # noqa: F401\n\n File "/usr/share/harbour-tidalplayer/python/tidalapi/artist.py", line 28, in \n from typing_extensions import NoReturn\n\n File "/usr/share/harbour-tidalplayer/python/typing_extensions.py", line 490, in \n class _SpecialGenericAlias(typing._SpecialGenericAlias, _root=True):\n\nAttributeError: module âtypingâ has no attribute â_SpecialGenericAliasâ\nâ
[W] unknown:0 - Unhandled PyOtherSide error: Cannot import module: tidal (Traceback (most recent call last):
File â/usr/share/harbour-tidalplayer/qml/tidal.pyâ, line 8, in
import tidalapi
File â/usr/share/harbour-tidalplayer/python/tidalapi/init.pyâ, line 6, in
from .artist import Artist, Role # noqa: F401
File â/usr/share/harbour-tidalplayer/python/tidalapi/artist.pyâ, line 28, in
from typing_extensions import NoReturn
File â/usr/share/harbour-tidalplayer/python/typing_extensions.pyâ, line 490, in
class _SpecialGenericAlias(typing._SpecialGenericAlias, _root=True):
AttributeError: module âtypingâ has no attribute â_SpecialGenericAliasâ
)
[D] unknown:0 - âPyOtherSide error: Traceback (most recent call last):\n\n File "", line 1, in \n\nNameError: name âtidalâ is not defined\nâ
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: âtidal.Tidaler.initializeâ (Traceback (most recent call last):
File ââ, line 1, in
NameError: name âtidalâ is not defined
)
[D] unknown:0 - âPyOtherSide error: Traceback (most recent call last):\n\n File "", line 1, in \n\nNameError: name âtidalâ is not defined\nâ
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: âtidal.Tidaler.loginâ (Traceback (most recent call last):
File ââ, line 1, in
NameError: name âtidalâ is not defined
)
[D] :418 - Tidal module imported successfully
[D] onTriggered:19 - 0
[D] loadCurrentPlaylistState:164 - Loading current playlist [object Object]
[D] loadCurrentPlaylistState:165 - Loading current playlist undefined
[D] loadCurrentPlaylistState:166 - Loading current playlist undefined
[W] unknown:101 - file:///usr/share/harbour-tidalplayer/qml/pages/Settings.qml:101: Error: Cannot assign [undefined] to QString
greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
Created LOG for EmbedLiteTrace
[D] getOAuth:456 - Request new login
[D] unknown:0 - âPyOtherSide error: Traceback (most recent call last):\n\n File "", line 1, in \n\nNameError: name âtidalâ is not defined\nâ
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: âtidal.Tidaler.initializeâ (Traceback (most recent call last):
File ââ, line 1, in
NameError: name âtidalâ is not defined
)
[D] unknown:0 - âPyOtherSide error: Traceback (most recent call last):\n\n File "", line 1, in \n\nNameError: name âtidalâ is not defined\nâ
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: âtidal.Tidaler.request_oauthâ (Traceback (most recent call last):
File ââ, line 1, in
NameError: name âtidalâ is not defined
)
Created LOG for EmbedLite
Created LOG for EmbedPrefs
Created LOG for EmbedLiteLayerManager
=============== Preparing offscreen rendering context ===============
Thank you.
i think conrad had the same issue, i think we did replace one file and done
i will check tomorrow
Update: now i remember the reason: poetaster did package main branch of python-tidal while i did use 0.83 release version.
I am not sure if he did an update since, think not.
What you can do is: download the package, unzip it and then replace on the phone.
If this is manageable for you i can give you the details. It would definately help us to get the build in obs right.
python tidal: Release v0.8.3 ¡ EbbLabs/python-tidal ¡ GitHub
download the tar.gz, unpack it and copy the .py files to phone.
i usualy do conect phone as media then copy the folder with py files into e.g. downloads directory of phone.
then connect to phone with ssh and as root copy the files to /usr/share âŚtidalapi
this should solve the current problem of yours.
lets see if this is the only one
I copied the python files to phone, but it still goes to Jollaâs page.
[D] :418 - Tidal module imported successfully
[D] onTriggered:19 - 0
[D] loadCurrentPlaylistState:164 - Loading current playlist [object Object]
[D] loadCurrentPlaylistState:165 - Loading current playlist undefined
[D] loadCurrentPlaylistState:166 - Loading current playlist undefined
[W] unknown:101 - file:///usr/share/harbour-tidalplayer/qml/pages/Settings.qml:101: Error: Cannot assign [undefined] to QString
greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
Created LOG for EmbedLiteTrace
[D] getOAuth:456 - Request new login
[D] unknown:0 - âPyOtherSide error: Traceback (most recent call last):\n\n File "", line 1, in \n\nNameError: name âtidalâ is not defined\nâ
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: âtidal.Tidaler.initializeâ (Traceback (most recent call last):
File ââ, line 1, in
NameError: name âtidalâ is not defined
)
[D] unknown:0 - âPyOtherSide error: Traceback (most recent call last):\n\n File "", line 1, in \n\nNameError: name âtidalâ is not defined\nâ
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: âtidal.Tidaler.request_oauthâ (Traceback (most recent call last):
File ââ, line 1, in
NameError: name âtidalâ is not defined
)
Created LOG for EmbedLite
Created LOG for EmbedPrefs
Created LOG for EmbedLiteLayerManager
=============== Preparing offscreen rendering context ===============
I copied the whole tidal-player from C2 to FP4 and now it is working.
how did you install it on c2 ? via the link to rpm package or via chum ?
i fear the chum / obs installation is still broken.
I installed it from rpm to C2. Back then it was not in chum.
@poetaster i did take latest from main and built it locally. it runs fine.
can you try to update obs now please ?
thanks !
I did go the the static 0.83 release.
Main from my repo? I had updated all the libraries to the static versions you indicated. dateutls and tidalapi are no longer submodules but just directories.
Edit. I just pulled the most recent from conrad and I get the same issue as renTTu. And the login screen goes to jolla.
EDIT: If I try to import typing_extensions on the cli on the phone I get the error:
AttributeError: module âtypingâ has no attribute â_SpecialGenericAliasâ
Immediately. So, maybe this is also an issue with the version. If you have a working version, please let me know which one.
Using the latest code, if I try to import tidalapi in a python repl on the phone I get
ModuleNotFoundError: No module named âdateutil.parserâ
There seem to be a number of issues. You need to fix the issues in one of the repos. Iâve downgraded typing extensions which now seems to load so Iâm going to push that change.
There are a metric ton of errors in the current state. I have no idea how you think this app âworksâ or for what extent. Beside not even being to log in, iâm going through python errors one by one and itâs a mess.
Some things are problems with python 3.8 but downgrading leads to one thing working but another being missing. I managed to get ride of some errors by hand editing tidalapi (which was using typing extensions when the built in types are already there) and frankly, this is too much work.
You need to backup everything to a version that works without throwing new errors on every iteration.
I wonât package this until it:
- letâs me login
- loads tidal api on boo.