Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launching ppserver.py without port fails #3

Open
SKKx opened this issue May 15, 2015 · 5 comments
Open

launching ppserver.py without port fails #3

SKKx opened this issue May 15, 2015 · 5 comments
Labels

Comments

@SKKx
Copy link

SKKx commented May 15, 2015

Launch in a shell the following command :

$ ppserver.py -a

Now try to launch sum_primes.py example with '127.0.0.1' in ppservers tuple.

$ python sum_primes.py 0

It just freeze while with the original pp version, it works.
In order to get ppft to work with sum_primes.py example you have to specify which port to use and listen on.

$ ppserver.py -a -p60000

and '127.0.0.1:60000' in ppservers tuple.

@mmckerns mmckerns added the bug label Jun 25, 2015
@mmckerns
Copy link
Member

Yep, I can replicate that. I think there's an issue with auto detect somewhere.

@mmckerns
Copy link
Member

If you don't use the -a flag, you get exactly the same behavior. So essentially, it appears that -a is ignored.

@mmckerns
Copy link
Member

Also, you could provide which version of python and which OS, in case that matters?

@SKKx
Copy link
Author

SKKx commented Jul 6, 2015

I use python 2.7.2 on OSX 10.8.2 desktop machine, and python 2.7.9 on Ubuntus 15.04 distant servers.
If I remove the -a flag from the servers, then the whole process fail (silently). My OSX pp process do not find the distant servers and I don't know why as no error message appears. Everything looks like working fine, but nothing happens. I fixed this issue by adding the port number.

That said, I agree that if we remove the -a flag in a localhost test environment, it works.

@mmckerns
Copy link
Member

mmckerns commented Jul 6, 2015

Ok, thanks. I know when I converted ppft from 2 to 2 and 3, I introduced one bug. This may be a second. I'll look for it when I can, as it's somewhat lower priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants