[GH-ISSUE #332] Exception when using format_set_bg_color(format, 0x3030E0) on macOS #267

Closed
opened 2026-05-05 12:03:36 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @duncangroenewald on GitHub (May 16, 2021).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/332

I am trying to use this function to set the background colour but this crashes any time it is called

format_set_bg_color(format, 0x3030E0)

or

format_set_bg_color(format, LXW_COLOR_GREEN)

Originally created by @duncangroenewald on GitHub (May 16, 2021). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/332 I am trying to use this function to set the background colour but this crashes any time it is called format_set_bg_color(format, 0x3030E0) or format_set_bg_color(format, LXW_COLOR_GREEN)
Author
Owner

@duncangroenewald commented on GitHub (May 16, 2021):

My bad - I hadn't created the format first !

<!-- gh-comment-id:841774577 --> @duncangroenewald commented on GitHub (May 16, 2021): My bad - I hadn't created the format first !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#267
No description provided.