Roundup Tracker - Issues

Issue 2550827

classification
Title: pywin32 is no longer required to run on Windows (still required oto run as a service)
Type: Severity: normal
Components: Documentation Versions: 1.5
process
Status: new Resolution:
Dependencies: Superseder:
Assigned To: techtonik Nosy List: ThomasAH, ber, matt109, rouilj, techtonik
Priority: Keywords:

Created on 2013-12-27 17:10 by matt109, last changed 2016-07-11 12:36 by ThomasAH.

Messages
msg4976 Author: [hidden] (matt109) Date: 2013-12-27 17:10
After upgrading to version 1.5.0 and removing this component from my
host, I was no longer able to run as a windows service.

Is this component still required in order to run Roundup Issue Tracker
as a windows service?
msg4977 Author: [hidden] (rouilj) Date: 2013-12-27 17:20
In message <1388164230.8.0.283533984591.issue2550827@psf.upfronthosting.co.za> 
<1388164230.8.0.283533984591.issue2550827@psf.upfronthosting.co.za>,
Matt writes:
>After upgrading to version 1.5.0 and removing this component from my
>host, I was no longer able to run as a windows service.
>
>Is this component still required in order to run Roundup Issue Tracker
>as a windows service?

The requirement for pywin32 seems to have been removed in the commit
referred to by this message:

  http://sourceforge.net/mailarchive/message.php?msg_id=30153584

What python vendor/version are you using?

Also can you start the server manually (i.e. not as a service).

When you try to run it as a service are there any tracebacks or event
logs?
msg4978 Author: [hidden] (matt109) Date: 2013-12-27 17:35
Thanks for that link, there is more info there than I appreciated from
reading the Changes.txt. I see that it does state: "You can run Roundup
as a Windows service if pywin32_ is installed." in the Optional
Components Section...

I am running python V2.6.6 from http://www.python.org/ and I could start
the server from the command line...

Perhaps the changes.txt could be made more explicit?

Thanks for your advise...
msg4979 Author: [hidden] (rouilj) Date: 2013-12-27 17:53
In message
 <1388165759.72.0.941138301996.issue2550827@psf.upfronthosting.co.za>
 <1388165759.72.0.941138301996.issue2550827@psf.upfronthosting.co.za>,
 Matt writes:

>Matt added the comment:
>
>Thanks for that link, there is more info there than I appreciated from
>reading the Changes.txt. I see that it does state: "You can run Roundup
>as a Windows service if pywin32_ is installed." in the Optional
>Components Section...

Yes, in doc/installation.txt it does state the pywin32_ requirement.

>I am running python V2.6.6 from http://www.python.org/ and I could start
>the server from the command line...

Good, I don't think you would do that under windows without pywin32_
before the 1.4.21 release.

>Perhaps the changes.txt could be made more explicit?

Yes, I can see where the confusion is. Maybe we can change the two
lines in CHANGES.txt:

  - pywin32 is no longer required to run on Windows (anatoly techtonik)
  - Rewritten portalocker.py logic in ctypes for Windows (anatoly techtonik)

to:

  - Rewritten portalocker.py logic in ctypes for Windows to remove
    dependency on pywin32. Running roundup as a service still needs
    pywin32. (anatoly techtonik)

Anatoly is that acceptable? Do you have other thoughts on how to make
this requirement clearer?
msg5023 Author: [hidden] (ber) Date: 2014-03-13 08:13
(Adding Anatoly to the nosy list, as he got asked a question. ;)) 
To me it seems doc/installation.txt should also be improved to be more 
specific.
msg5026 Author: [hidden] (techtonik) Date: 2014-03-13 11:43
I see a reference to win32serviceutil in roundup\scripts\roundup_server.py
There can be a pure Python ctypes alternative, but I am not using Roundup
servers on Windows, so I am not the one to implement it, because I can't
test it properly.
msg5667 Author: [hidden] (rouilj) Date: 2016-06-28 01:06
see issue2550680
msg5669 Author: [hidden] (rouilj) Date: 2016-06-28 01:13
Anatoly you said:
> I am not the one to implement it, because I can't
> test it properly.

If this seems to be easy to code, I can try running it on windows.
msg5813 Author: [hidden] (rouilj) Date: 2016-07-10 18:14
I accidentally removed Anatoly's msg5026 from the thread. Hopefully
somebody on roundup-devel can put it back.

I have updated the section about running roundup as a windows service to
mention the requirement for pywin32. So it's mentioned in the
installation.txt guide plus the admin doc now.
History
Date User Action Args
2016-07-11 12:36:48ThomasAHsetnosy: + ThomasAH
2016-07-11 08:01:04adminsetmessages: + msg5026
2016-07-10 18:14:43rouiljsetmessages: + msg5813
2016-07-10 17:56:09rouiljsetmessages: - msg5026
2016-06-28 01:13:49rouiljsettitle: pywin32 is no longer required to run on Windows -> pywin32 is no longer required to run on Windows (still required oto run as a service)
2016-06-28 01:13:23rouiljsetmessages: + msg5669
2016-06-28 01:06:03rouiljsetmessages: + msg5667
2014-03-13 11:43:40techtoniksetmessages: + msg5026
2014-03-13 08:13:27bersetassignee: techtonik
messages: + msg5023
nosy: + techtonik, ber
2013-12-27 17:53:21rouiljsetmessages: + msg4979
2013-12-27 17:35:59matt109setmessages: + msg4978
2013-12-27 17:20:37rouiljsetnosy: + rouilj
messages: + msg4977
2013-12-27 17:11:03matt109setversions: + 1.5
2013-12-27 17:10:30matt109create