Thanks for any pointers!
/Justin
________________________________
> Under windows, I was thinking that I could program a simple console
> application to perform the routine you are doing in the jobqueue.pl
> file.
As I understood the problem Bugzilla uses the generic job framework
TheSchwartz, which is not available for Windows. What you really need
to do is get that one running under Windows or else you are
reimplementing it.
Look in Bugzilla::JobQueue.
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
Telefon: Potsdam: 0331-743881-0
E-Mail: tscho...@am-soft.de
Web: http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
I am a .net programmer, have not messed much with perl, but where can I get the source code for TheSchwartz - does anyone know?
Also, does any windows programmers/users out there know what is the matter with TheSchwartz package under windows?
Finally, would it actually be easier to just role out a windows console application for this exact task? Others, any thoughts on that?
/Justin
Look in Bugzilla::JobQueue.
Mit freundlichen Grüßen,
Thorsten Schöning
_______________________________________________
support-bugzilla mailing list
support-...@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-...@lists.mozilla.org in the To: field when you reply.
> I was able to install TheSchwartz package for bugzilla 3.4.4 on windows xp just fine.
Then everything I said is wrong. :-) Did you really install
TheSchwartz and not TheSchwartz-Simple, for example? Informer threads
Windows users had a lot of propblems installing TheSchwartz and
Deamon-Generic because it is not in the ActiveState nor theory58S
repository and manually installing it seemed to be a pain because of
prerequisites which are either not supported under Windows etc.
> I am a .net programmer, have not messed much with perl, but where
> can I get the source code for TheSchwartz - does anyone know?
This is not the Windows-version, just search for the file in your perl
installation or where ever your packages installed by ppm went to and
open it in an editor of your choice.
http://search.cpan.org/~bradfitz/TheSchwartz-1.07/lib/TheSchwartz.pm
http://cpansearch.perl.org/src/BRADFITZ/TheSchwartz-1.07/lib/TheSchwartz.pm
> Also, does any windows programmers/users out there know what is the
> matter with TheSchwartz package under windows?
Search the list, especially the Thread "Where to get TheSchwartz and
Daemon-Generic".
How do I use the quick bug entry form in v3.4.4?
Is there any documentation on it?
If I use the quick bug entry form in 3.4.4, who is the ticket actually assigned to?
Sorry if this is covered elsewhere, I cannot seem to find detailed documentation on it.
Thanks for any help!
/Justin
Which form is that?
Gerv
Is there any way this can be fixed to work under windows for version 3.5 of bugzilla?
I have had no luck trying to fix it myself.
/Justin
-----Original Message-----
From: support-bugzilla-bounces+justin=cbos...@lists.mozilla.org [mailto:support-bugzilla-bounces+justin=cbos...@lists.mozilla.org] On Behalf Of Thorsten Schöning
Sent: Wednesday, December 30, 2009 2:38 AM
To: support-...@lists.mozilla.org
Subject: Re: jobqueue.pl on Windows
http://search.cpan.org/~bradfitz/TheSchwartz-1.07/lib/TheSchwartz.pm
http://cpansearch.perl.org/src/BRADFITZ/TheSchwartz-1.07/lib/TheSchwartz.pm
Mit freundlichen Grüßen,
Thorsten Schöning
_______________________________________________
Hey Justin. As Thorsten has pointed out, we are using TheSchwartz.
The problem is that you can't fork a daemon on Windows, because you
can't fork processes on Windows. It's possible that jobqueue.pl will run
anyway with these arguments:
./jobqueue.pl -f start
That doesn't fork it or try to make it a daemon. If you could install a
service that did that (from the Bugzilla directory), it's possible you
could get it working on Windows. If you do, please post your experience
and instructions somewhere for other people to use.
-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
> The problem is that you can't fork a daemon on Windows, because you
> can't fork processes on Windows.
Win32::Process works just fine for us, when we nee to launch a program
running in the background under Windows and Linux. We retrieve the
perl execution path, build a command line for perl.exe and are
creating a detached process. The program to start should just
recognize it's running on Windows and shouldn't fork in this case.
> That doesn't fork it or try to make it a daemon. If you could install a
> service that did that (from the Bugzilla directory), it's possible you
> could get it working on Windows. If you do, please post your experience
> and instructions somewhere for other people to use.
I have SCMBug running as a service using srvany from Windows Resource
Kit for years now and it works just fine.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCMBug]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,00,72,00,76,00,61,00,6e,00,79,00,2e,00,65,00,78,00,65,00,\
00,00
"DisplayName"="SCMBug"
"ObjectName"=".\\SCMBug"
"Description"="SCMBug für Subversion"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCMBug\Parameters]
"Application"="C:\\\\Programme\\\\Perl\\\\bin\\\\perl.exe \"C:\\\\Programme\\\\Scmbug\\\\sbin\\\\scmbug_daemon.pl\" \"C:\\\\Programme\\\\Scmbug\\\\etc\\\\scmbug\\\\daemon.conf\""
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCMBug\Enum]
"0"="Root\\LEGACY_SCMBUG\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001