Giter VIP home page Giter VIP logo

Comments (6)

definitelyokay avatar definitelyokay commented on August 22, 2024 1

It would be interesting to see if eliminating Dropbox from the equation resolves the issue.

@justinhhorner I believe the dropbox paths from my computer were baked into the debug symbols somehow — there isn't any reference like that in the actual codebase. So I don't think that's a factor here.

@gustaflindqvist maybe try running godotenv godot env path and manually deleting everything in the godotenv/godot/versions directory where it saves Godot and try re-installing?

Could this be connected to godotenv godot env setup maybe, where it's says source /.zshrc?

No, I don't think so. Running godotenv godot env setup will just set an environment variable so you can run $GODOT from anywhere for cli usage. GodotEnv doesn't actually use the environment variable, it just maintains it.

The new error message is more helpful, but I'm still not sure how anything on that line is coming back null without actually being able to debug on your computer. If you want, you can actually clone the repo and run the tool locally to debug it — that would be tremendously helpful to me if you're able to make the effort.

from godotenv.

gustaflindqvist avatar gustaflindqvist commented on August 22, 2024 1

It would be interesting to see if eliminating Dropbox from the equation resolves the issue.

@justinhhorner I believe the dropbox paths from my computer were baked into the debug symbols somehow — there isn't any reference like that in the actual codebase. So I don't think that's a factor here.

@gustaflindqvist maybe try running godotenv godot env path and manually deleting everything in the godotenv/godot/versions directory where it saves Godot and try re-installing?

Yeah, by manually deleting everything inside godotenv/godot/versions directory solved the problem. 👍🏻 🙈

from godotenv.

definitelyokay avatar definitelyokay commented on August 22, 2024

Thanks for letting me know! I wasn't able to reproduce.

  • Did you have any existing godot installs made with godotenv to list?
  • Can you try reproducing on the latest version?

from godotenv.

justinhhorner avatar justinhhorner commented on August 22, 2024

I was unable to reproduce this on macOS Sonoma 14.0 using the latest version of godotenv (1.2.0).

It would be interesting to see if eliminating Dropbox from the equation resolves the issue.

from godotenv.

gustaflindqvist avatar gustaflindqvist commented on August 22, 2024

Thanks for letting me know! I wasn't able to reproduce.

* Did you have any existing godot installs made with godotenv to list?

* Can you try reproducing on the latest version?

Existing godot install was godot_dotnet_4_2_0_dev4

After upgrade to 1.2.0 I got this version:

$ godotenv --version
1.2.0+df2305e551dc696828a086b91c52cf131e642c5d

and now I got this error:

ERROR
System.NullReferenceException: Object reference not set to an instance of an object.
  at Chickensoft.GodotEnv.Features.Godot.Domain.GodotRepository.<>c.<GetInstallationsList>b__38_0(GodotInstallation i) in /Users/joanna/Dropbox/GameDev/Chickensoft/GodotEnv/GodotEnv/src/features/godot/domain/GodotRepository.cs:448
  at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
  at System.Linq.EnumerableSorter`1.ComputeMap(TElement[] elements, Int32 count)
  at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
  at System.Linq.OrderedEnumerable`1.ToList()
  at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
  at Chickensoft.GodotEnv.Features.Godot.Domain.GodotRepository.GetInstallationsList() in /Users/joanna/Dropbox/GameDev/Chickensoft/GodotEnv/GodotEnv/src/features/godot/domain/GodotRepository.cs:420
  at Chickensoft.GodotEnv.Features.Addons.Commands.GodotListCommand.ListLocalVersions(ILog log, IGodotRepository godotRepo) in /Users/joanna/Dropbox/GameDev/Chickensoft/GodotEnv/GodotEnv/src/features/godot/commands/GodotListCommand.cs:25
  at Chickensoft.GodotEnv.Features.Addons.Commands.GodotListCommand.ExecuteAsync(IConsole console) in /Users/joanna/Dropbox/GameDev/Chickensoft/GodotEnv/GodotEnv/src/features/godot/commands/GodotListCommand.cs:53
  at CliFx.CliApplication.RunAsync(ApplicationSchema applicationSchema, CommandInput commandInput) in /_/CliFx/CliApplication.cs:153
  at CliFx.CliApplication.RunAsync(IReadOnlyList`1 commandLineArguments, IReadOnlyDictionary`2 environmentVariables) in /_/CliFx/CliApplication.cs:193

Could this be connected to godotenv godot env setup maybe, where it's says source /.zshrc? I'm using bash, since I'm old school, and I guess it won't add needed env to my shell?

I was unable to reproduce this on macOS Sonoma 14.0 using the latest version of godotenv (1.2.0).

It would be interesting to see if eliminating Dropbox from the equation resolves the issue.

from godotenv.

definitelyokay avatar definitelyokay commented on August 22, 2024

Okay, maybe something went wrong during the install. Will close this until it pops up again (if it does at all).

from godotenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.