Skip to content

pyre persistent cannot find existing pyre.bin in $PATH #997

@Bekaboo

Description

@Bekaboo

Pyre Bug

Bug description
pyre persistent cannot find existing pyre.bin in although it is already in $PATH.
.
Reproduction steps

  1. Create and activate python virtual environment
  2. Install pyre
  3. Run pyre persistent
  4. Pyre finding pyre.bin forever: ƛ No binary specified, looking for pyre.bin in PATH [118.8s]
  5. Verify that pyre.bin exists in $PATH and command pyre.bin is available.

Expected behavior
Should find pyre.bin.

Logs
Please include any relevant logs here:

2025-06-26 23:36:29,112 [PID 3604] INFO  Initializing shared memory (heap_size: 8589934592, dep_table_pow: 27, hash_table_pow: 26)
2025-06-26 23:36:29,214 [PID 3604] INFO  Creating environment...
2025-06-26 23:36:29,214 [PID 3604] INFO  Building module tracker...
2025-06-26 23:36:36,093 [PID 3604] PERFORMANCE  Module tracker built: 6.896s
2025-06-26 23:36:36,204 [PID 3604] PERFORMANCE  Full environment built: 7.009s
2025-06-26 23:36:36,207 [PID 3604] INFO  Collecting all definitions...
2025-06-26 23:36:37,673 [PID 3604] PERFORMANCE  Collected definitions (defines: 2656): 1.466s
2025-06-26 23:36:37,673 [PID 3604] INFO  Checking 2656 functions...
2025-06-26 23:36:41,280 [PID 3604] INFO  Processed 148 of 2656 functions
2025-06-26 23:36:41,419 [PID 3604] INFO  Processed 296 of 2656 functions
2025-06-26 23:36:41,483 [PID 3604] INFO  Processed 444 of 2656 functions
2025-06-26 23:36:41,594 [PID 3604] INFO  Processed 592 of 2656 functions
2025-06-26 23:36:42,206 [PID 3604] INFO  Processed 740 of 2656 functions
2025-06-26 23:36:42,621 [PID 3604] INFO  Processed 888 of 2656 functions
2025-06-26 23:36:42,845 [PID 3604] INFO  Processed 1036 of 2656 functions
2025-06-26 23:36:42,925 [PID 3604] INFO  Processed 1184 of 2656 functions
2025-06-26 23:36:43,011 [PID 3604] INFO  Processed 1332 of 2656 functions
2025-06-26 23:36:43,034 [PID 3604] INFO  Processed 1480 of 2656 functions
2025-06-26 23:36:43,147 [PID 3604] INFO  Processed 1628 of 2656 functions
2025-06-26 23:36:43,160 [PID 3604] INFO  Processed 1776 of 2656 functions
2025-06-26 23:36:43,481 [PID 3604] INFO  Processed 1924 of 2656 functions
2025-06-26 23:36:43,568 [PID 3604] INFO  Processed 2072 of 2656 functions
2025-06-26 23:36:43,622 [PID 3604] INFO  Processed 2220 of 2656 functions
2025-06-26 23:36:43,821 [PID 3604] INFO  Processed 2368 of 2656 functions
2025-06-26 23:36:44,015 [PID 3604] INFO  Processed 2508 of 2656 functions
2025-06-26 23:36:47,459 [PID 3604] INFO  Processed 2656 of 2656 functions
2025-06-26 23:36:47,460 [PID 3604] PERFORMANCE  Check_TypeCheck: 9.788s
2025-06-26 23:36:47,460 [PID 3604] MEMORY  Shared memory size post-typecheck (size: 46)
2025-06-26 23:36:47,460 [PID 3604] INFO  Postprocessing 217 sources...
2025-06-26 23:36:47,545 [PID 3604] INFO  Postprocessed 217 of 217 sources
2025-06-26 23:36:47,546 [PID 3604] PERFORMANCE  Check_Postprocessing: 0.084s
2025-06-26 23:36:47,546 [PID 3604] PERFORMANCE  Check (request kind: FullCheck): 18.349s
2025-06-26 23:36:47,614 [PID 3604] ERROR Found 2 type errors!
2025-06-26 23:37:15,295 [PID 9189] DEBUG Using selector: KqueueSelector
2025-06-26 23:37:15,296 [PID 9189] INFO Reading Pyre server configurations...
2025-06-26 23:37:15,298 [PID 9189] INFO Could not determine the number of Pyre workers from configuration. Auto-set the value to 9.
2025-06-26 23:37:15,298 [PID 9189] INFO No typeshed specified, looking for it...
2025-06-26 23:37:15,298 [PID 9189] INFO Found: `/Users/user/.pyenv/versions/3.10.17/envs/virtual-agent/lib/pyre_check/typeshed`
2025-06-26 23:37:15,303 [PID 9189] INFO No binary specified, looking for `pyre.bin` in PATH
2025-06-26 23:53:50,251 [PID 9189] ERROR 
2025-06-26 23:54:08,736 [PID 36704] DEBUG Using selector: KqueueSelector
2025-06-26 23:54:08,737 [PID 36704] INFO Reading Pyre server configurations...
2025-06-26 23:54:08,739 [PID 36704] INFO Could not determine the number of Pyre workers from configuration. Auto-set the value to 9.
2025-06-26 23:54:08,739 [PID 36704] INFO No typeshed specified, looking for it...
2025-06-26 23:54:08,739 [PID 36704] INFO Found: `/Users/user/.pyenv/versions/3.10.17/envs/virtual-agent/lib/pyre_check/typeshed`
2025-06-26 23:54:08,742 [PID 36704] INFO No binary specified, looking for `pyre.bin` in PATH
2025-06-26 23:55:20,185 [PID 36704] ERROR 
2025-06-26 23:56:04,693 [PID 52579] DEBUG Using selector: KqueueSelector
2025-06-26 23:56:04,695 [PID 52579] INFO Reading Pyre server configurations...
2025-06-26 23:56:04,699 [PID 52579] INFO Could not determine the number of Pyre workers from configuration. Auto-set the value to 9.
2025-06-26 23:56:04,699 [PID 52579] INFO No typeshed specified, looking for it...
2025-06-26 23:56:04,699 [PID 52579] INFO Found: `/Users/user/.pyenv/versions/3.10.17/envs/virtual-agent/lib/pyre_check/typeshed`
2025-06-26 23:56:04,703 [PID 52579] INFO No binary specified, looking for `pyre.bin` in PATH
2025-06-26 23:56:07,008 [PID 52579] ERROR 
2025-06-27 08:30:53,295 [PID 58132] DEBUG Using selector: KqueueSelector
2025-06-27 08:30:53,296 [PID 58132] INFO Reading Pyre server configurations...
2025-06-27 08:30:53,297 [PID 58132] INFO Could not determine the number of Pyre workers from configuration. Auto-set the value to 9.
2025-06-27 08:30:53,297 [PID 58132] INFO No typeshed specified, looking for it...
2025-06-27 08:30:53,298 [PID 58132] INFO Found: `/Users/user/.pyenv/versions/3.10.17/envs/virtual-agent/lib/pyre_check/typeshed`
2025-06-27 08:30:53,309 [PID 58132] INFO No binary specified, looking for `pyre.bin` in PATH
2025-06-27 08:30:55,800 [PID 58132] ERROR 
2025-06-27 08:35:27,037 [PID 92310] DEBUG Using selector: KqueueSelector
2025-06-27 08:35:27,038 [PID 92310] INFO Reading Pyre server configurations...
2025-06-27 08:35:27,040 [PID 92310] INFO Could not determine the number of Pyre workers from configuration. Auto-set the value to 9.
2025-06-27 08:35:27,040 [PID 92310] INFO No typeshed specified, looking for it...
2025-06-27 08:35:27,040 [PID 92310] INFO Found: `/Users/user/.pyenv/versions/3.10.17/envs/virtual-agent/lib/pyre_check/typeshed`
2025-06-27 08:35:27,042 [PID 92310] INFO No binary specified, looking for `pyre.bin` in PATH
2025-06-27 08:35:32,120 [PID 92310] ERROR 
2025-06-27 08:37:42,118 [PID 10811] DEBUG Using selector: KqueueSelector
2025-06-27 08:37:42,119 [PID 10811] INFO Reading Pyre server configurations...
2025-06-27 08:37:42,122 [PID 10811] INFO Could not determine the number of Pyre workers from configuration. Auto-set the value to 9.
2025-06-27 08:37:42,122 [PID 10811] INFO No typeshed specified, looking for it...
2025-06-27 08:37:42,123 [PID 10811] INFO Found: `/Users/user/.pyenv/versions/3.10.17/envs/virtual-agent/lib/pyre_check/typeshed`
2025-06-27 08:37:42,126 [PID 10811] INFO No binary specified, looking for `pyre.bin` in PATH
2025-06-27 08:37:54,376 [PID 10811] ERROR 
2025-06-27 08:39:20,290 [PID 25027] DEBUG Using selector: KqueueSelector
2025-06-27 08:39:20,291 [PID 25027] INFO Reading Pyre server configurations...
2025-06-27 08:39:20,294 [PID 25027] INFO Could not determine the number of Pyre workers from configuration. Auto-set the value to 9.
2025-06-27 08:39:20,294 [PID 25027] INFO No typeshed specified, looking for it...
2025-06-27 08:39:20,294 [PID 25027] INFO Found: `/Users/user/.pyenv/versions/3.10.17/envs/virtual-agent/lib/pyre_check/typeshed`
2025-06-27 08:39:20,303 [PID 25027] INFO No binary specified, looking for `pyre.bin` in PATH
2025-06-27 08:39:22,154 [PID 25027] ERROR 
2025-06-27 09:13:25,858 [PID 75718] DEBUG Using selector: KqueueSelector
2025-06-27 09:13:25,859 [PID 75718] INFO Reading Pyre server configurations...
2025-06-27 09:13:25,860 [PID 75718] INFO Could not determine the number of Pyre workers from configuration. Auto-set the value to 9.
2025-06-27 09:13:25,860 [PID 75718] INFO No typeshed specified, looking for it...
2025-06-27 09:13:25,860 [PID 75718] INFO Found: `/Users/user/.pyenv/versions/3.10.17/envs/virtual-agent/lib/pyre_check/typeshed`
2025-06-27 09:13:25,868 [PID 75718] INFO No binary specified, looking for `pyre.bin` in PATH
2025-06-27 09:13:56,241 [PID 75718] ERROR 

Please run your reproduction steps followed by pyre rage > pyre_rage.log, and upload the file here:

pyre_rage.log

Additional context
Add any other context about the problem here. (like dependencies in your venv, third party stub files being used, overall goals, etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions