GithubHelp home page GithubHelp logo

nmalkin / qualtrics2sheets Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 178 KB

export survey data from Qualtrics and import the CSV to Google Sheets

License: BSD 3-Clause "New" or "Revised" License

Kotlin 100.00%
qualtrics qualtrics-api google-drive google-sheets google-sheets-api

qualtrics2sheets's People

Contributors

nmalkin avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

qualtrics2sheets's Issues

Writing output file to local directory blows up

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)

``

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.