Skip to content

Ubuntu Mint 22.04: gd-images / Couldn't connect to Bing. #27

@NicolasNewman

Description

@NicolasNewman

Environment

  1. Ubuntu Mint
  2. 22.04

Describe the bug
Running gd-images --max-time 6 --word "犬" returns Couldn't connect to Bing.

** Fix **
On a closer inspection, r.error.message contains Protocol https not supported.

Locally, I managed to fix it with the following changes to xmake.lua:

add_requires("cpr >= 1.10.5", {configs = {ssl = true}})
add_requires("nlohmann_json", "marisa", "rdricpp", "mecab")

...

add_packages("cpr", {configs = {ssl = true} })
add_packages("nlohmann_json", "marisa", "rdricpp", "mecab")

Which resulted in the correct html being generated.

I'm not familiar enough with the C++ ecosystem to know how these changes will effect other users so I personally won't make a PR with these changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions