Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where to get TheSchwartz and Daemon-Generic

468 views
Skip to first unread message

rojanu

unread,
Jul 30, 2009, 6:52:47 AM7/30/09
to
I am trying to upgrade to v3.4 "TheSchwartz" and "Daemon-Generic" are
optional modules I want to install and they are not in the package
list where do I get them?

My bugzilla install is on a windows OS

Thanks

Jonathan E. Goldberg

unread,
Jul 30, 2009, 11:07:11 AM7/30/09
to support-...@lists.mozilla.org
I installed both perl modules manually.

http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/TheSchwartz-1.07.ta
r.gz

and

http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Daemon-Generic-
0.61.tar.gz

Be sure to install all prerequisites.

Some instructions on how to install perl modules manually:

http://www.bugzilla.org/docs/3.4/en/html/modules-manual-instructions.htm
l

Also, I'm having some issues getting jobqueue.pl running on Windows.
See this thread:

http://groups.google.com/group/mozilla.support.bugzilla/browse_thread/th
read/1964a5312f2d43ab#

Good luck,
Jonathan

Thanks
_______________________________________________
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.

rojanu

unread,
Jul 30, 2009, 11:54:28 AM7/30/09
to
I have tried to manually install but
Daemon::Generic has prerequisite File::Flock

TheSchwartz has prerequisite Data::ObjectDriver

I could not find and on manual install they have some dependencies and
tried install them but I am behind a proxy how do I go trough the
proxy.

thanks
Rojanu

Jonathan E. Goldberg

unread,
Jul 30, 2009, 12:07:37 PM7/30/09
to support-...@lists.mozilla.org
Data-ObjectDriver can be found here:

http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Data-ObjectDriver-0.0
6.tar.gz

File-Flock can be found here:

http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/File-Flock-2008
.01.tar.gz

Not sure about your proxy problem. Try installing these modules and go
from there.

-----Original Message-----
From:
support-bugzilla-bounces+jgoldberg=msdigni...@lists.mozilla.org
[mailto:support-bugzilla-bounces+jgoldberg=msdigni...@lists.mozilla
.org] On Behalf Of rojanu

thanks
Rojanu

MsLS

unread,
Aug 3, 2009, 10:17:38 AM8/3/09
to
Hi,

I'm having the same problem here. Did <File::FLock> install correctly?
I'm getting an error during "make test" (Your vendor has not defined
POSIX macro EWOULDBLOCK and a lot of following problems). Similar with
Data::ObjectDriver, test fails...


s.

On Jul 30, 6:07 pm, "Jonathan E. Goldberg" <jgoldb...@msdignition.com>
wrote:


> Data-ObjectDriver can be found here:
>
> http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Data-ObjectDriver-0.0
> 6.tar.gz
>
> File-Flock can be found here:
>
> http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/File-Flock-2008
> .01.tar.gz
>
> Not sure about your proxy problem.  Try installing these modules and go
> from there.
>
> -----Original Message-----
> From:
>

> support-bugzilla-bounces+jgoldberg=msdignition....@lists.mozilla.org
> [mailto:support-bugzilla-bounces+jgoldberg=msdignition....@lists.mozilla


> .org] On Behalf Of rojanu
> Sent: Thursday, July 30, 2009 9:54 AM

> To: support-bugzi...@lists.mozilla.org


> Subject: Re: Where to get TheSchwartz and Daemon-Generic
>
> I have tried to manually install but
> Daemon::Generic has prerequisite File::Flock
>
> TheSchwartz has prerequisite Data::ObjectDriver
>
> I could not find and on manual install they have some dependencies and
> tried install them but I am behind a proxy how do I go trough the
> proxy.
>
> thanks
> Rojanu
> _______________________________________________
> support-bugzilla mailing list

> support-bugzi...@lists.mozilla.orghttps://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put support-bugzi...@lists.mozilla.org in the To: field when you
> reply.

Jonathan E. Goldberg

unread,
Aug 3, 2009, 10:46:43 AM8/3/09
to support-...@lists.mozilla.org
I also had errors reported with "make test" when manually installing those modules, which could be part of the reason why the jobqueue.pl script does not work on Windows.

After running "make install", checksetup.pl does find "TheSchwartz" and "Daemon::Generic".

Max indicated that e-mail queuing was not tested on Windows, and there may be some issues with these perl modules when running on Windows. See this thread:

http://groups.google.com/group/mozilla.support.bugzilla/browse_thread/thread/1964a5312f2d43ab#

--Jonathan

Hi,


s.

_______________________________________________

PLEASE put support-...@lists.mozilla.org in the To: field when you reply.

MsLS

unread,
Aug 3, 2009, 11:22:12 AM8/3/09
to
Seems like the Packages (File::Flock and Data::ObjectDriver) don't
work on windows, the problems reported by make test are (as far as I
could find out using google :-) system specific, Flock uses some Posix
stuff windows does not understand, Objectdriver cannot disconnect from
the database since the unlink command works differently on windows
with unClosed files.

No solution so far, I guess. Lets wait and see...

s.


> I also had errors reported with "make test" when manually installing those modules, which could be part of the reason why the jobqueue.pl script does not work on Windows.
>
> After running "make install", checksetup.pl does find "TheSchwartz" and "Daemon::Generic".  
>
> Max indicated that e-mail queuing was not tested on Windows, and there may be some issues with these perl modules when running on Windows.  See this thread:
>

> http://groups.google.com/group/mozilla.support.bugzilla/browse_thread...
>
> --Jonathan

rojanu

unread,
Aug 6, 2009, 12:58:34 PM8/6/09
to
I have found a patch for unlink problem for Data::ObjectDriver unlink issue
Data-ObjectDriver-unlink.patch

MsLS

unread,
Aug 7, 2009, 2:52:07 AM8/7/09
to
Thanks!

Looking better now, although there are still errors left:

1.
t/02-basic.................NOK 58/67# Failed test 'removing all bad
wine'
# at t/02-basic.t line 245.
# got: '3'
# expected: '0E0'
# Looks like you failed 1 test of 67.

(which makes not too much sense, since the test checks for return
value "0E0" (as a string), the database returns a number... lets
ignore this)

2.
t/09-resultset.............ok 1/50Use of uninitialized value in
concatenation (.) or string at t/09-resultset.t line 173.

(I usually tend to look over these errors)


Unfortunately TheSchwarts does not test successfully anyway (a lot of
"Permission Denied" errors here); probably same problem here.


seb.

> [Data-ObjectDriver-unlink.patch1 KB ]diff -r -u Data-ObjectDriver-0.06/t/09-resultset.t Data-ObjectDriver-0.06patched/t/09-resultset.t
> --- Data-ObjectDriver-0.06/t/09-resultset.t     2009-01-28 18:21:52.000000000 +0100
> +++ Data-ObjectDriver-0.06patched/t/09-resultset.t      2009-08-06 17:57:31.542338800 +0200
> @@ -173,4 +173,5 @@
>      diag "calling next() after add_term() with 'op'" . $result->next; ## this should return the object which has "rating == 3".
>  }
>
> +$wine->driver->{dbh}->disconnect;
>  teardown_dbs(qw( global ));
> diff -r -u Data-ObjectDriver-0.06/t/10-resultset-peek.t Data-ObjectDriver-0.06patched/t/10-resultset-peek.t
> --- Data-ObjectDriver-0.06/t/10-resultset-peek.t        2008-07-17 07:55:54.000000000 +0200
> +++ Data-ObjectDriver-0.06patched/t/10-resultset-peek.t 2009-08-06 17:57:52.449793000 +0200
> @@ -147,4 +147,5 @@
>  is $result->next->name, 'Stags Leap';
>  ok ! $result->peek_next, "Stags Leap was the last one";
>
> +$wine->driver->{dbh}->disconnect;
>  teardown_dbs(qw( global ));
> diff -r -u Data-ObjectDriver-0.06/t/12-windows.t Data-ObjectDriver-0.06patched/t/12-windows.t
> --- Data-ObjectDriver-0.06/t/12-windows.t       2008-11-18 20:09:48.000000000 +0100
> +++ Data-ObjectDriver-0.06patched/t/12-windows.t        2009-08-06 17:56:19.553817500 +0200
> @@ -99,6 +99,7 @@
>  is( $load_count, 2, "2 objects loaded; limit argument respected");
>  $iter->end;
>
> +$r->driver->{dbh}->disconnect;
>  teardown_dbs(qw( global ));
>
>  print Dumper( Data::ObjectDriver->profiler->query_log ) if $ENV{DOD_PROFILE};
> diff -r -u Data-ObjectDriver-0.06/t/35-multiplexed.t Data-ObjectDriver-0.06patched/t/35-multiplexed.t
> --- Data-ObjectDriver-0.06/t/35-multiplexed.t   2008-07-17 07:55:54.000000000 +0200
> +++ Data-ObjectDriver-0.06patched/t/35-multiplexed.t    2009-08-06 18:00:15.567411100 +0200
> @@ -139,4 +139,7 @@
>      is $obj2->recipe_id, $obj->recipe_id;
>  }
>
> +for my $driver (@{ Ingredient2Recipe->driver->drivers }) {
> +    $driver->{dbh}->disconnect;
> +}
>  teardown_dbs(qw( global1 global2 ));

rojanu

unread,
Aug 12, 2009, 8:10:50 AM8/12/09
to
I have managed to install both modules via cygwin.

followed this for cygwin setup http://johnpaulett.com/2008/02/02/cpan-on-windows

and run ./checksetup.pl in bash, which instructs you to install a lot
of other modules but I just run

./install-module.pl Daemon-Generic
./install-module.pl TheSchwartz

and then go back to command prompt and run checksetup.pl. now it shows
as installed.


All good but still "jobqueue.pl" would not run on Windows!!!!!

MsLS

unread,
Aug 12, 2009, 11:17:56 AM8/12/09
to
Cygwin is no option for me (too heavy for a lightweigt vm server
machine; I would use Linux if I knew how to administer it :-). Doesn't
seem to work anyway, I think I could even get both modules installed
on Windows and still it wouldn't work...

So depressing... but that's life...

Somebody knows a good Linux distribution, able to run on a VM, no
graphical stuff required, small footprint would be good and a not too
steep learning curve? Seems to me that all that Perl stuff is just not
made for the windows world...

s.


> I have managed to install both modules via cygwin.
>

> followed this for cygwin setuphttp://johnpaulett.com/2008/02/02/cpan-on-windows

S.W.H.C.

unread,
Aug 31, 2009, 7:19:21 AM8/31/09
to
I'll take a look at it. Thanks!


s.

"Max Kanat-Alexander" <mka...@bugzilla.org> schrieb im Newsbeitrag
news:mailman.28.1250098472...@lists.mozilla.org...


> MsLS wrote:
>> Somebody knows a good Linux distribution, able to run on a VM, no
>> graphical stuff required, small footprint would be good and a not too
>> steep learning curve? Seems to me that all that Perl stuff is just not
>> made for the windows world...
>

> http://almworks.com/vbs/overview.html
>
> -Max
> --
> http://www.everythingsolved.com/
> Competent, Friendly Bugzilla and Perl Services. Everything Else, too.

0 new messages