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
astrochun opened this issue
Jun 10, 2021
· 0 comments
Labels
apiUse of a third-party APIbugSomething isn't workingcurationPertains to aspects of curation, including workflow managementp1Issues affecting production, multiple usersscriptsScript development
Generally we will have a Deposit Agreement, but for testing I encountered the following. This is because the deposit does not have a Deposit Agreement.
As such it has no ResponseID and SurveyID. See below for traceback error.
Reproduction Steps
Run get_data with a deposit that doesn't have a Deposit Agreement
Outputted Messages
Traceback (most recent call last):
File "/Users/cly/codes/UALibraries/LD_Cool_P/ldcoolp/scripts/update_readme", line 100, in <module>
rc = readme.ReadmeClass(dn, config_dict=config_dict, update=True, log=log)
File "/Users/cly/codes/UALibraries/LD_Cool_P/ldcoolp/curation/inspection/readme/__init__.py", line 161, in __init__
self.qualtrics_readme_dict = self.retrieve_qualtrics_readme()
File "/Users/cly/codes/UALibraries/LD_Cool_P/ldcoolp/curation/inspection/readme/__init__.py", line 379, in retrieve_qualtrics_readme
readme_dict = self.q.retrieve_qualtrics_readme(self.dn)
File "/Users/cly/codes/UALibraries/LD_Cool_P/ldcoolp/curation/api/qualtrics.py", line 597, in retrieve_qualtrics_readme
self.find_deposit_agreement(dn_dict)
File "/Users/cly/codes/UALibraries/LD_Cool_P/ldcoolp/curation/api/qualtrics.py", line 314, in find_deposit_agreement
raise ValueError
ValueError
Much like the Qualtrics API, we prompt for ResponseID and SurveyID. A similar request should occur. This most likely requires a bit of refactoring.
Screenshots
Additional context
Implemented in: TBD
The text was updated successfully, but these errors were encountered:
astrochun
added
api
Use of a third-party API
bug
Something isn't working
curation
Pertains to aspects of curation, including workflow management
p1
Issues affecting production, multiple users
scripts
Script development
labels
Jun 10, 2021
apiUse of a third-party APIbugSomething isn't workingcurationPertains to aspects of curation, including workflow managementp1Issues affecting production, multiple usersscriptsScript development
Describe the bug
Generally we will have a Deposit Agreement, but for testing I encountered the following. This is because the deposit does not have a Deposit Agreement.
As such it has no
ResponseID
andSurveyID
. See below for traceback error.Reproduction Steps
get_data
with a deposit that doesn't have a Deposit AgreementOutputted Messages
Version information
Expected behavior
Much like the Qualtrics API, we prompt for ResponseID and SurveyID. A similar request should occur. This most likely requires a bit of refactoring.
Screenshots
Additional context
Implemented in: TBD
The text was updated successfully, but these errors were encountered: