Discussion:
[viff-devel] viff-devel Digest, Vol 65, Issue 2
Mohammad BadieZadegan
2016-07-12 12:28:47 UTC
Permalink
Dear VIFF developers,
I resolved my last issue by reinstalling setup.py.
Now, when I run three separate command prompts and go to the viff/apps/
directory in each, I get these Terminal messages:
How can I resolve this state?
Best Regards.


======================Terminal 1=========================

***@UNIX:~/Downloads/viff-1.0/apps$ python millionaires.py --no-ssl
player-1.ini
Seeding random generator with random seed 9983
Not using SSL
Listening on port 9001
Will connect to <Player 2: localhost:9002>
Will connect to <Player 3: localhost:9003>
I am Millionaire 1 and I am worth 100 millions.
*** bad data from Player 3: unpack requires a string argument of length 5
*** aborting!
*** all protocols disconnected
***@UNIX:~/Downloads/viff-1.0/apps$

=======================Terminal 2========================

***@UNIX:~/Downloads/viff-1.0/apps$ python millionaires.py --no-ssl
player-2.ini
Seeding random generator with random seed 4141
Not using SSL
Listening on port 9002
Will connect to <Player 3: localhost:9003>
I am Millionaire 2 and I am worth 33 millions.

=======================Terminal 3========================

***@UNIX:~/Downloads/viff-1.0/apps$ python millionaires.py --no-ssl
player-3.ini
Seeding random generator with random seed 2598
Not using SSL
Listening on port 9003
I am Millionaire 3 and I am worth 146 millions.
*** bad data from Player 1: unpack requires a string argument of length 5
*** aborting!
*** all protocols disconnected
***@UNIX:~/Downloads/viff-1.0/apps$

=======================================================
Send viff-devel mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of viff-devel digest..."
1. First testing issue! (Mohammad BadieZadegan)
----------------------------------------------------------------------
Message: 1
Date: Mon, 11 Jul 2016 18:50:41 +0430
Subject: [viff-devel] First testing issue!
<
Content-Type: text/plain; charset="utf-8"
*Dear viff developers,*
*Due to GNU/Linux installation guide
<http://viff.dk/doc/install.html#gnu-linux> I get these error message at
first step!*
*How can I resolve this?*
*Best Regards,*
-n 3 -t 1 localhost:9001 localhost:9002 localhost:9003
File "generate-config-files.py", line 57, in <module>
from viff.config import generate_configs
ImportError: No module named viff.config
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.viff.dk/pipermail/viff-devel-viff.dk/attachments/20160711/25ff579f/attachment.html
------------------------------
Subject: Digest Footer
_______________________________________________
viff-devel mailing list
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
------------------------------
End of viff-devel Digest, Vol 65, Issue 2
*****************************************
--
Marcel Keller
2016-07-12 12:51:19 UTC
Permalink
Hi Mohammad,

Have you installed the latest version (viff-tip)? It includes some fixes
for newer versions of Twisted. Otherwise I would advise you to install
an older version of Twisted. VIFF was originally developed with Twisted
8, but the there was a fix two years ago tested with Twisted 11. See the
mailing list archive for the discussion on it.

Marcel
Dear VIFF developers, I resolved my last issue by reinstalling
setup.py. Now, when I run three separate command prompts and go to
the viff/apps/ directory in each, I get these Terminal messages: How
can I resolve this state? Best Regards.
======================Terminal 1=========================
player-1.ini Seeding random generator with random seed 9983 Not
localhost:9002> Will connect to <Player 3: localhost:9003> I am
Millionaire 1 and I am worth 100 millions. *** bad data from Player
3: unpack requires a string argument of length 5 *** aborting! ***
=======================Terminal 2========================
player-2.ini Seeding random generator with random seed 4141 Not
localhost:9003> I am Millionaire 2 and I am worth 33 millions.
=======================Terminal 3========================
player-3.ini Seeding random generator with random seed 2598 Not
using SSL Listening on port 9003 I am Millionaire 3 and I am worth
146 millions. *** bad data from Player 1: unpack requires a string
argument of length 5 *** aborting! *** all protocols disconnected
=======================================================
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk or, via email,
send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of viff-devel digest..."
1. First testing issue! (Mohammad BadieZadegan)
----------------------------------------------------------------------
Message: 1 Date: Mon, 11 Jul 2016 18:50:41 +0430 From: Mohammad
Content-Type: text/plain; charset="utf-8"
*Dear viff developers,*
*Due to GNU/Linux installation guide
<http://viff.dk/doc/install.html#gnu-linux> I get these error message
at first step!*
*How can I resolve this?* *Best Regards,*
generate-config-files.py -n 3 -t 1 localhost:9001 localhost:9002
localhost:9003 Traceback (most recent call last): File
"generate-config-files.py", line 57, in <module> from viff.config
import generate_configs ImportError: No module named viff.config
-- -------------- next part -------------- An HTML attachment was
<http://lists.viff.dk/pipermail/viff-devel-viff.dk/attachments/20160711/25ff579f/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________ viff-devel mailing
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
------------------------------
End of viff-devel Digest, Vol 65, Issue 2
*****************************************
--
_______________________________________________ viff-devel mailing
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
_______________________________________________
viff-devel mailing list (http://viff.dk/)
viff-***@lists.viff.dk
http://lists.viff.dk/list
Mohammad BadieZadegan
2016-07-13 10:47:00 UTC
Permalink
Hi Marcel,

I Download & Installed the last version of VIFF-1.0
<http://viff.dk/release/viff-1.0.tar.gz> and installed python-twisted-core
ver 16.2.0-1 by Debian Repositories.
Is that I must reinstall python-twisted-core ver < 16.2.0-1?
Thanks for replying me.
Regards.
Post by Marcel Keller
Hi Mohammad,
Have you installed the latest version (viff-tip)? It includes some fixes
for newer versions of Twisted. Otherwise I would advise you to install
an older version of Twisted. VIFF was originally developed with Twisted
8, but the there was a fix two years ago tested with Twisted 11. See the
mailing list archive for the discussion on it.
Marcel
Dear VIFF developers, I resolved my last issue by reinstalling
setup.py. Now, when I run three separate command prompts and go to
the viff/apps/ directory in each, I get these Terminal messages: How
can I resolve this state? Best Regards.
======================Terminal 1=========================
player-1.ini Seeding random generator with random seed 9983 Not
localhost:9002> Will connect to <Player 3: localhost:9003> I am
Millionaire 1 and I am worth 100 millions. *** bad data from Player
3: unpack requires a string argument of length 5 *** aborting! ***
=======================Terminal 2========================
player-2.ini Seeding random generator with random seed 4141 Not
localhost:9003> I am Millionaire 2 and I am worth 33 millions.
=======================Terminal 3========================
player-3.ini Seeding random generator with random seed 2598 Not
using SSL Listening on port 9003 I am Millionaire 3 and I am worth
146 millions. *** bad data from Player 1: unpack requires a string
argument of length 5 *** aborting! *** all protocols disconnected
=======================================================
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk or, via email,
send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of viff-devel digest..."
1. First testing issue! (Mohammad BadieZadegan)
----------------------------------------------------------------------
Message: 1 Date: Mon, 11 Jul 2016 18:50:41 +0430 From: Mohammad
Content-Type: text/plain; charset="utf-8"
*Dear viff developers,*
*Due to GNU/Linux installation guide
<http://viff.dk/doc/install.html#gnu-linux> I get these error message
at first step!*
*How can I resolve this?* *Best Regards,*
generate-config-files.py -n 3 -t 1 localhost:9001 localhost:9002
localhost:9003 Traceback (most recent call last): File
"generate-config-files.py", line 57, in <module> from viff.config
import generate_configs ImportError: No module named viff.config
-- -------------- next part -------------- An HTML attachment was
<
http://lists.viff.dk/pipermail/viff-devel-viff.dk/attachments/20160711/25ff579f/attachment.html
------------------------------
Subject: Digest Footer
_______________________________________________ viff-devel mailing
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
------------------------------
End of viff-devel Digest, Vol 65, Issue 2
*****************************************
--
_______________________________________________ viff-devel mailing
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
--

Loading...