Author Topic: Git - error "File not found'  (Read 326 times)

mzel

  • Community Member
  • Posts: 26
  • Hero Points: 0
Git - error "File not found'
« on: January 31, 2021, 04:36:41 am »
I just started using git from Slick. I started a new project with a local repository. When I choose
Version control (Git) -> add xxx.py
I get the error pop up "File not found". Some git commands do work. I can add that file via
Compare Directory to git
I tried to generate the log file by adding
Code: [Select]
Set DEF_SVC_LOGGING=1in Workspace Environment Options, but nothing is added in the ...\My SlickEdit Config\24.0.1\logs\ I see only the pip.log there with 2 lines

patrickkox

  • Senior Community Member
  • Posts: 117
  • Hero Points: 6
  • Debian GNU/Linux user
Re: Git - error "File not found'
« Reply #1 on: January 31, 2021, 09:43:57 am »
Are you using SlickEdit version 24 ? (2019)

I've reported Git problems a while ago hereAnd the issue was fixed in version 25.0.0.9.

AFAIK, they didn't fix this in the older versions of SlickEdit (and I think it goes back to SlickEdit 2017, or 2016  at least that's the oldest version I could find)
Also, I think Dan posted a "work-around" that you could use.
Hope this helps

mzel

  • Community Member
  • Posts: 26
  • Hero Points: 0
Re: Git - error "File not found'
« Reply #2 on: January 31, 2021, 04:57:56 pm »
Thanks @patrickkox!

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2558
  • Hero Points: 141
Re: Git - error "File not found'
« Reply #3 on: January 31, 2021, 09:29:08 pm »
@mzel Have you got things going now?

mzel

  • Community Member
  • Posts: 26
  • Hero Points: 0
Re: Git - error "File not found'
« Reply #4 on: January 31, 2021, 10:32:30 pm »
No, still having issues

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2558
  • Hero Points: 141
Re: Git - error "File not found'
« Reply #5 on: February 01, 2021, 02:44:41 pm »
def_svc_logging is a SlickEdit macro variable.  You could set it by going to the SlickEdit command line and typing "set-var def_svc_logging 1".

We may not need that to sort this out.  If you go to Tools>Version Control>Setup, git should be selected.  If you then click the Setup button there, what do you have for "Git executable"?

mzel

  • Community Member
  • Posts: 26
  • Hero Points: 0
Re: Git - error "File not found'
« Reply #6 on: February 01, 2021, 05:03:23 pm »
C:\Program Files\Git\cmd\git.exe