getplotlyfig() Error
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- matlab
研究方向
使用 Plotly MATLAB 2.2.5,透過 getplotlyfig('userXYZ','80') 重現此失敗。從 response_handler(第 6 行)開始,接著追蹤回應經過 plotlygetfile(第 26 行)、plotlyfig/download(第 410 行)和 getplotlyfig(第 25 行)的流程。完成的標準是,擷取現有圖形時不再引發缺少 Content_Type 欄位的錯誤。
由索引模型根據 Issue 內容生成。
描述
Hi. I am using the latest Plotly MATLAB release (2.2.5). I am trying to retrieve a figure from my account, using getplotlyfig('userXYZ','80'). I am passing the number of the figure as a string (as shown in the user guide examples). Uploading new plotly graphs works as expected, however, when trying to retrieve graphs I am receiving the following error:
> Reference to non-existent field 'Content_Type'.
> Error in response_handler (line 6)
> if (strcmp(extras.allHeaders.Content_Type, 'image/jpeg') || ...
> Error in plotlygetfile (line 26)
> response_handler(response_string, extras);
> Error in plotlyfig/download (line 410)
> plotlyfig = plotlygetfile(file_owner, file_id);
> Error in getplotlyfig (line 25)
> p.download(file_owner, file_id);
Can somebody help resolve this please?
- 主要語言
- MATLAB
- 星號
- 414
- 分支
- 166
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
plotly/plotly_matlab 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 45/100
plotly/plotly_matlab#523 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
plotly/plotly_matlab#481 · 1 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 35/100
plotly/plotly_matlab#479 · 1 則留言 · 3 個 reaction ·
-
難度 2/5 1-3 小時 新手友好度 25/100
plotly/plotly_matlab#474 ·
-
難度 3/5 1-2 天 新手友好度 35/100
plotly/plotly_matlab#449 ·
查看 plotly/plotly_matlab 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 85/100
flybywiresim/aircraft#11006 ·
維護者通常 2 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
HenrikBengtsson/R.matlab#61 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
難度 1/5 1 小時以內 新手友好度 85/100
fork-commit-merge/fork-commit-merge#8442 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 87/100
VH-Lab/NDI-matlab#1115 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug-report SimpleFlight
難度 2/5 1-3 小時 新手友好度 68/100
iamaisim/ProjectAirSim#241 ·
維護者通常 1 天內回覆