Deprecated: Assigning the return value of new by reference is deprecated in /home/httpd/html/resources/projects/inc/parserutils.php on line 161

Deprecated: Assigning the return value of new by reference is deprecated in /home/httpd/html/resources/projects/inc/parserutils.php on line 164

Deprecated: Assigning the return value of new by reference is deprecated in /home/httpd/html/resources/projects/inc/parserutils.php on line 239

Deprecated: Function split() is deprecated in /home/httpd/html/resources/projects/inc/auth.php on line 96

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/html/resources/projects/inc/parserutils.php:161) in /home/httpd/html/resources/projects/inc/auth.php on line 179

Deprecated: Function split() is deprecated in /home/httpd/html/resources/projects/inc/common.php on line 532

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/html/resources/projects/inc/parserutils.php:161) in /home/httpd/html/resources/projects/inc/actions.php on line 71
registration_script [Progsoc Projects]
 

The registration system constists of socket based Python server running on Orgo, which you connect to using the client script (also Python).

If the server is not currently running on Orgo, it needs to be started. It’s a good idea to do this within a screen session so that you can access the server output, rather than just making it a background process:

username@orgo $ screen
username@orgo $ python /local/regd/registration/regd.py
username@orgo $ CTRL-a d

To be able to register users you’ll need to have a password to connect to the server. Email the Progsoc administrators and get them to create a password for you. If you don’t already have the client script, ask for that too. After this is done, place the password you were given in ~/.regdpasswd

To connect to the server, it’s simply a matter of running the client script:

username@orgo $ python shell.py

Type ‘test’ to check if you have connectivity to the server. You should get output like this:

Registration$ test
Testing connection.
* PONG
Command succeeded.

If not, contact the Progsoc administrators with as much information as possible.

 
registration_script.txt · Last modified: 2006/02/23 13:31
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki