Skip to content
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

Issue when I run the model with 12 to 14 variables in dev (3.10.6001 ) #967

Closed
amanrai2508 opened this issue May 6, 2024 · 4 comments
Closed
Assignees

Comments

@amanrai2508
Copy link

Project Robyn

Describe issue

Currently I am using version 3.10.6001 (dev) of Robyn. When I use 2 to 4 variables, the model runs successfully. However, when I run the model with 12 to 14 variables, the following error occurs: "Error in png_dev(..., res = dpi, units = "in") "err_trace": "Traceback (most recent call last):\n File "/app/src/robyn/python/robyn_train.py" Can someone help me with this, Is this the problem of robyn ?

Environment & Robyn version

Make sure you're using the latest Robyn version before you post an issue.

  • R version (3.10.6001 (dev))
@yu-ya-tanaka
Copy link
Contributor

yu-ya-tanaka commented May 6, 2024

Hi @amanrai2508 , How are you using Robyn, is it API for Python? Is robyn_train.py a program you created?
Also, please share the following

  • OS info
  • Source code where the error occurred
  • Full text of the error message

Thanks,

@amanrai2508
Copy link
Author

Hi @yu-ya-tanaka
Error message :
"status": "failed",
"error_message": "Error in png_dev(..., res = dpi, units = "in") : \n unable to start device 'png'\nIn addition: Warning messages:\n1: In check_datadim(dt_input, all_ind_vars, rel = 10) :\n There are 13 independent variables & 70 data points. We recommend row:column ratio of 10 to 1\n2: In .font_global(font, quiet = FALSE) :\n Font 'Arial Narrow' is not installed, has other name, or can't be found\n3: In confidence_calcs(xDecompAgg, cls, all_paid, dep_var_type, k, :\n Cluster 9 does not contain enough models to calculate CI\nError: $ operator is invalid for atomic vectors\nExecution halted\n",
"err_trace": "Traceback (most recent call last):\n File "/app/src/robyn/python/robyn_train.py", line 59, in do_robyn_train\n raise Exception(out['error'])\nException: Error in png_dev(..., res = dpi, units = "in") : \n unable to start device 'png'\nIn addition: Warning messages:\n1: In check_datadim(dt_input, all_ind_vars, rel = 10) :\n There are 13 independent variables & 70 data points. We recommend row:column ratio of 10 to 1\n2: In .font_global(font, quiet = FALSE) :\n Font 'Arial Narrow' is not installed, has other name, or can't be found\n3: In confidence_calcs(xDecompAgg, cls, all_paid, dep_var_type, k, :\n Cluster 9 does not contain enough models to calculate CI\nError: $ operator is invalid for atomic vectors\nExecution halted\n\n",
"module": "train_robyn"

Yes, It is an API for python on top of R code ( It is working in production PRD: 3.10.3 (from their official cran release))

OS : Macos 14.4.1

@yu-ya-tanaka
Copy link
Contributor

Thanks, Can you share the code where the error is happening? Also can you try R version Robyn (not API) to test whether the same error happen or not?

@amanrai2508
Copy link
Author

It got solved in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants