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

mzel

  • Community Member
  • Posts: 29
  • 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: 136
  • 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: 29
  • 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: 2899
  • Hero Points: 153
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: 29
  • 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: 2899
  • Hero Points: 153
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: 29
  • 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