[Twisted-Python] ANN: Nufox 0.1.0

jean-marc pouchoulon jean-marc.pouchoulon at ac-montpellier.fr
Thu Oct 13 11:35:36 EDT 2005


oneShotExample.tac  seems to be outdated
(athena is now included in nufox not nevow )
Maybe post on nufox mailing list to have an answer.
Only example.tac works fine for me.

jean-marc

Michele Petrazzo a écrit :

>
> Ok. On linux I copy the doc and examples dir to
> site-package/twisted/python directory (I think that this is a very bad
> hack... Why do it? ) And now I receive:
>
> File "oneShotExample.tac", line 6, in ?
> example = reflect.namedAny('%s.example' % os.environ['EXAMPLE'])
> File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__
>  def __getitem__(self, key): return self.data[key]
> KeyError: 'EXAMPLE'
> Failed to load application: 'EXAMPLE'
>
> File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__
>  def __getitem__(self, key): return self.data[key]
>  exceptions.KeyError: 'EXAMPLE'
>
> This is right because I don't have any EXAMPLE enviroment variable!
>
> P.s. If I execute "twistd -f oneShotExample.tac" I receive the same 
> error.
>
>> jmp.
>>
>
> Thanks a lot,
> Michele
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python







More information about the Twisted-Python mailing list