jasp-issues
jasp-issues copied to clipboard
[Bug]: "Install Module" Button does not work on Flatpak
JASP Version
-------- Application Info -------- JASP Version: JASP 0.19 Build Branch: HEAD Build Date: Jun 26 2024 16:17:14 (Netherlands) Last Commit: b8a668a8a208af27e602c206374ad3421f044cee
-------- Basic Info -------- Operating System: KDE Flatpak runtime Product Version: 6.7 Kernel Type: linux Kernel Version: 6.9.5-1-MANJARO Architecture: x86_64 Install Path: /app/bin Platfotm Name: wayland System Local: de_DE
Bug Description
One button works now, the other does not:
Related: https://github.com/jasp-stats/jasp-issues/issues/2588
Error message from the pop up window:
The installation of Module jaspDescriptives failed with the following errormessage:
cannot open the connection
value[[3]](cond)
tryCatchOne(expr, names, parentenv, handlers[[1]])
tryCatchList(expr, classes, parentenv, handlers)
Messages from terminal:
[tom@tomspc ~]$ flatpak run --branch=beta --devel org.jaspstats.JASP
Desktop: QML cache directory: /home/tom/.var/app/org.jaspstats.JASP/cache/JASP/JASP/qmlcache_b8a668a8a208af27e602c206374ad3421f044cee
Making new argument list for Application startup: JASP
Starting JASP 0.19 from commit b8a668a8a208af27e602c206374ad3421f044cee and branch HEAD
QtWebEngineQuick initialized
Application initialized
Application init entered
MainWindow constructor started
TempFiles::createSessionDir(): '/home/tom/.JASP/temp/3' about to be (removed and re)created.
Going to construct the necessary models for JASP to function.
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-tr.qm
Desktop: Invalid translation file found with name: jaspDesktop-tr.qm
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-ru.qm
Desktop: Language (Russian) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-es.qm
Desktop: Language (Spanish) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-pt_BR.qm
Desktop: Invalid translation file found with name: jaspDesktop-pt_BR.qm
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-zh_Hans.qm
Desktop: Language (Chinese) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-ja.qm
Desktop: Language (Japanese) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-fr.qm
Desktop: Language (French) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-nl.qm
Desktop: Language (Dutch) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-zh_Hant.qm
Desktop: Language (Chinese) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-pl.qm
Desktop: Language (Polish) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-de.qm
Desktop: Language (German) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-id.qm
Desktop: Language (Indonesian) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-gl.qm
Desktop: Language (Galician) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-pt.qm
Desktop: Language (Portuguese) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-eo.qm
Desktop: Invalid translation file found with name: jaspDesktop-eo.qm
Desktop: Opened internal sqlite database for creation at '/home/tom/.JASP/temp/3/internal.sqlite'.
Desktop: DataSet::DataSet(index=-1)
Desktop: DataSetPackage::reset()
Desktop: DataSet::DataSet(index=-1)
Desktop: DataSetPackage::endLoadingData
Entering eventloop
Error in loadNamespace(x) : there is no package called ‘jaspBase’
Error in loadNamespace(x) : there is no package called ‘jaspBase’
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
'verbose' and 'quietly' are both true; being verbose then ..
now dyn.load("/app/lib64/R/library/methods/libs/methods.so") ...
'verbose' and 'quietly' are both true; being verbose then ..
'verbose' and 'quietly' are both true; being verbose then ..
Garbage collection 1 = 0+0+1 (level 2) ...
13.1 Mbytes of cons cells used (35%)
3.4 Mbytes of vectors used (5%)
now dyn.load("/app/lib64/R/library/utils/libs/utils.so") ...
'verbose' and 'quietly' are both true; being verbose then ..
now dyn.load("/app/lib64/R/library/grDevices/libs/grDevices.so") ...
'verbose' and 'quietly' are both true; being verbose then ..
now dyn.load("/app/lib64/R/library/graphics/libs/graphics.so") ...
'verbose' and 'quietly' are both true; being verbose then ..
now dyn.load("/app/lib64/R/library/stats/libs/stats.so") ...
ending setup_Rmainloop(): R_Interactive = 0 {main.c}
>R_ReplConsole(): before "for(;;)" {main.c}
[1] "/app/Modules/Tools/pkgdepends_library"
[2] "/app/lib64/R/library"
now dyn.load("/app/lib64/renv-cache/v5/processx/3.8.2/3efbd8ac1be0296a46c55387aeace0f3/processx/libs/processx.so") ...
now dyn.load("/app/lib64/renv-cache/v5/ps/1.7.5/709d852d33178db54b17c722e5b1e594/ps/libs/ps.so") ...
Garbage collection 2 = 1+0+1 (level 0) ...
18.9 Mbytes of cons cells used (51%)
4.8 Mbytes of vectors used (7%)
now dyn.load("/app/lib64/renv-cache/v5/cli/3.6.1/89e6d8219950eac806ae0c489052048a/cli/libs/cli.so") ...
Garbage collection 3 = 2+0+1 (level 0) ...
22.2 Mbytes of cons cells used (59%)
5.5 Mbytes of vectors used (8%)
now dyn.load("/app/lib64/renv-cache/v5/filelock/1.0.2/38ec653c2613bed60052ba3787bd8a2c/filelock/libs/filelock.so") ...
now dyn.load("/app/lib64/renv-cache/v5/glue/1.6.2/4f2596dfb05dac67b9dc558e5c6fba2e/glue/libs/glue.so") ...
Garbage collection 4 = 3+0+1 (level 0) ...
22.8 Mbytes of cons cells used (61%)
5.6 Mbytes of vectors used (9%)
now dyn.load("/app/lib64/renv-cache/v5/jsonlite/1.8.7/266a20443ca13c65688b2116d5220f76/jsonlite/libs/jsonlite.so") ...
Garbage collection 5 = 4+0+1 (level 0) ...
23.8 Mbytes of cons cells used (64%)
5.9 Mbytes of vectors used (9%)
now dyn.load("/app/lib64/renv-cache/v5/lpSolve/5.6.18/12c7a918599d5700e4265dd8a21f684f/lpSolve/libs/lpSolve.so") ...
now dyn.load("/app/lib64/renv-cache/v5/zip/2.3.0/d98c94dacb7e0efcf83b0a133a705504/zip/libs/zip.so") ...
Garbage collection 6 = 5+0+1 (level 0) ...
26.9 Mbytes of cons cells used (72%)
6.6 Mbytes of vectors used (10%)
now dyn.load("/app/lib64/R/library/tools/libs/tools.so") ...
Garbage collection 7 = 6+0+1 (level 0) ...
29.7 Mbytes of cons cells used (80%)
7.8 Mbytes of vectors used (12%)
Garbage collection 8 = 7+0+1 (level 0) ...
32.0 Mbytes of cons cells used (86%)
8.7 Mbytes of vectors used (13%)
Garbage collection 9 = 7+1+1 (level 1) ...
31.6 Mbytes of cons cells used (85%)
7.3 Mbytes of vectors used (11%)
now dyn.load("/app/lib64/renv-cache/v5/curl/5.0.2/511bacbfa153a15251166b463b4da4f9/curl/libs/curl.so") ...
now dyn.load("/app/lib64/renv-cache/v5/rappdirs/0.3.3/5e3c5dc0b071b21fa128676560dbe94d/rappdirs/libs/rappdirs.so") ...
now dyn.load("/app/lib64/renv-cache/v5/pkgcache/2.2.0.1/2622106d5651a653c55430ee5f583978/pkgcache/libs/pkgcache.so") ...
Garbage collection 10 = 7+1+2 (level 2) ...
32.5 Mbytes of cons cells used (44%)
7.8 Mbytes of vectors used (12%)
Warning message:
In find.package(package, lib.loc, quiet = TRUE) :
package ‘processx’ found more than once, using the first from
“/app/lib64/renv-cache/v5/processx/3.8.2/3efbd8ac1be0296a46c55387aeace0f3/processx”,
“/app/Modules/Tools/pkgdepends_library/processx”
Garbage collection 11 = 8+1+2 (level 0) ...
42.7 Mbytes of cons cells used (57%)
10.5 Mbytes of vectors used (16%)
Garbage collection 12 = 9+1+2 (level 0) ...
47.2 Mbytes of cons cells used (64%)
12.1 Mbytes of vectors used (19%)
Garbage collection 13 = 10+1+2 (level 0) ...
47.6 Mbytes of cons cells used (64%)
12.7 Mbytes of vectors used (20%)
Garbage collection 14 = 11+1+2 (level 0) ...
47.9 Mbytes of cons cells used (65%)
13.5 Mbytes of vectors used (21%)
Garbage collection 15 = 12+1+2 (level 0) ...
48.3 Mbytes of cons cells used (65%)
14.2 Mbytes of vectors used (22%)
Garbage collection 16 = 13+1+2 (level 0) ...
48.7 Mbytes of cons cells used (66%)
15.0 Mbytes of vectors used (23%)
Garbage collection 17 = 14+1+2 (level 0) ...
49.1 Mbytes of cons cells used (66%)
16.3 Mbytes of vectors used (25%)
Garbage collection 18 = 15+1+2 (level 0) ...
49.5 Mbytes of cons cells used (67%)
17.0 Mbytes of vectors used (27%)
Garbage collection 19 = 16+1+2 (level 0) ...
49.8 Mbytes of cons cells used (67%)
17.5 Mbytes of vectors used (27%)
Garbage collection 20 = 17+1+2 (level 0) ...
50.1 Mbytes of cons cells used (68%)
18.1 Mbytes of vectors used (28%)
Garbage collection 21 = 18+1+2 (level 0) ...
51.1 Mbytes of cons cells used (69%)
21.4 Mbytes of vectors used (33%)
Garbage collection 22 = 19+1+2 (level 0) ... local::/home/tom/Downloads/jaspDescriptives-master.tar.gz
56.4 Mbytes of cons cells used (76%)
23.0 Mbytes of vectors used (36%)
There were 50 or more warnings (use warnings() to see the first 50)
Garbage collection 23 = 20+1+2 (level 0) ...
58.5 Mbytes of cons cells used (79%)
23.7 Mbytes of vectors used (37%)
Garbage collection 24 = 20+2+2 (level 1) ...
56.9 Mbytes of cons cells used (77%)
19.2 Mbytes of vectors used (30%)
Garbage collection 25 = 21+2+2 (level 0) ...
57.2 Mbytes of cons cells used (77%)
19.2 Mbytes of vectors used (30%)
Garbage collection 26 = 22+2+2 (level 0) ...
57.3 Mbytes of cons cells used (77%)
19.2 Mbytes of vectors used (30%)
Error:
! Could not solve package dependencies:
* local::/home/tom/Downloads/jaspDescriptives-master.tar.gz: ! pkgdepends resolution error for local::/home/tom/Downloads/jaspDescriptives-master.tar.gz.
Caused by error:
! Line starting 'jaspDescriptives-mas ...' is malformed!
---
Backtrace:
1. pd$draw()
2. private$plan$draw_solution_tree()
3. pkgdepends:::pkgplan_draw_solution_tree(self, private, pkgs, annotate)
4. self$stop_for_solve_error()
5. pkgdepends:::pkgplan_stop_for_solve_error(self, private)
6. pkgdepends:::throw(new_error("Could not solve package dependencies:\n", msg, …
Execution halted
QProcess: Destroyed while process ("/app/bin/JASPEngine") is still running.
[tom@tomspc ~]$
Expected Behaviour
both buttons should work on linux
Steps to Reproduce
- download descriptives module from master as ZIP
- repackage as TAR.GZ
- start jasp via flatpak run --branch=beta --devel org.jaspstats.JASP
- enable private PAT and dev mode in settings => advanced
- click "install module"
- select the TAR.GZ created in 2.