![]() ![]() Recent versions of hg and thg (maybe since Nov 2020) add the user site Thg.exe that load python27.dll and read *.pyc files from library.zip. There's no python.exe- it's py2exe generated binaries named hg.exe and ![]() > (I'm unsure how TortoiseHg installs its Python VM on Windows, but I've assumed that it gets added to %PATH% as ‘python’.) Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This is free software see the source for copying conditions. Mercurial Distributed SCM (version 5.8rc0)Ĭopyright (C) 2005-2021 Olivia Mackall and others $ hg version -v -config extensions.hggit= On pypi, and I uninstalled ipaddress and brotli from the site-package It cloned fine once I disabled demandimport. I've tried using the python 2 compatible hg git version with old dulwich that work with python 2.7.įile "mercurial\extensions.pyo", line 512, in closureįile "C:\Users\Matt\AppData\Roaming\Python\Python27\site-packages\hggit\util.py",įile "C:\Users\Matt\AppData\Roaming\Python\Python27\site-packages\hggit\_init_.py",įile "C:\Users\Matt\AppData\Roaming\Python\Python27\site-packages\hggit\git_handler.py",įile "C:\Users\Matt\AppData\Roaming\Python\Python27\site-packages\dulwich\client.py",įile "C:\Users\Matt\AppData\Roaming\Python\Python27\site-packages\urllib3\request.py",įile "C:\Users\Matt\AppData\Roaming\Python\Python27\site-packages\urllib3\poolmanager.py",įile "C:\Users\Matt\AppData\Roaming\Python\Python27\site-packages\urllib3\connectionpool.py",įile "C:\Users\Matt\AppData\Roaming\Python\Python27\site-packages\urllib3\connection.py",įile "C:\Users\Matt\AppData\Roaming\Python\Python27\site-packages\urllib3\packages\ssl_match_hostname\_implementation.py",įile "hgdemandimport\demandimportpy2.pyo", line 157, in _getattr_įile "hgdemandimport\demandimportpy2.pyo", line 97, in _loadįile "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport > It seems the main issue stems from tortoise using it's own python 2.7 environment with its own library. I've tried all I can think of, can anyone confirm that it is possible to get hg-git to work with tortoisehg currently. > I'm having some major trouble getting hggit to work with tortoise. > To unsubscribe from this group and stop receiving emails from it, send an email to To view this discussion on the web visit. > You received this message because you are subscribed to the Google Groups "hg-git" group. > Any suggestions? Or just give me a confirmation that it's possible to work? > def object_header(num_type: int, length: int) -> bytes: > File "C:\Program Files\TortoiseHg\lib\library.zip\dulwich\objects.py", line 154 > AttributeError: 'list' object has no attribute 'encode' > command = command.encode(SSHGitClient.DEFAULT_ENCODING) ![]() > File "C:/Users/Connor/Desktop\hggit\_ssh.py", line 25, in run_command Been tackling with it all night and imagine im making some dumb mistake.> When I use old dulwich (0.10.0) and run When i add it to a shell_command (seen above) and run it either from a switch or from the developer tools i get Error running command: 'ssh -o StrictHostKe圜hecking=no -o ServerAliveInterval=1 -o ServerAliveCountMax=1 -i /config/.ssh/id_rsa "shutdown /h"', return code: 255Īny ideas? I feel like i cant be the first person to run into this issue. When i run this command from the terminal addin it works flawlessly, no password prompt and within a few moments the pc is hibernating. Turn_off_pc: 'ssh -o StrictHostKe圜hecking=no -o ServerAliveInterval=1 -o ServerAliveCountMax=1 -i /config/.ssh/id_rsa "shutdown /h"' This seems to be the issue: shell_command: I was following a tutorial here to set up an ssh script to tell my pc to hibernate when i want. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |