Page 1 of 1

cairo_ps error

Posted: Fri Apr 26, 2024 5:35 am
by mahdiazizi
Dear All,

I've been attempting to export the person-item map for PCM (image) in EPS, SVG, or PNG format, but it doesn't seem to be functioning properly; it doesn't generate any files. (Error: Save failed Evaluation error: unable to start device 'cairo_ps'.)
Could you please advise on what steps I can take? Which packages should I install? Currently, I'm only able to export the entire dataset as a PDF.

I'm running Jamovi version 2.3.28 on a PC with Windows 11 Enterprise version 23H2 OS build 22631.3447.

Thank you.

Re: cairo_ps error

Posted: Fri Apr 26, 2024 8:20 am
by seol
Hi

You should install the latest version(current version) of jamovi and snowRMM module in jamovi library.

Kind Regards
Seol

Re: cairo_ps error

Posted: Fri Apr 26, 2024 10:17 pm
by jonathon
hi,

i don't think this is to do with the snowRMM module, but rather jamovi itself. could you try using jamovi 2.5 like seol suggests, and let us know if that fixes it?

with thanks

Re: cairo_ps error

Posted: Sat Apr 27, 2024 5:31 pm
by mahdiazizi
Dear All,

I installed the Jamovi 2.5.3 with snowIRT and snowRMM packages. Also, I updated all the packages I had. Then I tried to reanalyze my data again with both snowIRT and snowRMM packages. I received the "saved failed" error when I tried to save the person-item map for PCM or Wright map as SVG, PNG, or EPS in the snowIRT package polytomous model section. Also, when I tried to analyze my data with the snowRRM package in the Rasch model section, I received this error: subscript out of bounds | Debug Error in all.p[cbind(x.i[, i], 1:n.unique)]: subscript out of bounds
private$.run()
private$.compute(data)
mixRasch::misxRasch(data = data, steps = step, model = type, n.c = 1)

Many thanks.

Re: cairo_ps error

Posted: Sat Apr 27, 2024 10:00 pm
by seol
Hi
For " when I tried to analyze my data with the snowRRM package in the Rasch model section, I received this error: subscript out of bounds | Debug Error in all.p[cbind(x.i[, i], 1:n.unique)]: subscript out of bounds
private$.run()
private$.compute(data)
mixRasch::misxRasch(data = data, steps = step, model = type, n.c = 1)",

Would you share .omv file that causes error?
Zip it up and attach it in the snowRMM github board: https://github.com/hyunsooseol/snowRMM/issues

Kind Regards

Re: cairo_ps error

Posted: Sun Apr 28, 2024 9:02 am
by mahdiazizi
Dear Seol and Jonathon,

I have resolved the issue with exporting images to PNG, SVG, and EPS formats. The problem was that my .omv file was located in a folder that was nested inside another folder named in Persian (a different language). When I changed the folder name to English, it fixed the problem in both version 2.3 and 2.5.
However, I am still experiencing an issue with snorRMM. I will send the zip file to the GitHub board.

Thanks.

Re: cairo_ps error

Posted: Mon Apr 29, 2024 1:43 am
by seol
Hi

First, you need to convert characters(or Strings) to numbers in data first with snowRMM module.

Kind Regards
Seol

Re: cairo_ps error

Posted: Wed May 01, 2024 12:44 am
by jonathon
The problem was that my .omv file was located in a folder that was nested inside another folder named in Persian (a different language).
thanks for letting us know. i've created an issue and will look at fixing this soon.

https://github.com/jamovi/jamovi/issues/1493

with thanks