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

Writing output file to local directory blows up #1

Open
conorgil opened this issue Apr 17, 2024 · 0 comments
Open

Writing output file to local directory blows up #1

conorgil opened this issue Apr 17, 2024 · 0 comments

Comments

@conorgil
Copy link

conorgil commented Apr 17, 2024

The only change is in the --output flag

This works fine:

java -jar ../utils/qualtrics2sheets.jar \
  download_qualtrics \
  --token XYZ \
  --datacenter 123 \
  --survey ABC \
  --output output \
  --filename prescreen_data.csv \
  --if-exists overwrite

This blows up:

java -jar ../utils/qualtrics2sheets.jar \
  download_qualtrics \
  --token XYZ \
  --datacenter 123 \
  --survey ABC \
  --output . \
  --filename prescreen_data.csv \
  --if-exists overwrite

with this error:

2024-04-17 16:36:02.776 - q2s.qualtrics.DownloadSurvey - DEBUG - unzipping ABC export as prescreen_data.csv to .
2024-04-17 16:36:02.780 - q2s.Main - ERROR - execution failed: java.lang.RuntimeException: Entry with an illegal path: TOTP app analysis - Prescreen - Pilot - 2024-03-13.csv
java.lang.RuntimeException: Entry with an illegal path: TOTP app analysis - Prescreen - Pilot - 2024-03-13.csv
	at q2s.util.UnzipKt.unzipAndRename(Unzip.kt:85)
	at q2s.qualtrics.DownloadSurveyKt.downloadExport(DownloadSurvey.kt:131)
	at q2s.qualtrics.DownloadSurveyKt$downloadExport$1.invokeSuspend(DownloadSurvey.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:87)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:61)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:40)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at q2s.qualtrics.DownloadQualtricsCommand.execute(DownloadQualtricsCommand.kt:53)
	at kotlinx.cli.ArgParser.parse(ArgParser.kt:657)
	at kotlinx.cli.ArgParser.parse(ArgParser.kt:530)
	at q2s.MainKt.main(Main.kt:21)

``
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

No branches or pull requests

1 participant