jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
56 stars 29 forks source link

[Bug]: This analysis terminated unexpectedly. Error in .extractErrorMessage(e): length(error) = 1 is not TRUE #2704

Open ShunitAm opened 2 months ago

ShunitAm commented 2 months ago

JASP Version

0.18.3

Commit ID

No response

JASP Module

Network

What analysis are you seeing the problem on?

classical network analysis

What OS are you seeing the problem on?

Windows 11

Bug Description

Whenever i'm trying the bootstrap options- bootsrap network i get this erorr massage:

This analysis terminated unexpectedly.

Error in .extractErrorMessage(e): length(error) = 1 is not TRUE

Stack trace .networkAnalysisBootstrap(mainContainer, network, options)

.networkAnalysisComputeBootstrap(bootstrapContainer, network, options)

tryCatch({ jaspBase::.suppressGrDevice({ for (nm in names(allNetworks)) { bootstrapResult[[nm]] <- bootnet::bootnet(data = allNetworks[[nm]], nBoots = options[['bootstrapSamples']], type = options[['bootstrapType']], nCores = nCores, statistics = c('edge', 'strength', 'closeness', 'betweenness'), labels = options[['variables']]) } }) }, error = function(e) bootstrapContainer$setError(.extractErrorMessage(e)))

tryCatchList(expr, classes, parentenv, handlers)

tryCatchOne(expr, names, parentenv, handlers[[1]])

value[3]

bootstrapContainer$setError(.extractErrorMessage(e))

private$jaspObject$setError(x)

.extractErrorMessage(e)

stopifnot(length(error) = 1)

To receive assistance with this problem, please report the message above at: https://jasp-stats.org/bug-reports Screenshot 2024-05-06 114531

Expected Behaviour

It should give me the data

Steps to Reproduce

1.classical network analysis 2.added the variables 3.network plot+clustering plot

  1. bootstrap options- bootstrap network- number of bootstrap- i tried 100 and 1000 ...

Log (if any)

JASP 2024-05-06 10_51_23 Desktop.log JASP 2024-05-06 10_51_23 Engine 0.log

Final Checklist

tomtomme commented 2 months ago

@ShunitAm I cannot confirm this for 0.18.3 on linux (flatpak) - so this might be windows specific, but I doubt it. I cannot test on win, sorry. But someone from the team might. Can you share your data file in the mean time? I suspect it is data related

ShunitAm commented 2 months ago

Thank you for the quick response. hear is the data file

‫בתאריך יום ב׳, 6 במאי 2024 ב-12:53 מאת ‪Thomas Langkamp‬‏ <‪ @.***‬‏>:‬

@ShunitAm https://github.com/ShunitAm I cannot confirm this for 0.18.3 on linux (flatpak) - so this might be windows specific, but I doubt it. I cannot test on win, sorry. But someone from the team might. Can you share your data file in the mean time? I suspect it is data related

— Reply to this email directly, view it on GitHub https://github.com/jasp-stats/jasp-issues/issues/2704#issuecomment-2095597409, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIJUF3BQZAEUPFLMRJ2TBS3ZA5HKJAVCNFSM6AAAAABHIVBVAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGU4TONBQHE . You are receiving this because you were mentioned.Message ID: @.***>

tomtomme commented 2 months ago

Appending the file via mail does not work, sorry. Pleas drag and drop as described above.

ShunitAm commented 2 months ago

I've already sent it to- @.*** and i've sent it again now as zip file

‫בתאריך יום ב׳, 6 במאי 2024 ב-13:02 מאת ‪Thomas Langkamp‬‏ <‪ @.***‬‏>:‬

Appending the file via mail does not work, sorry. Pleas drag and drop as described above.

— Reply to this email directly, view it on GitHub https://github.com/jasp-stats/jasp-issues/issues/2704#issuecomment-2095612374, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIJUF3HGBYCTLV7QOC2L7QLZA5IJ3AVCNFSM6AAAAABHIVBVAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGYYTEMZXGQ . You are receiving this because you were mentioned.Message ID: @.***>

EJWagenmakers commented 2 months ago

I'll forward this file to Don.

tomtomme commented 1 month ago

@vandenman Did you have a chance to look at that file? Can you reproduce the bug on windows?

github-actions[bot] commented 1 week ago

This issue will be automatically closed in 42 days due to inactivity. Feel free to leave a comment if you believe this is still relevant.