You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I attempted to utilize the swat package to push a pandas dataframe as a Sas table to a Sas server, but I encountered an error message that states "Failed to access cache file." Below is the code that I am executing for your reference. I would highly appreciate your assistance.
Code:
Verify file existence at a designated path
ifnotos.path.exists(castable_path):
raiseValueError("Unable to locate CASTable at the specified path.")
The upload action is failing on the CAS server side. Do you have access to the CAS controller log file at the time that the upload was being done ? Are there any errors reported in the CAS controller log ? If you are able to turn up the log levels in the CAS server, TRACE level of the App.cas.tables logger would be helpful.
Also, how big is the file you are trying to upload ?
Thank you for your message @bkemper24 . I will request our SAS admin to check the controller logs and I will follow up with you once I receive more information.
Furthermore, I am not attempting to upload a file. Instead, I have created a sample dataframe with dummy records, which you can review in the code that I provided.
Hi Team,
I attempted to utilize the swat package to push a pandas dataframe as a Sas table to a Sas server, but I encountered an error message that states "Failed to access cache file." Below is the code that I am executing for your reference. I would highly appreciate your assistance.
Code:
Verify file existence at a designated path
Transfer CASTable to SAS server
Please note that I received the following output while running the code:
NOTE: Added action set 'table'.
CASTable uploaded successfully!
ERROR: Failed to access file /cascache/cascache/_f_1e7ad78a_7f7b9bcc1b68.sashdat.
ERROR: The action stopped due to errors.
The text was updated successfully, but these errors were encountered: