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

showProperties() continue giving a ! Couldn't find any deployments matching supplied criteria #985

Closed
AlejandroAyllon opened this issue Aug 31, 2023 · 4 comments · Fixed by #1015
Assignees

Comments

@AlejandroAyllon
Copy link

I opened an issue with this problem here: #980. Thanks @aronatkins for investigate and fix an issue related with showProperties() here: #984. I have installed the development version of rsconnect and I tried to use this function again, but unfortunately the same problem continue. ¿Someone with the same problem?, ¿any idea about the reason or way to fix it?
Thanks in advance.

@aronatkins
Copy link
Contributor

Could you see what rsconnect::deployments() tells you?
What directory are you using when calling rsconnect::showProperties()?

Both of these functions need to be called from the directory containing your Shiny application (assuming you are using Shiny).

I can recreate the "Couldn't find any deployments matching supplied criteria." error when calling rsconnect::showProperties() from a directory containing a Shiny application that has not been deployed. When the directory contains a previously deployed Shiny application, rsconnect::showProperties() works without issue.

@AlejandroAyllon
Copy link
Author

AlejandroAyllon commented Sep 4, 2023

@aronatkins , I get a empty data.frame when I run rsconnect::deployments() (12 columns but 0 rows). I think the problem is the same as it´s explained in this issue #989, I deploy apps in a different machine that the one I use to develop. The last version try to get them of ./rsconnect/shinyapps.io/prototypenvp/. As @alvarosantamariagomez said: "This was not a problem before the last version change. Before the change, only the account (token) and the app details was enough to run showLogs().". In addition, another functions like rsconnect::applications() can get every app than has been deployed in my Shinyapps account, but not with showLogs() or showProperties().

@aronatkins aronatkins assigned aronatkins and unassigned hadley Oct 10, 2023
aronatkins added a commit that referenced this issue Oct 10, 2023
The stub deployment is subsequently used to look-up the application by name.
This lets showLogs, configureApp, setProperty, and unsetProperty interact with
shinyapps.io when the client lacks a deployment record.

Does not address issues with publishing, such as #1013.

Fixes #985
Fixes #989
aronatkins added a commit that referenced this issue Oct 11, 2023
The stub deployment is subsequently used to look-up the application by name.
This lets showLogs, configureApp, setProperty, and unsetProperty interact with
shinyapps.io when the client lacks a deployment record.

Does not address issues with publishing, such as #1013.

Fixes #985
Fixes #989
@aronatkins
Copy link
Contributor

@AlejandroAyllon - Could you test the development version of rsconnect to see if your problem has been resolved?

remotes::install_github("rstudio/rsconnect")

@AlejandroAyllon
Copy link
Author

Hi @aronatkins. I just tested and the problem has been resolved with this version. I will be aware when the new version is deployed with this fix.
Thanks a lot! 👍

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

Successfully merging a pull request may close this issue.

3 participants