Ticket #1043 (closed defect: fixed)

Opened 1 year ago

Last modified 9 months ago

Warnings from core/php-midgard: gmessages.c:387: could not find handler with id `5' for domain "midgard-core" (Empty hostname Empty request uri)

Reported by: jval Assigned to: piotras
Priority: major Milestone: 8.09.7 Ragnaroek
Component: Midgard Core Version: 8.09 Ragnaroek
Keywords: Cc:

Description

From dev mailing list (jval):


Now that Role_Midgardelement authenticates, template installs should work. But we get warnings...

I know Piotras said those are "only" warnings, but could you explain why do we get those? Can we get rid of those? If yes, should this be fixed in core, php-midgard or in the application itself (in this case Role_Midgardelement)?

# pear install -f ragnaroek/template_Midgard

Warning: (pid:11352): gmessages.c:387: could not find handler with id `5' for domain "midgard-core" (Empty hostname Empty request uri) in Unknown on line 0
PHP Warning:  (pid:11352): gmessages.c:387: could not find handler with id `5' for domain "midgard-core" (Empty hostname Empty request uri) in Unknown on line 0

From dev mailing list (Piotras):


I know Piotras said those are "only" warnings,

Yes. I wanted to behave "best" zend developer ;) Please, create ticket. It's php-midgard issue.


Change History

04/22/09 02:31:39 changed by jval

  • priority changed from minor to major.

Raising priority because people actually use the pear command for installing templates. It's needed when you install PEAR packages which aren't installed by default.

It looks ugly and causes people to wonder if it even works (even though apparently it works).

I bet this is quite easy to fix too.

04/27/09 20:50:22 changed by piotras

  • milestone changed from 8.09.5 Ragnaroek to 8.09.6 Ragnaroek.

10/19/09 11:10:53 changed by jval

#1288 is the same issue. Either that one or this one should be closed as duplicate.

10/19/09 11:13:10 changed by jval

Unless this requires also work on php5-midgard. Anyway, the root cause for this seems to be in core.

10/19/09 11:18:23 changed by jval

  • summary changed from Warnings from core/php-midgard when installing templates to Warnings from core/php-midgard: gmessages.c:387: could not find handler with id `5' for domain "midgard-core" (Empty hostname Empty request uri).

Btw. I also don't think it's correct to show the warning twice.

10/19/09 11:20:08 changed by jval

  • component changed from Midgard PHP to Midgard Core.

I think we don't need to have two tickets for the same issue, so I'm going to close the newer one.

Because the root cause for this is core, I'm changing this to core now. Of course if this also requires work on php5-midgard level, that too belongs to this ticket. So when this is fixed in core and doesn't also appear on PHP level, this can be closed as fixed.

10/19/09 11:25:36 changed by jval

#1288 is now closed as a duplicate of this ticket. So now we only have one ticket for this issue.

10/19/09 11:39:15 changed by jval

http://www.qaiku.com/channels/show/midgard/view/1deb959592e87e4b95911de92dbd307f570970a970a/#qaiku_1deb959d6f0dabab95911de9d733d4646887f137f13

(midgard-core-gda:23025): GLib-WARNING : /build/buildd/glib2.0-2.16.6/glib/gmessages.c:387: could not find handler with id `10' for domain "midgard-core"

It seems this issue is also in trunk, so when this is fixed, it should also be forward-ported to trunk (or back-ported to branches/ragnaroek).

10/20/09 13:00:01 changed by piotras

  • milestone changed from 8.09.6 Ragnaroek to 8.09.7 Ragnaroek.

12/10/09 15:57:54 changed by piotras

  • status changed from new to closed.
  • resolution set to fixed.

(In [24421]) Set proper loghandler when connection is opened with config. Fix #1043