# Data Explorer의 CSV 보고서가 특정 그룹에서 다운로드되지 않음

**URL:** https://meta.discourse.org/t/csv-report-of-data-explorer-not-downloading-for-a-group/139231
**Category:** Bug
**Created:** [1월 20, 2020, 8:32오후 UTC](https://meta.discourse.org/t/csv-report-of-data-explorer-not-downloading-for-a-group/139231 "2020-01-20T20:32:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [1월 20, 2020, 8:32오후 UTC](https://meta.discourse.org/t/csv-report-of-data-explorer-not-downloading-for-a-group/139231/1 "2020-01-20T20:32:26Z")

</div>

데이터 탐색기([Data Explorer](https://meta.discourse.org/t/32566?silent=true)) 쿼리에 액세스 권한이 부여된 그룹 멤버가 CSV 파일을 다운로드할 수 없는 문제가 발생했습니다.

나머지 기능은 모두 정상적으로 작동합니다.

1. /admin/plugins/explorer/에서 실행할 경우 CSV 파일을 다운로드할 수 있습니다.
2. /g/groupname/reports/에서 실행할 경우 JSON 파일을 다운로드할 수 있습니다.

새 탭이 적절한 URL(예: /g/groupname/reports/7/run.csv?download=1)과 함께 열리지만, 탭은 비어 있으며 다운로드가 이루어지지 않습니다. 이 문제는 여러 브라우저에서 발생합니다.

저희만 이런 현상을 겪고 있는 걸까요? @pacharanero 님이 이 문제에 관심을 가질 수 있을 것 같습니다.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [1월 20, 2020, 9:26오후 UTC](https://meta.discourse.org/t/csv-report-of-data-explorer-not-downloading-for-a-group/139231/2 "2020-01-20T21:26:25Z")

</div>

개발 사이트에서 그룹 페이지에서 CSV 파일을 다운로드하려고 하면 동일한 증상이 나타납니다. 요청에 대해 로그에서 확인되는 경고는 다음과 같습니다:

```plaintext
Uncaught Error: Assertion Failed: Attempting to register an unknown factory: 'site-settings:main'
Window Location: http://localhost:3000/g/eurorack/reports/93/run.csv?download=1

```

---

<div class="post-metadata">

### Author: ![pacharanero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pacharanero/32/500583_2.png) [@pacharanero](https://meta.discourse.org/u/pacharanero)
#### Post date: [1월 21, 2020, 8:52오전 UTC](https://meta.discourse.org/t/csv-report-of-data-explorer-not-downloading-for-a-group/139231/5 "2020-01-21T08:52:36Z")

</div>

@nathank 이 문제를 직접 겪어본 적은 없지만, 저는 [Data Explorer](https://meta.discourse.org/t/32566?silent=true) 플러그인을 그룹과 함께 정기적으로 사용하지는 않습니다. 내보내기를 시도한 후 [https://discourse.digitalhealth.net/logs/](https://discourse.digitalhealth.net/logs/) 페이지를 방문하면 거기서 오류를 확인할 수 있을 것입니다. 또한 브라우저 콘솔에서 JavaScript 오류를 확인하는 것도 좋습니다. (Firefox에서는 Ctrl+Shift+K, Chrome에서는 아마도 유사한 단축키를 사용할 수 있으며, Ctrl+Shift+I를 눌러 콘솔 탭으로 이동한 후 페이지를 새로고침하고 오류를 찾은 다음 문제가 발생하는 작업을 수행하면서 다시 오류를 확인해 보세요.)

만약 discourse.digitalhealth.net에서 사용 중인 이 기능에 대해 스태프 스레드를 시작해 주신다면(주요 목적은 참조용입니다), 그 후 문제를 논의하고 hopefully 해결할 수 있을 것입니다.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [1월 21, 2020, 9:49오전 UTC](https://meta.discourse.org/t/csv-report-of-data-explorer-not-downloading-for-a-group/139231/6 "2020-01-21T09:49:50Z")

</div>

다음 커밋을 통해 수정되었습니다:

> <https://github.com/discourse/discourse-data-explorer/commit/16ea1c55a9dc9660f8cf5ca754411a3328261303>

이 기능이 추가된 이후로 그룹 보고서 CSV 내보내기가 깨져 있었던 것으로 보입니다. 이 문제를 보고해 주셔서 감사합니다 @nathank. 👍

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [1월 21, 2020, 9:50오전 UTC](https://meta.discourse.org/t/csv-report-of-data-explorer-not-downloading-for-a-group/139231/7 "2020-01-21T09:50:47Z")

</div>


