Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading module Elixir.GoogleApi.Compute.V1.Model.HTTPHealthCheck #8174

Open
florinpatrascu opened this issue Jul 3, 2021 · 2 comments
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@florinpatrascu
Copy link

Hi there,

There are two source modules:

  • clients/compute/lib/google_api/compute/v1/model/http_health_check.ex
  • clients/compute/lib/google_api/compute/v1/model/http_health_check_1.ex

and both of them define Poison decoder functions: GoogleApi.Compute.V1.Model.HttpHealthCheck, except that one of them defines it as: GoogleApi.Compute.V1.Model.HttpHealthCheck, see: http_health_check_1.ex and the other one defines it as: GoogleApi.Compute.V1.Model.HTTPHealthCheck; the clients/compute/lib/google_api/compute/v1/model/http_health_check.ex, respectively. This will raise the following error:

[error] beam/beam_load.c(1440): Error loading module 'Elixir.GoogleApi.Compute.V1.Model.HTTPHealthCheck':
  BEAM file exists but it defines a module named Elixir.GoogleApi.Compute.V1.Model.HttpHealthCheck

Environment details

OS: mac OS (BigSur)
Hex:    0.21.2
Elixir: 1.11.4
OTP:    23.3.4.4
@florinpatrascu florinpatrascu added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Jul 3, 2021
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels Nov 3, 2021
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Dec 30, 2021
@pavledjo
Copy link

Any ways to resolve this? We're hitting this issue when running a created release @florinpatrascu

@jfreeze
Copy link

jfreeze commented Sep 7, 2024

This should probably be addressed soon as it breaks on Elixir 1.17 for both case-sensitive and case-insensitive file systems and makes the google_api_compute unusable since it breaks releases.

Even though this worked fine for 1.16, it is not considered Elixir's issue:

elixir-lang/elixir#13816

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

4 participants