jameshwc

Results 6 comments of jameshwc

我不太確定你這是什麼問題,我猜是 python 的 requests 以為 encoding 是 gzip 但其實不是? 你能夠用 curl 或其他工具確認 https://ceiba.ntu.edu.tw/course/f1c349/hw/PA0_MergeSort.tgz 這個網址會給什麼 content-encoding 嗎? curl 存取 Ceiba 的方式:`curl -I -H 'Accept-Encoding: gzip,compress,br,deflate,identity' --cookie "PHPSESSID=foobar" https://ceiba.ntu.edu.tw/course/f1c349/hw/PA0_MergeSort.tgz` PHPSESSID 請自行更改,可以在登入後的 Ceiba...

我個人沒有任何 .tar 檔放在作業區的相關檔案,如果是 .zip 和 .pdf 都可以正常下載(Windows 的環境會自己加上適當的副檔名);你遇到的 .tar 檔多嗎?如果不多,要不要考慮手動改 hw/hw.html?

I just injected the api js as a workaround. ```js setup(props, context) { var tag = document.createElement('script') tag.src = 'http://www.youtube.com/iframe_api' const firstScriptTag = document.getElementsByTagName('script')[0] firstScriptTag.parentNode?.insertBefore(tag, firstScriptTag) } ``` Then you...

For those who are stuck with this problem, I bypass it with jcasc groovy plugin. Here's the script: ```yaml groovy: | groovy: - script: | import hudson.model.* import jenkins.model.* import...

Sorry for the late reply. It looks like a bug in ceiba itself, and unfortunately I cannot think of an easy workaround right now. I've raised the issue to the...