Closed amanrai2508 closed 1 month ago
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
Thanks,
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
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?
It got solved in the latest version.
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.