I don't see any problems immediately, but here are a few ideas:

Did you see any other errors in the stdout/stderr logs?

Is your root_class defined correctly in the TGWindowsService class?  What
about the other user-editable fields?

Do you have any idea what file/what code is throwing the AttributeError?
You might try the old standby of temporary print statements to localize
this.

Kevin Horn

On Dec 18, 2007 7:30 AM, matigro <[EMAIL PROTECTED]> wrote:

>
> Hi, I'm trying to run my application as Windows Service but I'm having
> a problem.
>
> I read http://docs.turbogears.org/1.0/WindowsService and I've
> downloaded service.py, copy to my_application but doesn`t start.
>
> I want to put my_application for production.
> I Need to write extra params? Some dirs? some commands? Please, help
> needed :)
>
> I have:
>  - Python 2.5, TG 2.0.3.2
> My app is in: D:\Proyectos\aguante_prod
> The project name is: aguante_el_metal
> The service.py is in D:\Proyectos\aguante_prod\service.py (the same
> dir as start-aguante_el_metal.py)
>
> I did:
> -----------------------
> D:\Proyectos\aguante_prod>python setup.py develop
> Installing start-aguante_el_metal.py script to C:\Python25\Scripts
>
> Installed d:\proyectos\aguante_prod
> Processing dependencies for aguante-el-metal==0.2a0
> Finished processing dependencies for aguante-el-metal==0.2a0
>
> D:\Proyectos\aguante_prod>service.py install
> Installing service aguante_el_metal
> Changing service configuration
> Service updated
>
> D:\Proyectos\aguante_prod>service.py debug
> Debugging service aguante_el_metal - press Ctrl+C to stop.
> Error 0xC0000005 - Python could find the service class in the module
>
> <type 'exceptions.AttributeError'>: 'module' object has no attribute
> 'TGWindowsS
> ervice'
> ---------------------------
>
> Thanks, Matias
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to