Closed jkngale closed 4 months ago
Hi @jkngale thanks for reporting. Noticed you're using version 3.9.0. Would you mind testing with the latest dev version (>=3.10.3.9000)? I'm not able to reproduce your error, which actually doesn't make much sense given, as you mentioned, that it created the original model correctly. I also noticed from the error that:
Robyn_202304141255_init
folderRobynModel-.json
Hello @laresbernardo,
I tried again with the new version and had the same error. I'm running it on windows, is it possible that in mac works correctly?
Thanks
Hi! I don't have a Windows to test but it should be exactly the same behaviour. Would you mind sharing a reproducible example (zip folder with all the structure - you can keep the json and data files only) and the code to replicate the error? Thanks.
Hi @laresbernardo. I faced the same issue that @jkngale explained. Trying to find the reason in the code, I run the github code of robyn_refresh
function and find that the error arises on robyn_chain
function. Checking the code here I think the problem is on the second robyn_read
, where I think filename
is not well created.
I haven't check to find a solution yet, but I suppose it's easier for you to check and change there.
I'll check to find a quick fix for me (and share here if it could be useful for anyone)
Hi @laresbernardo. I could fix that function in my side, but running all the code was not easy for me and multiple errors appeared. Did you have the chance to test it? By the way, I'm on mac. @jkngale did you find a solution? I need to recover a model and currently I cannot...
@laresbernardo I am running into the same issue (Mac) with the newest version still. I think came to the same conclusion as @AngelLopezSanz on where the issue lies. Fixing it however requires writing custom functions that I would run instead of the package provided functions.
Are there any plans on fixing? Happy to help.
Hi! I'll try and take a look later next week and see if there's an easy fix. Sadly I was laid off from Meta a couple of weeks ago and won't continue giving active support to Robyn. Feel free to continue this thread @gufengzhou ;)
Any updates on this ? It has been more than 1 year for this issue and it is still open. I am also facing the same issue now with model refresh, this just defeats the purpose of open sourcing solutions if there is no effort to maintain and fix it.
this is being handled in your latest issue so i'm closing this. there're many reasons why reply is slowing down. so please have understanding and be fair
Project Robyn
Describe issue
I tried to refresh robyn's model with new data and got an error when refreshing even that the model is imported correctly. It appears to search for an empty model even that the model is imported and recreated in the same step.
Provide reproducible example
json_file <- gsub(" ","",paste(plot_folder,"RobynModel-2_339_1.json", sep=""))
"MMM/output/Robyn_outputs/Robyn_202304141255_init/RobynModel-2_339_1.json"
RobynRefresh <- robyn_refresh( json_file = json_file, #json_file, dt_input = df_weekly, dt_holidays = dt_prophet_holidays, refresh_steps = 1, refresh_iters = 20, refresh_trials = 1, ts_validation = FALSE )
Ouput in the log
Environment & Robyn version
Make sure you're using the latest Robyn version before you post an issue.
packageVersion("Robyn")
--> ‘3.9.0’sessionInfo()
orR.version$version.string
) --> "R version 4.2.2 (2022-10-31 ucrt)"