Skip to content

Diagnostics, Error Codes & FAQ ​

If you hit an error, the tab does not appear, or syncing misbehaves, work through this page first. If you need to report the problem to the developers, attach a redacted diagnostics package exported in one click.

Export Diagnostics and Copy Diagnostics ​

There are two ways to collect diagnostic information for an issue report; both are redacted automatically:

  • Export Diagnostics (recommended): click Export Diagnostics under Settings → Updates & Diagnostics on the ribbon, or in the "About WordGit" window, to create a .zip with versions, OS and Git environment, a settings summary and recent logs (kernel and add-in logs). User folders, user names, the service token, API keys, access tokens and sign-in details in remote URLs are removed, and no document content is included. Word then shows the file in File Explorer; if WPS cannot open the folder directly, it copies the path to the clipboard. Attach the .zip to a GitHub Issue. Packages are saved in the diagnostics folder of the runtime folder by default.

Click WordGit 0.14.0 at the far right of the ribbon to open the "About WordGit" window, where you can also:

  • Copy Diagnostics: automatically collects the add-in version, OS and process bitness, .NET version, host information, light/dark theme, Rust core engine connection status, data folder, AI summary configuration status and the last 30 lines of the error log. User names in paths, API keys (sk-*), Bearer tokens, x-wordgit-token and credentials in URLs are all redacted automatically, so you can paste the result straight into a GitHub Issue.
  • Open Log Folder: opens the logs folder so you can view wordgit.log.

The WordGit Tab Does Not Appear ​

Common causeSolution
The add-in has been uncheckedIn Word, open File → Options → Add-ins, choose COM Add-ins → Go in the "Manage" box at the bottom, then check WordGit → OK
Disabled automatically by Word (Word previously crashed or timed out while starting)On the same page, choose Disabled Items → Go in the "Manage" box, select WordGit and click Enable, restart Word, then re-check it as described in the row above
Incomplete runtime environmentDouble-click Check.cmd in the ZIP package, or click Check Environment (检查环境) in the installer (which is in Chinese), to confirm that desktop Word and .NET Framework 4.8 are installed; install anything missing and rerun the installer. If downloading Git failed, use About WordGit → Install / Repair Git to download it again or pick a local MinGit archive
Your organization's computer enforces "Require Application Add-ins to be signed"The current open-source installer is not commercially code-signed. If a mandatory signing policy is enabled under File → Options → Trust Center → Trust Center Settings → Add-ins, ask your IT administrator to allow it
Word is running in Safe ModeIf Word was started with winword /safe, Safe Mode skips all add-ins; start Word normally
Word was not fully closed during an upgradeCheck Task Manager to make sure no WINWORD.EXE process is left, then run Install / Update (安装 / 更新) in the installer again

Do not add the DLL manually

Do not click Add in the "COM Add-ins" dialog to select WordGit.dll. A .NET-based COM add-in must be loaded through the registry keys written by the installer; browsing to the DLL manually has no effect.

WPS Writer users should check WordGit's status under Tools → WPS Add-ins; for Linux / macOS troubleshooting, see WPS Writer (Windows / Linux / macOS).

File in Use or Cloud-Sync Folder Conflicts ​

Typical messages: "The file is being used by another process", "Cannot replace the current document", "Please use a local folder that is not synced".

  • OneDrive / Nutstore (坚果云) / SharePoint: move documents on which you frequently switch branches, restore in place or merge to a local folder outside the cloud-sync folder. If you only need to look at history temporarily, use Preview or Save Old Version instead.
  • Opened directly from a cloud link: first use "Save As" in Word to save the document to a local disk, or right-click the file in OneDrive and choose "Always keep on this device".
  • Locked by the preview pane: close the document preview pane on the right of Windows File Explorer, or stop real-time locking by your antivirus software, wait 2 seconds and try again.

Cannot Connect to the Local WordGit Core Engine ​

Typical messages: "Cannot connect to the WordGit core engine", "Core engine response timed out", "Token mismatch".

  1. Save your documents, fully close all Word / WPS windows and reopen the editor (the Word version tries to start the core engine automatically).
  2. Check whether local security software or a firewall is blocking wordgit.exe from listening on 127.0.0.1.
  3. If it still fails, click Export Diagnostics (or Copy Diagnostics) in "About WordGit" and attach the result to a report in GitHub Issues.

Encrypted Documents Cannot Be Committed ​

A .docx protected with "Encrypt with Password" cannot be parsed or committed. In Word, remove the open password first under File → Info → Protect Document, then manage its versions with WordGit.

Network Failures During Push, Pull or AI Summaries ​

  • Push rejected (non-fast-forward): a collaborator has already pushed a new version to the remote. Click Pull first to complete a fast-forward or a tracked-changes merge, then Push again.
  • HTTPS certificate or proxy problems: check your system proxy / VPN settings. If a self-hosted intranet server uses a self-signed certificate, set http.sslCAInfo in your global Git configuration.
  • AI summary errors: open Settings → AI Summary (or AI Settings… in the commit dialog) and check the base URL (it must start with http:// or https://), the model name and the API key, and make sure your account has credit or that your local Ollama service is running.

Interface Language and Settings ​

  • The ribbon is still in the old language: after you change the interface language under Settings → General & Author, dialogs opened afterwards use the new language right away, but the ribbon changes only after you restart Word / WPS.
  • Wrong commit author: the commit author is set under Settings → General & Author and applies only to new commits; existing commits keep their author. If the name is empty, the editor's user name is used.
  • Don't want the uncommitted-work reminder: turn it off under Settings → General & Author, or increase the number of minutes.
  • Do I need to re-enter my AI settings after upgrading? No. AI settings and the beta option from older versions are migrated automatically. If you see "Could not read the WordGit settings", make sure the core engine is running first (see "Cannot Connect to the Local WordGit Core Engine" above).

Core Engine Error Categories and Self-Help Reference ​

The local WordGit core engine classifies every operational error semantically and automatically attaches "troubleshooting suggestions" below the error dialog. You can also use the categories below as a reference:

Error type (internal code)Typical causeRecommended steps
File in use (file_locked)The File Explorer preview pane, an antivirus scan or another window has locked the .docxClose the File Explorer preview pane and any other process holding the file, wait 2 seconds and retry
Cloud document or synced path (cloud_document)The document was opened from an https:// cloud link, or an in-place replacement was attempted inside a live-synced OneDrive folderSave the document to a purely local folder that is not cloud-synced; if you only need to look at an old version, use Preview or Save Old Version instead
Git engine missing (git_missing)No Git 2.46+ on this computer and the bundled MinGit has not been downloaded yetClick Download Automatically in the prompt (Windows, via a mirror in mainland China), or import an offline MinGit archive under About WordGit → Install / Repair Git; on Linux / macOS install git with your system package manager
Remote authentication failed (auth_failed)The GitHub / Gitee token has expired, you lack write access to the repository, or no SSH public key is configuredFor HTTPS, sign in again in the Git Credential Manager window that pops up; for SSH, run ssh -T git@<host> to check your key permissions
Sign-in wait timed out (login_timeout)A browser or credential sign-in window was opened but not confirmed within 15 minutesStart the remote operation again and complete the authorization promptly in the browser or credential window that appears
Push rejected by the remote (push_rejected)A collaborator has already pushed new commits to the same branchClick Pull first to bring in the remote updates (fast-forward or review merge), then click Push again
Network or certificate error (network / timeout)The network dropped, the proxy port stopped working, or a self-hosted server uses a self-signed certificateCheck your network and system proxy; for a self-hosted HTTPS repository, configure git config --global http.sslCAInfo <certificate-path>
History state is stale (stale)The original file or branch was changed externally during a review mergeRefresh the commit graph pane on the right, confirm the latest state and regenerate the merged draft
Background task busy (busy)A commit / push task is already running for the current document, or the data folder is being movedWait for the current background operation in the progress window to finish before continuing

Released under the GPL-3.0-only license · WordGit brings Git version control to local documents · Disclaimer