4

I am attempting to build google-breakpad and I am getting the error

  File "C:\google-breakpad\src\tools\gyp\pylib\gyp\generator\msvs.py", line 907, in _GetPathDict
    parent_dict = _GetPathDict(root, parent)
  File "C:\google-breakpad\src\tools\gyp\pylib\gyp\generator\msvs.py", line 906, in _GetPathDict
    parent, folder = os.path.split(path)
  File "C:\Python27\lib\ntpath.py", line 170, in split
    d, p = splitdrive(p)
  File "C:\Python27\lib\ntpath.py", line 125, in splitdrive
    if p[1:2] == ':':
RuntimeError: maximum recursion depth exceeded in cmp

When I run the command

src\tools\gyp\gyp.bat src\client\windows\breakpad_client.gyp

Does anyone know if Google-Breakpad is broken or how I may fix this error?

Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
chadb
  • 1,138
  • 3
  • 13
  • 36

2 Answers2

0

I don't know if it'll fix your problem or not, but you could always consider raising the maximum recursion depth. Python allows you to configure it by using a function called sys.setrecursionlimit(). The default limit from what I can gather is 1000, so you might have luck by increasing it to, say, 1500 or 2000.

The python documentation isn't terribly friendly here, only saying that the maximum recursion limit is platform dependent, but give it a shot and see if it works.

0

This was due to a misinstalled python.

chadb
  • 1,138
  • 3
  • 13
  • 36
  • Can you go in to more detail? What specifically did you do to address this? I'm getting the same error and don't know what I might have done in the Python config process that would have caused it to be misconfigured. – Quintus Sep 09 '11 at 17:55