Cannot deploy from Windows box
See original GitHub issueHi, I keep getting the following error when deploying from my windows machine to GitHub Pages over HTTPS.
\venv\lib\site-packages\lektor\publisher.py:658: ResourceWarning: unclosed file <_io.BufferedReader name=3> for line in git(['init']).output:
The same setting work for Linux and git works on my windows manchine outside of Lektor as I commit to my own projects.
Any ideas?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:16 (6 by maintainers)
Top Results From Across the Web
You cannot deploy Windows by using Windows PE 4.0 and a ...
Fixes an issue in which Windows is not deployed when you try to offline inject a third-party out-of-box storage controller driver.
Read more >Troubleshooting Common Problems with Web Deploy
This walkthrough shows how to diagnose and fix common problems with Web Deploy, including common errors seen while publishing from Visual ...
Read more >Windows 10 deployments fail with Microsoft Deployment ...
Windows 10 deployments using the Microsoft Deployment Toolkit (MDT) build 8456 fail when used with the Windows Assessment and Deployment Kit ...
Read more >Cannot deploy Windows 10 21H2 - Microsoft Q&A
Cannot deploy Windows 10 21H2. When creating a new task sequence using the latest Windows 10 21H2 Enterprise Right click the newly created...
Read more >Windows Deployment Service can not deploy Windows (any ...
ESXi on Machine 2, has a Windows Server 2012 R2 installed, running AD DC and DHCP. Then the WDS server should be used...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If Git is executed in Windows Command Prompt or site is deployed from web interface, it may be path delimiter is incorrect for Git, which recognizes it as escaped characters. This can be fixed by replacing \ to \\. Workaround: add replace on line 595 (in
def update_git_config()
) inpublisher.py
cred_path = os.path.join(repo, '.git', 'credentials').replace('\\', '\\\\')
After doing that, the site is deployed correctly.The simplest workaround is to use an SSH key instead of a personal access token.