GSuite Read Range Activity Not Loading After Saving

Hi,
I am using studio version 2024.10.1 and GSuite.Activities 3.0.10. When I set up a Read Range activity for GSheet, and then saving and closing the studio, when I reopen the studio the activity states that “This activity is missing or could not be loaded.” Tried using previous versions of GSuite, but still same issue, and this issue is only present within this project.
Also, when I assign a variable for the output, the type is set to DataTableX, where X is an incrementing number, which is set to Unknown type after re-opening Studio.
image (9)
The image shows an error message indicating that a "Read Range" activity in a workflow is missing or could not be loaded. (Captioned by AI)
Any ideas on how to solve this?

@Leonel_Bonnici

Check dependencies panel, is there any errors are showing or not. and also check package is installed or not

if above all works fine then try degrade or update the version of gsuite package

Hi @yedukondaluaregala,

There are no errors in the dependency panel, all packages are installed, and tried degrading to different GSuite package versions, still issue present.

long back ago i faced same issue, i given couple of tries,

  1. updating all packages
  2. degrading particular package version until issue got resolved
  3. try to close studio and restart machine and open

Unfortunately none of the outlined options worked

@Leonel_Bonnici what if you do the same thing in a new project, using the same studio and activity versions? Can you give this a try?

I work with @Leonel_Bonnici and we were trying to diagnose the error together.

@Mihai_Dunareanu we opened a new project, updated all packages and used the read range activity, which worked normally. We also closed and re-opened studio and the activity loaded normally again.

What we also tried was for leonel to upload his latest version to our GitHub page so that I could download it and open it, and the same issue happened when I opened the process on my machine. We actually have an older version of the process, and the issue is not happening on that version, so as a work around we will revert to that version and continue working on it, but we would really like to know why we are getting this issue.

Hi!
So to conclude it is an issue with that particular project. The read range activity generates custom types which are bundled together with the project, and it might be that the issue is happening there.

On the offending project, can you please open the .project folder and tell me what files you find there? It could be that the project is missing a required file there which informs the project with regards to the auto-generated types.
Thanks!

Hi Mihai,

In the project folder there are the following files

The files are all there but perhaps their contents are out of sync with the generated bundles. We could create an issue and investigate further, as it seems to be quite hard to pinpoint the exact problem. Let me know what you think!

Can you post a screenshot with the content of the .local.customtypes folder? It should be in the project’s folder too.
Also, if there are any folders inside .customtypes, it would help to see their content. There should be some .dll files there, probably with Studio.Generated…dll names