On Fri, Feb 20, 2009 at 11:31 PM, Florent Aide <[email protected]> wrote:
>
> what is the content of your config.ini file (the one that contains the
> service name) ? Did you think to rename config.ini-sample to
> config.ini ?

No I hadn't. I have changed it to config.ini now and the content is

[launcher]

; if fullauto is True, then the python_dir and additional_libs
; are just ignored and the program will try to find those relatively
; to the shared.zip file
; if you need more control set this to False and specify your own dirs
fullauto = True

; python dir should be a mimick of the python path the DLLs and
; Lib dir will be added to the python path
; and so will the <python_dir>/Lib/site-packages dir if it exists
; python_dir = somedir

; additional_lib will be scanned for eggs only (not
; really added to the python path). Any egg present in this
; directory will be activated and importable by your application
; additional_libs = someotherdir

[application]

; the application name should be in the form of a module
; and a function name separated by a sharp sign (#)
; the function will be called without any argument and will
; be responsible to scan the command line for options
; to setup its logging functions and load its config
name = proj.proj#mainfunction

[pasterservice]
; the name under which the paster service will try to
; register itself.
name = pasterWSGI

Now the service is registered but I get this error in event log on
starting the service
http://paste.turbogears.org/paste/36327

Sanjiv
>
> On Fri, Feb 20, 2009 at 6:42 PM, Sanjiv Singh <[email protected]> wrote:
>>
>> Ok. I managed to get the pylunch_dist made. But I get this error on
>> running paster-service-control.exe
>>
>> C:\pylunch\pylunch_dist\> paster-service-control.exe -c
>> c:\Proj\development.ini -l c:\Proj\logs
>>
>> Traceback (most recent call last):
>>  File "controller.py", line 140, in <module>
>>  File "controller.py", line 77, in main
>>  File "ConfigParser.pyo", line 511, in get
>> ConfigParser.NoSectionError: No section: 'pasterservice'
>>
>> What am I missing?
>>
>> regards
>> Sanjiv
>>
>> On Fri, Feb 20, 2009 at 10:19 PM, Florent Aide <[email protected]> 
>> wrote:
>>>
>>> On Fri, Feb 20, 2009 at 5:45 PM, Sanjiv Singh <[email protected]> 
>>> wrote:
>>>>
>>>> On Fri, Feb 20, 2009 at 8:46 PM, Florent Aide <[email protected]> 
>>>> wrote:
>>>>>
>>>>> On Fri, Feb 20, 2009 at 4:12 PM, Sanjiv Singh <[email protected]> 
>>>>> wrote:
>>>>>>
>>>>>> Hi Florent,
>>>>>>
>>>>>> This sounds awesome. I will try it out soon and get back.
>>>>>
>>>>> Awaiting for your comment :)
>>>>
>>>> Is it possible to use pylunch for a TG2 app running off a virtualenv?
>>>> How do I install py2exe in a virtualenv?
>>>> I tried easy_install py2exe but it failed.
>>>
>>> Yes. The idea is to code inside your virtual env and to call pylunch
>>> from outside the venv.
>>>
>>> Pylunch only uses your application's setup.py and tries to find the
>>> dependencies using either the normal index or a provided index.
>>>
>>> You thus need to have py2exe installed system wide.
>>>
>>> Florent.
>>>
>>> >
>>>
>>
>> >
>>
>
> >
>

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

Reply via email to