Modify

Opened 18 years ago

Closed 16 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 Changed 18 years ago by Noah Kantrowitz

That feature is still under development. I will deal with Windows compatibility once I get it working correctly under Linux.

comment:2 in reply to:  1 Changed 18 years ago by Leandro Conde

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 Changed 18 years ago by Noah Kantrowitz

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 in reply to:  3 Changed 18 years ago by Leandro Conde

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 Noah Kantrowitz

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 Leandro Conde

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 Noah Kantrowitz

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:8 Changed 16 years ago by Pedro Algarvio, aka, s0undt3ch

This appears to be fixed on the 0.11 branch of TracForgePlugin.

comment:9 Changed 16 years ago by Noah Kantrowitz

Yep, this system now actually exists.

comment:10 Changed 16 years ago by Noah Kantrowitz

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.