question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

My program stuck in fifo_server.py file

See original GitHub issue

Hi, I have a question, I changed the source code of ai2thor, and built it successfully in macos. But when I run the code:

import ai2thor.controller
controller=ai2thor.controller.Controller(local_executable_path='/Users/builds/...')

my code stuck in the second code, and I found it stuck in fifo_server.py:

metadata, files = self._recv_message()
self.server_pipe =open(self.server_pipe_path,"rb")

How can I solve this problem?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
ekolvecommented, Dec 10, 2020

If the server_class doesn’t fix it, the Player.log can be found in ~/Library/Logs/Allen Institute…/Ai2Thor/Player.log

0reactions
ruinianxucommented, Aug 6, 2021

@15800436469try Hi,

I meet the same problem right now. Could you please let me know how you solved this problem?

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python and FIFOs - linux
Your server is leaking file handles: each iteration of the loop, you're opening a new file handle to sys.argv[2] and never closing it....
Read more >
Shell script that uses "while" loop to read file gets stuck
I have a python script which calls a shell script that is on a remote host to be executed which reads a file...
Read more >
open(2) Gets Stuck in Infinite Loop Under Odd ...
Hi, I have an odd question: is it normal for the open(const char *filename, int flags) function to get stuck in an infinite...
Read more >
Sending files through socket gets stuck in infinite loop
I'm learning to use sockets and I'm trying to send files through, the file gets sent but the server doesn't get out of...
Read more >
Python script intermittently hangs and does not exit
Hello, I have a script written in python3 that I run on my Raspberry Pi 3 Model B Plus Rev 1.3 Raspbian GNU/Linux...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found