You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build the IPS repo cloned from Github results in exception in pydates:
$ python3.7 ./src/setup.py install
running install
running build
running build_py
Traceback (most recent call last):
File "/home/vkotal/solaris-ips/src/pydates", line 36, in <module>
repo = localrepo.instance(myui, cmdutil.findrepo(os.getcwd()), False)
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 2810, in instance
localpath = util.urllocalpath(path)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 2947, in urllocalpath
return url(path, parsequery=False, parsefragment=False).localpath()
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 2726, in __init__
if hasdriveletter(path) or path.startswith('\\\\'):
AttributeError: 'NoneType' object has no attribute 'startswith'
This is because it constructs a Mercurial repository object from cmdutil.findrepo(os.getcwd()). Of course, the repo cloned from Github is Git repo and not a Mercurial repo as the findrepo() expects, therefore it returns None.
The text was updated successfully, but these errors were encountered:
Trying to build the IPS repo cloned from Github results in exception in
pydates
:This is because it constructs a Mercurial repository object from
cmdutil.findrepo(os.getcwd())
. Of course, the repo cloned from Github is Git repo and not a Mercurial repo as thefindrepo()
expects, therefore it returnsNone
.The text was updated successfully, but these errors were encountered: