Git Product home page Git Product logo

Comments (8)

maweki avatar maweki commented on July 22, 2024 1

is solved the update issue by going into the .joe-data directory and manually checking out the master branch. After checking out the branch, joe recognizes the .gitignore files.

from joe.

jacekmusial avatar jacekmusial commented on July 22, 2024

Well, same here.
OS: Win10
C:\Users\me\IdeaProjects\PeselVerification>joe g scala
2018/06/23 20:15:46 open .joe-data: Nie można odnaleźć określonego pliku.

Nie można odnaleźć określonego pliku means "The system cannot find the file specified"

from joe.

mihakrajnc avatar mihakrajnc commented on July 22, 2024

Same here, any news on this?

from joe.

kerogenesis avatar kerogenesis commented on July 22, 2024

Same here. Win10.

from joe.

lucasjoao avatar lucasjoao commented on July 22, 2024

Same here. OS: Manjaro.

from joe.

chronodm avatar chronodm commented on July 22, 2024

It seems like Joe doesn't create $HOME/.joe-data if it doesn't already exist.

As a workaround, try mkdir ~/.joe-data && joe u to reinstall the list of templates.

(Note: for Windows you'll obviously need to modify that command. From the source, it looks like Joe uses %HOME%, but I don't know what that's set to on Windows, or whether it's set in all cases—this issue on an unrelated Go project suggests it might not be.)

from joe.

andrewmeissner avatar andrewmeissner commented on July 22, 2024

I've got a PR in to fix this, but I've also forked the repo in the meantime. github.com/andrewmeissner/joe has the fixes as well and binaries that should work. Once the PR is merged i'll probably delete my repo since it's just there for the PR anyway.

from joe.

kendfss avatar kendfss commented on July 22, 2024

This issue was caused by way the dataPath var was set in joe.go. It called os.Getenv("HOME"), but that's not compatible with Windows.
You can fix this error by replacing that line with the following:

var (
  userHome, _ = os.UserHomeDir()
  dataPath    = path.Join(userHome, dataDir)
)

here's a fork that patches this error. It also uses modules, so install is as easy as go install.

from joe.

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.