Opened 18 years ago
Closed 17 years ago
#956 closed defect (fixed)
TracForge uses os.fork which do not exists on Windows
Reported by: | Leandro Conde | Owned by: | Noah Kantrowitz |
---|---|---|---|
Priority: | normal | Component: | TracForgePlugin |
Severity: | blocker | Keywords: | |
Cc: | Leandro Conde | Trac Release: | 0.10 |
Description
I've managed to setup this plugin and to configure ir, but, when I try to create one subproject, it fails with this Traceback:
Traceback (most recent call last): File "C:\SOFT\Python24\Lib\site-packages\trac\web\main.py", line 379, in dispatch_request dispatcher.dispatch(req) File "C:\SOFT\Python24\Lib\site-packages\trac\web\main.py", line 230, in dispatch resp = chosen_handler.process_request(req) File "c:\soft\python24\lib\site-packages\TracWebAdmin-0.1.2dev_c1_r4152-py2.4.egg\webadmin\web_ui.py", line 109, in process_request path_info) File "c:\soft\python24\lib\site-packages\tracforge-1.0-py2.4.egg\tracforge\admin\admin.py", line 38, in process_admin_request proto.apply(req, proj) File "c:\soft\python24\lib\site-packages\tracforge-1.0-py2.4.egg\tracforge\admin\model.py", line 255, in apply pid = os.fork() AttributeError: 'module' object has no attribute 'fork'
This is a showstopper for me because in my work site I do not have a Linux server available for installing Apache+Trac, so I do have a Windows server which I managed to setup and it has been working now for months.
Is there are any patch for this issue?? Can I manage to change this on my own?
Thanks for any reply.
Attachments (0)
Change History (10)
comment:1 follow-up: 2 Changed 18 years ago by
comment:2 Changed 18 years ago by
Replying to coderanger:
That feature is still under development. I will deal with Windows compatibility once I get it working correctly under Linux.
Thanks for the quick reply ...
Please, let me know if I can be of any help ... I'm eager to have this working ... but no rush at all :)
Are there any other way in which I could add the subprojects to TracForge bypassing this part of the code??
I have already created the child projects via the normal trac-admin way ...
I was interested in the subscription features and centralized user permissions ...
Kind regards, Leandro.
comment:3 follow-up: 4 Changed 18 years ago by
Just make a prototype with nothing in it. This will add the project to the tracforge database without trying to do any of the funky (and broken) stuff.
comment:4 Changed 18 years ago by
Replying to coderanger:
Just make a prototype with nothing in it. This will add the project to the tracforge database without trying to do any of the funky (and broken) stuff.
Thanks for the tip. I did try and get this:
You must have at least one step in a prototype
Thanks again.
comment:5 Changed 18 years ago by
Ahh, good point. I just uploaded a new copy of prototypes.py
that has a DoNothingAction
. That should do it methinks.
comment:6 Changed 18 years ago by
Thanks very much. It worked! But, before that I didn't have seen that it added the projects to the list, nevertheless.
Best regards!
comment:7 Changed 18 years ago by
Normally if a build step fails you wouldn't want it to add the project. I'll add some kind of disclaimer to the wiki page about this. Thanks for trying out tracforge.
comment:10 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
That feature is still under development. I will deal with Windows compatibility once I get it working correctly under Linux.