Repository navigation
"Bad CPU type in executable" ? #622
Copy link
Copy link
Open
Labels
gssoc:approvedGSSoC validation: counts toward scoringGSSoC validation: counts toward scoringlevel:intermediateGSSoC difficulty: 35 pts contributor / 20 mentorGSSoC difficulty: 35 pts contributor / 20 mentormentor:Shashankss1205GSSoC mentor attribution: credits reviewing mentorGSSoC mentor attribution: credits reviewing mentortype:bugGSSoC type bonus: bugGSSoC type bonus: bug
Description
Hi
I finally got it installed but running a basic indexing gives the following error on a Intel Mac:
Loaded configuration from: /Users/vc1/repo/.env, mcp.json (highest priority: mcp.json)
Using database: FalkorDB
Initializing services and database connection...
╭────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/codegraphcontext/cli/main.py:811 in │
│ index │
│ │
│ 808 │ │ console.print("[yellow]Force re-indexing (--force flag detected)[/yellow]") ╭─── locals ────╮ │
│ 809 │ │ reindex_helper(path) │ force = False │ │
│ 810 │ else: │ path = '.' │ │
│ ❱ 811 │ │ index_helper(path) ╰───────────────╯ │
│ 812 │
│ 813 @app.command() │
│ 814 def clean(): │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/codegraphcontext/cli/cli_helpers.py:5 │
│ 1 in index_helper │
│ │
│ 48 def index_helper(path: str): │
│ 49 │ """Synchronously indexes a repository.""" │
│ 50 │ time_start = time.time() │
│ ❱ 51 │ services = _initialize_services() │
│ 52 │ if not all(services): │
│ 53 │ │ return │
│ 54 │
│ │
│ ╭──────────── locals ────────────╮ │
│ │ path = '.' │ │
│ │ time_start = 1770719757.792331 │ │
│ ╰────────────────────────────────╯ │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/codegraphcontext/cli/cli_helpers.py:2 │
│ 9 in _initialize_services │
│ │
│ 26 │ │ return None, None, None │
│ 27 │ │
│ 28 │ try: │
│ ❱ 29 │ │ db_manager.get_driver() │
│ 30 │ except ValueError as e: │
│ 31 │ │ console.print(f"[bold red]Database Connection Error:[/bold red] {e}") │
│ 32 │ │ console.print("Please ensure your Neo4j credentials are correct and the database │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ db_manager = <codegraphcontext.core.database_falkordb.FalkorDBManager object at 0x1185a8980> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/codegraphcontext/core/database_falkor │
│ db.py:109 in get_driver │
│ │
│ 106 │ │ │ │ │ │ │ sys.path.pop(0) │
│ 107 │ │ │ │ │ │
│ 108 │ │ │ │ │ try: │
│ ❱ 109 │ │ │ │ │ │ self._ensure_server_running() │
│ 110 │ │ │ │ │ │ │
│ 111 │ │ │ │ │ │ # Use Official FalkorDB Client to connect to the socket │
│ 112 │ │ │ │ │ │ from falkordb import FalkorDB │
│ │
│ ╭───────────────────────────────────────────────────── locals ──────────────────────────────────────────────────────╮ │
│ │ platform = <module 'platform' from │ │
│ │ '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/platform.py'> │ │
│ │ potential_shadow = '/Library/Frameworks/Python.framework/Versions/3.13/bin/falkordb.so' │ │
│ │ self = <codegraphcontext.core.database_falkordb.FalkorDBManager object at 0x1185a8980> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/codegraphcontext/core/database_falkor │
│ db.py:197 in _ensure_server_running │
│ │
│ 194 │ │ │ # Check if process died │
│ 195 │ │ │ if self._process.poll() is not None: │
│ 196 │ │ │ │ out, err = self._process.communicate() │
│ ❱ 197 │ │ │ │ raise RuntimeError(f"FalkorDB worker failed to start (Exit Code {self._p │
│ 198 │ │ │ │
│ 199 │ │ │ time.sleep(0.5) │
│ 200 │
│ │
│ ╭───────────────────────────────────────────────────── locals ──────────────────────────────────────────────────────╮ │
│ │ cmd = [ │ │
│ │ │ '/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13', │ │
│ │ │ '-m', │ │
│ │ │ 'codegraphcontext.core.falkor_worker' │ │
│ │ ] │ │
│ │ env = { │ │
│ │ │ 'MANPATH': '/Users/andreas/Library/Application │ │
│ │ Support/Herd/config/nvm/versions/node/v22.19.'+108, │ │
│ │ │ 'GHOSTTY_RESOURCES_DIR': '/Applications/Ghostty.app/Contents/Resources/ghostty', │ │
│ │ │ 'TERM_PROGRAM': 'ghostty', │ │
│ │ │ 'TERM': 'xterm-256color', │ │
│ │ │ 'SHELL': '/bin/zsh', │ │
│ │ │ 'TMPDIR': '/var/folders/wd/th_5p7mn79s4m6vvmw2l_3t40000gn/T/', │ │
│ │ │ 'TERM_PROGRAM_VERSION': '1.2.3', │ │
│ │ │ 'USER': 'andreas', │ │
│ │ │ 'COMMAND_MODE': 'unix2003', │ │
│ │ │ 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.byshH3lHF7/Listeners', │ │
│ │ │ ... +171 │ │
│ │ } │ │
│ │ err = b'2026-02-10 11:35:58,584 - falkor_worker - INFO - Starting FalkorDB Lite worker..'+2452 │ │
│ │ out = b'' │ │
│ │ platform = <module 'platform' from │ │
│ │ '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/platform.py'> │ │
│ │ python_exe = '/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13' │ │
│ │ self = <codegraphcontext.core.database_falkordb.FalkorDBManager object at 0x1185a8980> │ │
│ │ start_time = 1770719757.799692 │ │
│ │ timeout = 20 │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: FalkorDB worker failed to start (Exit Code 1):
STDOUT:
STDERR: 2026-02-10 11:35:58,584 - falkor_worker - INFO - Starting FalkorDB Lite worker...
2026-02-10 11:35:58,584 - falkor_worker - INFO - DB Path: /Users/andreas/.codegraphcontext/falkordb.db
2026-02-10 11:35:58,585 - falkor_worker - INFO - Socket: /Users/andreas/.codegraphcontext/falkordb.sock
2026-02-10 11:35:58,697 - falkor_worker - ERROR - FalkorDB Worker Critical Failure: [Errno 86] Bad CPU type in
executable: '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/redislite/bin/redis-server'
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/codegraphcontext/core/falkor_worker.py",
line 57, in run_worker
db_instance = FalkorDB(db_path, unix_socket_path=socket_path)
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/redislite/falkordb_client.py",
line 99, in __init__
self.client = Redis(
~~~~~^
dbfilename=dbfilename,
^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
**kwargs
^^^^^^^^
)
^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/redislite/client.py", line 461,
in __init__
self._start_redis()
~~~~~~~~~~~~~~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/redislite/client.py", line 253,
in _start_redis
rc = subprocess.call(command)
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 395, in call
with Popen(*popenargs, **kwargs) as p:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 1039, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 1972, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 86] Bad CPU type in executable:
'/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/redislite/bin/redis-server'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
gssoc:approvedGSSoC validation: counts toward scoringGSSoC validation: counts toward scoringlevel:intermediateGSSoC difficulty: 35 pts contributor / 20 mentorGSSoC difficulty: 35 pts contributor / 20 mentormentor:Shashankss1205GSSoC mentor attribution: credits reviewing mentorGSSoC mentor attribution: credits reviewing mentortype:bugGSSoC type bonus: bugGSSoC type bonus: bug
Type
Projects
- StatusShow more project fieldsBacklog tasks
- StatusShow more project fieldsWebDevs
Activity
github-actions commentedon Feb 10, 2026
Hi! 👋 Join our CodeGraphContext Discord channel to collaborate: https://discord.gg/dR4QY32uYQ
Shashankss1205 commentedon Feb 10, 2026
Hey @pimpmypixel , can you please install neo4j using
cgc neo4j setupand change the DEFAULT_DATABASE=neo4j across all json and env. Uptil then, I will try sorting this out. I don't have an intel Mac so perhaps it can have some issues that needs debuggingShashankss1205 commentedon Oct 15, 2026
Maintenance review — 15 October 2026
This report concerns an Intel Mac native executable mismatch. Merged #1737 improves Ladybug native availability detection, but does not prove the original Falkor executable issue resolved; a current Intel macOS reproduction is still needed.