Error hiding for missing credentials
Nobody has claimed this yet.
- Dominant language
- MATLAB
- Stars
- 413
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
If the credentials do not exist, MATLAB-online hides the Plotly:CredentialsNotFound error with plotlyfigConstructor:notSignedIn because of a try/catch.
%-UserData-%
try
[obj.UserData.Username,...
obj.UserData.ApiKey,...
obj.UserData.PlotlyDomain] = signin;
catch
errkey = 'plotlyfigConstructor:notSignedIn';
error(errkey, plotlymsg(errkey));
end
If we are running with offline capability, it would be very exceptionally nice to not need any config/credential files at all. Encountered this when I was investigating an issue with the plotly/MATLAB-Online API ( #https://github.com/imatlab/imatlab/issues/13)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read plotly/plotlyfig.m at the signin call and examine how its try/catch maps missing credentials to plotlyfigConstructor:notSignedIn. Compare that behavior with the offline-capability requirement and the referenced imatlab issue. Done means missing credential files no longer hide the underlying credentials error or prevent the intended offline use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab
- Domain
- authentication, data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100