Changes between Version 1 and Version 2 of jazz/Comet/08-10-30


Ignore:
Timestamp:
Oct 30, 2008, 4:02:45 PM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/Comet/08-10-30

    v1 v2  
    55   * python-twisted - Event-based framework for internet applications (transitional package)
    66   * python-simplejson - Simple, fast, extensible JSON encoder/decoder for Python
     7 * 安裝 Orbited 相關套件
     8{{{
     9jazz@drbl-xen-srv:~$ sudo apt-get install python-setuptools python-twisted python-simplejson
     10jazz@drbl-xen-srv:~$ wget http://pypi.python.org/packages/source/o/orbited/orbited-0.6.1.tar.gz
     11jazz@drbl-xen-srv:~$ tar zxvf orbited-0.6.1.tar.gz
     12jazz@drbl-xen-srv:~$ sudo easy_install orbited-0.6.1
     13}}}
     14 * 測試 Orbited
     15{{{
     16jazz@drbl-xen-srv:~$ python
     17Python 2.4.4 (#2, Apr 16 2008, 17:58:59)
     18[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
     19Type "help", "copyright", "credits" or "license" for more information.
     20>>> import orbited
     21}}}
     22 * 如果沒有錯誤訊息就可以繼續跑測試了。要跑 Orbited 必須要有設定檔,
     23{{{
     24jazz@drbl-xen-srv:~$ wget http://www.orbited.org/export/553/trunk/daemon/orbited.cfg
     25jazz@drbl-xen-srv:~$ orbited --config orbited.cfg
     2610/03/08 18:48:41:520 INFO   orbited.start      using select reactor
     27Traceback (most recent call last):
     28  File "/usr/bin/orbited", line 7, in ?
     29    sys.exit(
     30  File "/usr/lib/python2.4/site-packages/orbited-0.6.1-py2.4.egg/orbited/start.py", line 65, in main
     31    _setup_protocols(root)
     32  File "/usr/lib/python2.4/site-packages/orbited-0.6.1-py2.4.egg/orbited/start.py", line 23, in _setup_protocols
     33    port_class = _import(port_class_import)
     34  File "/usr/lib/python2.4/site-packages/orbited-0.6.1-py2.4.egg/orbited/start.py", line 13, in _import
     35    return reduce(getattr, name.split('.')[1:], __import__(module_import))
     36  File "/usr/lib/python2.4/site-packages/orbited-0.6.1-py2.4.egg/orbited/cometsession.py", line 2, in ?
     37    import uuid
     38ImportError: No module named uuid
     39jazz@drbl-xen-srv:~$ wget http://pypi.python.org/packages/source/u/uuid/uuid-1.30.tar.gz
     40jazz@drbl-xen-srv:~$ easy_install uuid-1.30
     41
     42}}}