-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Devel]: esci module for jasp #2842
Comments
Thx @gdcumming for the report! I love your book by the way :D In short: Then to install the esci module in JASP:
If you can point me to the esci repository on github I would be delighted to also test the module so that we could share our experience (and bug reports) here :D @shun2wang While gdcumming is on the latest nightly, I am on flatpak 0.19 stable and get no error:
|
I cannot find this upload... but yes, it not loaded in welcome page explicitly, but if you change the analysis in the drop-down and it will load them. |
Thomas,
Thanks! We're dead keen to get Bob's wonderful new esci into JASP, as well as R-standalone and jamovi.
I have rtools44 installed.
I've been trying to install (also attached):
jaspesci_0.1.0.tar.gz
If I choose 'select a developer module' it fails to see that file.
If I choose 'install module' I can see and select that file. Install, pause, see error below.
I get the above 2 results with 'R console' checked, also when not checked.
The github link you request. Would it be this:
https://github.com/rcalinjageman/esci/releases/tag/1.0.3
Sorry, way out of my (v shallow) R depth!
Geoff
[cid:d841212e-286e-48e7-8056-3dbed47735ff]
[cid:feabe853-0486-4cdb-96f0-0a30ce3b9066]
Book information and blog: www.thenewstatistics.com<http://www.thenewstatistics.com> X: @TheNewStats
New esci software: https://thenewstatistics.com/itns/esci/jesci/
Order the new intro book on Amazon<https://www.amazon.com/Introduction-New-Statistics-Estimation-Science/dp/036753150X>. Instructors can request a free desk copy here<https://www.routledge.com/textbooks/evaluation/9781032689470>.
Geoff: W: https://scholars.latrobe.edu.au/gdcumming E: ***@***.******@***.***>
…________________________________
From: Thomas Langkamp ***@***.***>
Sent: Thursday, 25 July 2024 10:21 PM
To: jasp-stats/jasp-issues ***@***.***>
Cc: Geoff Cumming ***@***.***>; Mention ***@***.***>
Subject: Re: [jasp-stats/jasp-issues] [Bug]: Cannot change working directory (Issue #2842)
Thx @gdcumming<https://github.com/gdcumming> for the report! I love your book by the way :D
The error should certainly be adressed, but if you want to install a dev module in jasp, you usually would not do that via an R terminal.
Look here on how to install a dev-module: https://github.com/jasp-stats/jasp-desktop/blob/stable/Docs/development/jasp-module-workflow.md<https://github.com/jasp-stats/jasp-desktop/blob/stable/Docs/development/jasp-module-workflow.md>
In short:
If you have already downlaoded esci for JASP from github, first make sure, that the package is a .tar.gz archive. If it is a .zip you need to repackage it to said format.
Then to install the esci module in JASP:
*
Open JASP
*
Click on the plus symbol in the top right corner
*
Click on Install Developer Module and select the .tar.gz
*
Then wait patiently while the module is build and hope that it succeeds!
If you can point me to the esci repository on github I would be delighted to also test the module so that we could share our experience (and bug reports) here :D
Those
@shun2wang<https://github.com/shun2wang>
Do you have an idea what this error message is about?
—
Reply to this email directly, view it on GitHub<#2842 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANFVLUENBMRC2YIBK7536I3ZODUUXAVCNFSM6AAAAABLNR4F5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJQGE4TCOJWGM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
La Trobe University | TEQSA PRV12132 - Australian University | CRICOS Provider 00115M
|
"see error below" Geoff, did you attach a screenshot with said error via email? Sadly those cannot be seen her on github. Please drag and drop the ereor message directly via github.com in the browser, thx for the other hints and the link. Will check out if I can reproduce the error in the next days. |
So I tested esci 1.0.3 tar.gz from the link you provided on JASP 0.19 stable flatpak (currently no newer flatpak beta available). And I can confirm that installing esci through the "install module" button does not work. It crahes JASP completely with:
Would still be cool, if you could upload the error that you get here. |
Now with error screenshot attached
…________________________________
From: Geoff Cumming ***@***.***>
Sent: Friday, 26 July 2024 3:20 PM
To: jasp-stats/jasp-issues ***@***.***>; jasp-stats/jasp-issues ***@***.***>
Cc: Mention ***@***.***>; Calin-Jageman, Robert ***@***.***>
Subject: Re: [jasp-stats/jasp-issues] [Bug]: Cannot change working directory (Issue #2842)
Thomas,
Thanks! We're dead keen to get Bob's wonderful new esci into JASP, as well as R-standalone and jamovi.
I have rtools44 installed.
I've been trying to install (also attached):
jaspesci_0.1.0.tar.gz
If I choose 'select a developer module' it fails to see that file.
If I choose 'install module' I can see and select that file. Install, pause, see error below.
I get the above 2 results with 'R console' checked, also when not checked.
The github link you request. Would it be this:
https://github.com/rcalinjageman/esci/releases/tag/1.0.3
Sorry, way out of my (v shallow) R depth!
Geoff
[cid:d841212e-286e-48e7-8056-3dbed47735ff]
[cid:feabe853-0486-4cdb-96f0-0a30ce3b9066]
Book information and blog: www.thenewstatistics.com<http://www.thenewstatistics.com> X: @TheNewStats
New esci software: https://thenewstatistics.com/itns/esci/jesci/
Order the new intro book on Amazon<https://www.amazon.com/Introduction-New-Statistics-Estimation-Science/dp/036753150X>. Instructors can request a free desk copy here<https://www.routledge.com/textbooks/evaluation/9781032689470>.
Geoff: W: https://scholars.latrobe.edu.au/gdcumming E: ***@***.******@***.***>
________________________________
From: Thomas Langkamp ***@***.***>
Sent: Thursday, 25 July 2024 10:21 PM
To: jasp-stats/jasp-issues ***@***.***>
Cc: Geoff Cumming ***@***.***>; Mention ***@***.***>
Subject: Re: [jasp-stats/jasp-issues] [Bug]: Cannot change working directory (Issue #2842)
Thx @gdcumming<https://github.com/gdcumming> for the report! I love your book by the way :D
The error should certainly be adressed, but if you want to install a dev module in jasp, you usually would not do that via an R terminal.
Look here on how to install a dev-module: https://github.com/jasp-stats/jasp-desktop/blob/stable/Docs/development/jasp-module-workflow.md<https://github.com/jasp-stats/jasp-desktop/blob/stable/Docs/development/jasp-module-workflow.md>
In short:
If you have already downlaoded esci for JASP from github, first make sure, that the package is a .tar.gz archive. If it is a .zip you need to repackage it to said format.
Then to install the esci module in JASP:
*
Open JASP
*
Click on the plus symbol in the top right corner
*
Click on Install Developer Module and select the .tar.gz
*
Then wait patiently while the module is build and hope that it succeeds!
If you can point me to the esci repository on github I would be delighted to also test the module so that we could share our experience (and bug reports) here :D
Those
@shun2wang<https://github.com/shun2wang>
Do you have an idea what this error message is about?
—
Reply to this email directly, view it on GitHub<#2842 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANFVLUENBMRC2YIBK7536I3ZODUUXAVCNFSM6AAAAABLNR4F5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJQGE4TCOJWGM>.
You are receiving this because you were mentioned.
La Trobe University | TEQSA PRV12132 - Australian University | CRICOS Provider 00115M
|
|
Hi all, I think there's been a bit of miscommunication. I'm trying to help Geoff be able to preview the esci module I've been developing for JASP. That module is on github at: https://github.com/rcalinjageman/jaspesci (the github link Geoff gave is not correct; sorry, Tom). We've been running into trouble making it possible for Geoff to install the module -- we've tried both msi and zip versions of Jasp, both with .18 and .19 on his computer, and we've not been able to get the module to install. We made sure Geoff has rtools installed as well. This is what led us down the wrong path with the 'cannot change working directory' errror that I encouraged Geoff to submit -- to make sure we were matching Rtools to the version of R in jasp, we tried using the Rconsole to run "sessionInfo()".. but kept getting that strange working directory error... I had thought that indicated some general error communicating with R that might have prevented the module from installing on his computer, but it looks like that is not the case. So... please ignore the 'cannot change working directory' issue -- but we could use some help figuring out how to enable Geoff to install the module I'm working on so he can help provide me with feedback. That's where Geoff keeps getting the error he screenshotted above -- that the module will not install; but I've generally been able to install this module across multiple machines without problem. |
@RensDofferhoff It would be great to have the esci module in JASP. Could you help Geoff as much as possible please? |
@rcalinjageman Module looks nice! I have made a PR on your repo to fix a small thing @gdcumming Goodmorning!
And share the two most recent log files with us. Both the desktop and engine log. |
Supplementary for what @RensDofferhoff suggestions:
|
Thanks for all the help with this -- much appreciated. I worked with Geoff tonight to make sure he has the right version of rtools installed and that it is in his system path. He's going to uninstall the Jasp msi he installed and start over with the one you linked, but it might take him a day or two to get to it. Thanks for the PR -- I had borked that yesterday as I was wrapping up some work on the module and then caught it myself this morning. I've generally had no problem getting jasp to install the module I've been working on -- It's working on my home computer, my work computer, and I even set it up on my daughter's computer to give Geoff a computer to remote into to preview the module. I've had luck with both 0.18 nightlies and rtools 4.3 and 0.19 nighltlies with rtools 4.4. But oddly enough, on a couple of daays ago (27th) I tried setting up to do some work on an old laptop for a trip, and ran into issues:
00:02:10.277: Was a failure, now crafting answer. Which, I think is most often caused by a \ in a file path where a // should be... yet I don't get this on any other machine pulling the same repo, and I can't easily find the source (not sure how to read :6:72 in terms of trying to track this down). I tried downloading the nighty you linked and got the same. This isn't a high priority -- I don't really need yet another machine to develop on -- but it is strange! |
Thanks all! |
@gdcumming Ah seems there is a bug using the .tar.gz Install method! I will need to resolve this Our developers always use the "Install developer module" option. In the advanced preferences select the folder with the module and click the "Install developer module" : I assume you will help the development of this module? So this is probably the better option. Otherwise I can also make a special JASP build for you that includes the module. -Rens Dofferhoff |
When I tried that selecting and then used 'install developer module', jasp immediately closed. (I'd tried that a couple of times before, always same result.) Log files: |
Uh oh. I started having this issue on my main development machine this morning -- after several weeks of no problems and with no updates to jasp. Seeing your comment here, I utilized the PAT you provided. That fixed things for a bit, but after a few cycles of code edits, I got the error again. When I went to preferences, there was no longer an indication the PAT was stored. I re-entered it, and again things worked, but after a few cycles I again started getting download errors. I've tried a bunch of different things (restarting JASP, switching back to the default PAT... but no joy... now no longer able to progress. |
@rcalinjageman @gdcumming I will make a new nightly build with a new valid PAT. |
We are working to simplify this process in the future along with a module store |
New build got me back on track. Geoff is prepping for a long trip and may not get a chance to try out the new build for a while. Thanks for the help -- I've got 2 analyses left to work on to have a complete draft of esci in jasp -- then I'll have a bunch of little issues to work on. |
All development nightly builds from this point should have a fixed PAT. |
Type 'sessionInfo()' works for me on latest 0.19.2 flatpak beta. |
@rcalinjageman |
JASP Version
0.19.0
Commit ID
JASP msi uploaded 10:44 23-07-2024
JASP Module
Unrelated
What analysis are you seeing the problem on?
No response
What OS are you seeing the problem on?
Windows 10
Bug Description
Following advice from R Calin-Jageman, who is developing esci to use inside JASP, I downloaded and installed yesterday's nightlie JASP msi. Run JASP: all seems fine. (I had uninstalled, deleted, any earlier traces of JASP.)
I then checked to see R Console and typed 'sessionInfo()' but rec'd error message 'cannot change working directory' as in screenshot
Same result whether I ran JASP as administrator for my PC, or not.
Expected Behaviour
Wanted to be able to install a Module (esci)
Steps to Reproduce
Log (if any)
No response
Final Checklist
The text was updated successfully, but these errors were encountered: