[Twisted-Python] Error in documentation
Hello, It is probably cheap but i came across wrong thing in your official doc in the part : http://twistedmatrix.com/documents/current/core/howto/tutorial/library.html Here we learn how to separate the application code that launches a finger service from the library code which defines the finger service. The problem is in the "Easy Configuration" Part. Between line 7 and line 8 it misses the code f.setServiceParent(s) Without it the the instantiated object from class FingerService(service.Service) will be never collected by the service collection and the startService function in class FingerService(service.Service) will be never called. (this function is import it is where we initiate the looping reading of "/etc/users") There is also an other error at the end of this tutorial it is wrote "% twisted -ny simple-finger.tac" instead of "%twistd -ny simple-finger.tac". regards, -- Sofiane Akermoun akersof@gmail.com
Hi Sofiane,
It is probably cheap but i came across wrong thing in your official doc in the part :
Thanks for the bug reports! Can I interest you in opening Trac tickets for each of these? :) To do that: 1. Create a Trac account at http://twistedmatrix.com/trac/register 2. Create a new ticket for each issue at https://twistedmatrix.com/trac/newticket Have you submitted patches to Twisted before? These would be great first bugs to fix, if you're interested! https://twistedmatrix.com/trac/wiki/TwistedDevelopment describes how to get started, and if you have more questions a great place to get help is in #twisted on the Freenode IRC network: https://twistedmatrix.com/trac/wiki/TwistedCommunity#Real-TimeChat. Regards, -Jessica
participants (2)
-
Jessica McKellar
-
Sofiane Akermoun