Yi Qiang wrote:
> On Mar 12, 2007, at 11:37 AM, Jack Fearnley wrote:
>
>
>> I am attempting to run the simple example provided in the DSage
>> documentation. Running dsage.server() gives the result below saying
>> that __init__.py is missing. Similarly dsage.worker() gives
>> __init__.py
>> is missing. When I run the client I get no result from f =
>> DistributedFactor(D,123456789, name='my_factor'). Am I doing
>> something
>> stupid, or is the missing __init.py__ causing my problems?
>>
> Hi Jack,
> Looking at the log output it appears that you are running an older
> version of SAGE (2.1.4). Could you please upgrade to SAGE 2.3 and
> give it another try?
>
I am now running 2.3 with similar results. I still get the message
warning: Not importing directory 'site': missing __init__.py
Jack
CLIENT
[EMAIL PROTECTED] ~]$ sage
----------------------------------------------------------------------
| SAGE Version 2.3, Release Date: 2007-03-06 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: D = DSage()
sage: job1 = D('2+2')
sage: print job1
4
sage: f = DistributedFactor(D,123456789, name='my_factor')
sage: f.start()
sage: print f.result
None
sage: print f.done
True
sage:
WORKER (First 14 lines)
----------------------------------------------------------------------
| SAGE Version 2.3, Release Date: 2007-03-06 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: dsage.worker()
warning: Not importing directory 'site': missing __init__.py
2007/03/12 20:21 -0400 [-] Log opened.
2007/03/12 20:21 -0400 [-] Starting factory
<twisted.spread.pb.PBClientFactory instance at 0xb7a2feec>
2007/03/12 20:21 -0400 [Broker,client] Initialized 2 workers.
2007/03/12 20:21 -0400 [Broker,client] Submitted host info
2007/03/12 20:21 -0400 [Broker,client] Unhandled error in Deferred:
2007/03/12 20:21 -0400 [Broker,client] Unhandled Error
Traceback from remote host -- Traceback unavailable
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---