Google Breakpad 无法编译

发布于 2024-11-01 01:06:04 字数 778 浏览 9 评论 0原文

收到错误

  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

我正在尝试构建 google-breakpad ,但在运行时 命令

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

有谁知道 Google-Breakpad 是否损坏或者我如何修复此错误?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

两相知 2024-11-08 01:06:04

我不知道它是否能解决您的问题,但您始终可以考虑提高最大递归深度。 Python 允许您使用名为 sys.setrecursionlimit() 的函数来配置它。我能收集到的默认限制是 1000,所以你可能会幸运地把它增加到 1500 或 2000。Python

文档在这里不是很友好,只说最大递归限制是依赖于平台的,但是给出尝试一下,看看是否有效。

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.

深白境迁sunset 2024-11-08 01:06:04

这是由于错误安装了 python 造成的。

This was due to a misinstalled python.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文