Re: [cx-freeze-users] freezing problem

2017-08-15 Thread arto rasimus via cx-freeze-users
Thanks for reply!The Config.py and its parameters were a new thing to me (and 
how it affects the setup.py).But: some questions are still unanswered.
base/Win32Service.exe- how to build that in the first place, as it is essential 
in the freezing process?
I made the changes into setup.py and created a suitable Config.py according to 
the example.I have- cx_Freeze 4.3.4 as it contains the base/Win32Service.exe- 
I've done there the hack that was described in 
https://stackoverflow.com/questions/21966122/python-3-executable-as-windows-service-
 Python 3.4


The problem may be outside of cx_Freexe...After freezing comes Windows error 
1053 and exception from faulting MSVCR100.dll, exception code 
0x4015.Version 10.0.40219.1Windows10, 32bit OS.
Can you comment that? 

On Monday, August 14, 2017 5:31 PM, Anthony Tuininga 
 wrote:
 

 Hi Arto, Leandro,
You should follow the sample for services found in the cx_Freeze repo: 
https://github.com/anthony-tuininga/cx_Freeze/tree/master/cx_Freeze/samples/service.
 If you still have questions after looking through that, let me know.
Anthony
On Mon, Aug 14, 2017 at 4:40 AM, Leandro Garcia  
wrote:

Hi Arto,

I'm new on this... but if I'm not wrong, the service should be register

https://stackoverflow.com/ questions/3582108/create- windows-service-from- 
executable

You can run a bat to register it or in another python program... with cx_Freeze 
but I have never tried!

What I understand of the project is that for the moment it gives you basic 
capabilities to create EXE...but just for distribution :'(  ..

Leandro

On Mon, Aug 14, 2017 at 11:39 AM, arto rasimus via cx-freeze-users 
 wrote:

Anybody there? 

On Wednesday, August 9, 2017 12:18 PM, arto rasimus via cx-freeze-users 
 wrote:
 

 Hello.
I have question about freezing a Python 3.6 script.The cx_Freeze version has 
been 5.0.2
My goals:- the exe should operate as a service under Windows10.- the service 
should be able to respond to TCP requests as a server.
The exe runs well if the base is "Win32GUI" in the setup.py, but in that case 
it does not communicate with TCP ports (though it can set a port up into 
ESTABLISHED state).
I have found the Win32Service base in the version 4.3.4 but with that the 
execution crashes. Is it correct base?There comes error: "Internal Message: 
cannot locate service name"That comes from Win32Service.
Can anyone help me with this? Basically what base should I use with a server?Do 
I have to build the base exe first and how?
Br,Arto Rasimus

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot__ 
__ ___
cx-freeze-users mailing list
cx-freeze-users@lists.sourcefo rge.net
https://lists.sourceforge.net/ lists/listinfo/cx-freeze-users


   
-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
cx-freeze-users mailing list
cx-freeze-users@lists.sourcefo rge.net
https://lists.sourceforge.net/ lists/listinfo/cx-freeze-users




-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
cx-freeze-users mailing list
cx-freeze-users@lists. sourceforge.net
https://lists.sourceforge.net/ lists/listinfo/cx-freeze-users



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users


   --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users


Re: [cx-freeze-users] freezing problem

2017-08-14 Thread Leandro Garcia
Hi Arto,

I'm new on this... but if I'm not wrong, the service should be register

https://stackoverflow.com/questions/3582108/create-windows-service-from-executable

You can run a bat to register it or in another python program... with
cx_Freeze but I have never tried!

What I understand of the project is that for the moment it gives you basic
capabilities to create EXE...but just for distribution :'(  ..

Leandro

On Mon, Aug 14, 2017 at 11:39 AM, arto rasimus via cx-freeze-users <
cx-freeze-users@lists.sourceforge.net> wrote:

> Anybody there?
>
>
> On Wednesday, August 9, 2017 12:18 PM, arto rasimus via cx-freeze-users <
> cx-freeze-users@lists.sourceforge.net> wrote:
>
>
> Hello.
>
> I have question about freezing a Python 3.6 script.
> The cx_Freeze version has been 5.0.2
>
> My goals:
> - the exe should operate as a service under Windows10.
> - the service should be able to respond to TCP requests as a server.
>
> The exe runs well if the base is "Win32GUI" in the setup.py, but in that
> case it does not communicate with TCP ports
> (though it can set a port up into ESTABLISHED state).
>
> I have found the Win32Service base in the version 4.3.4 but with that the
> execution crashes. Is it correct base?
> There comes error: "Internal Message: cannot locate service name"
> That comes from Win32Service.
>
> Can anyone help me with this? Basically what base should I use with a
> server?
> Do I have to build the base exe first and how?
>
> Br,
> Arto Rasimus
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot__
> _
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users


Re: [cx-freeze-users] freezing problem

2017-08-14 Thread arto rasimus via cx-freeze-users
Anybody there? 

On Wednesday, August 9, 2017 12:18 PM, arto rasimus via cx-freeze-users 
 wrote:
 

 Hello.
I have question about freezing a Python 3.6 script.The cx_Freeze version has 
been 5.0.2
My goals:- the exe should operate as a service under Windows10.- the service 
should be able to respond to TCP requests as a server.
The exe runs well if the base is "Win32GUI" in the setup.py, but in that case 
it does not communicate with TCP ports (though it can set a port up into 
ESTABLISHED state).
I have found the Win32Service base in the version 4.3.4 but with that the 
execution crashes. Is it correct base?There comes error: "Internal Message: 
cannot locate service name"That comes from Win32Service.
Can anyone help me with this? Basically what base should I use with a server?Do 
I have to build the base exe first and how?
Br,Arto Rasimus

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users


   --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users


[cx-freeze-users] freezing problem

2017-08-09 Thread arto rasimus via cx-freeze-users
Hello.
I have question about freezing a Python 3.6 script.The cx_Freeze version has 
been 5.0.2
My goals:- the exe should operate as a service under Windows10.- the service 
should be able to respond to TCP requests as a server.
The exe runs well if the base is "Win32GUI" in the setup.py, but in that case 
it does not communicate with TCP ports (though it can set a port up into 
ESTABLISHED state).
I have found the Win32Service base in the version 4.3.4 but with that the 
execution crashes. Is it correct base?There comes error: "Internal Message: 
cannot locate service name"That comes from Win32Service.
Can anyone help me with this? Basically what base should I use with a server?Do 
I have to build the base exe first and how?
Br,Arto Rasimus

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users