Giter Club home page Giter Club logo

Comments (12)

milovincent avatar milovincent commented on May 31, 2024 1

i'm not about to make you learn more about windows, that's already enough of a burden on me lol; i'm gonna try to make my own plugin and see how it goes i think, needed the experience anyway

from kirby-git-content.

thathoff avatar thathoff commented on May 31, 2024

Hi, can you try to run the commit via CLI manually? Do you get any errors? Do you have any other plugins installed which also hook into the page.update hook?

from kirby-git-content.

milovincent avatar milovincent commented on May 31, 2024

I don't, and committing via CLI works with no errors as long as i haven't tried to commit via the panel first (bc of the aforementioned lock file issue). thanks for the quick response, by the way!

from kirby-git-content.

milovincent avatar milovincent commented on May 31, 2024

the error looks like this:

fatal: Unable to create '/mnt/f/web/appsite/content/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

from kirby-git-content.

thathoff avatar thathoff commented on May 31, 2024

That’s strange. It seems to me that for some reason the commit does not go through properly. Do you see any pending git process? Any Logfiles?

Did you try to set thathoff.git-content.displayErrors to true?

from kirby-git-content.

milovincent avatar milovincent commented on May 31, 2024

I did, the same error showed up in a dialog box in the panel

from kirby-git-content.

milovincent avatar milovincent commented on May 31, 2024

in the logs there's a line that looks like this, as well:
[Mon Apr 26 14:58:59.406085 2021] [php7:error] [pid 61044:tid 1856] [client ::1:49190] PHP Fatal error: Maximum execution time of 120 seconds exceeded in F:\\web\\appsitePlusContent\\vendor\\coyl\\git\\src\\Coyl\\Git\\Console.php on line 93, referer: http://localhost/panel/pages/documentation+channel-adjustment

from kirby-git-content.

milovincent avatar milovincent commented on May 31, 2024

that's the only line with git in it other than the 2 errors before then from me not setting the executable path yet.

from kirby-git-content.

thathoff avatar thathoff commented on May 31, 2024

My guess is that something blocks the commit. I would try

  • to check if another process using the same git repo (eg. the IDE)
  • try to find out what the git process does which is started by this plugin
  • check if something is different when this plugin runs a commit vs. you running a commit via cli (eg. different git binary, different user, etc.)

My Windows knowledge is very basic so I have no ideas how to debug this issue but I hope that helps.

from kirby-git-content.

milovincent avatar milovincent commented on May 31, 2024

the problem did seem to be running on windows, ran on wsl and it was fine

from kirby-git-content.

thathoff avatar thathoff commented on May 31, 2024

Actually I’ve never testet the plugin with windows other then on WSL. Thanks for the update…

from kirby-git-content.

thathoff avatar thathoff commented on May 31, 2024

This might be fixed in v5 with the new git library, so I’m closing this here for now.

from kirby-git-content.

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.