plotly / plotly/plotly.R

plotly_IMAGE stopped working

Đang mở
#2,312 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
R
Star
2.7k
Fork
641
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello,
I am not sure if the server is undergoing maintenance. Function plotly_IMAGE suddenly stopped working yesterday. It worked for like 6 or 7 graphs and now returns error [502].

BTW, as a side note, I really would like to have easier options to saving static plotly graphs as PNG. I spent so many hours with this, I tried Orca, Kaleido (which requires installing reticulate, miniconda etc), never made these work because of multiple installing problems, like my user has a space character and miniconda won't install. Anyways, multiple bugs in the process, to finally find the plotly_IMAGE function that somehow worked. I really feel like getting static images is an important feature for R, where many users are forced to used latex to report our works later. Let me know if I can help with this in any way.

The error is:

plotly_IMAGE(global_return_graph, format = 'png', out_file = file.path(savep$
# > Request failed [502]. Retrying in 1.6 seconds...
# > Request failed [502]. Retrying in 1.7 seconds...
# > Request failed [502]. Retrying in 3.9 seconds...
# > Request failed [502]. Retrying in 2.8 seconds...

The same code was working before and just stopped.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lệnh gọi plotly_IMAGE đã được báo cáo với format='png' và đối số out_file được hiển thị, xác nhận xem lỗi 502 còn xảy ra hay không. Sau đó, kiểm tra entry point của plotly_IMAGE và đường dẫn request của nó; công việc được xem là hoàn tất khi đã xác định và khắc phục lỗi hoặc ghi lại rằng dịch vụ hình ảnh bên ngoài không khả dụng, kèm theo kiểm tra hồi quy cho việc xuất PNG tĩnh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
r
Lĩnh vực
data-visualization
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.