Re: [Planner Dev] Windows version crashes



On tis, 2004-07-27 at 09:43 +0300, Jani tiainen wrote:

Hi,

> Problem was that in Planner is assumed (and hardcoded - what a shame!)
> that dynamic libraries end with .so, which isn't case in Windows, so I
> did a little change.

Patches are always welcome.

> $ planner
> 
> (planner:968): GLib-GObject-WARNING **: value "-86400" of type `glong' 
> is invalid or out of range for property `project-start' of type `glong'

It would be great if you can see what triggers this with a debugger (set
a breakpoint on g_log for example and get a backtrace).

> (planner:968): GLib-GObject-WARNING **: cannot register existing type 
> `PlannerGanttModel'
> 
> (planner:968): GLib-GObject-CRITICAL **: file gtype.c: line 2319 
> (g_type_add_interface_static): assertion `G_TYPE_IS_INSTANTIATABLE 
> (instance_type)' failed
> 
> (planner:968): GLib-GObject-CRITICAL **: file gobject.c: line 819 
> (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed

This looks like some problem due to the same code being in two views
which are then dynamically loaded... (the task and gantt view). I'm not
sure why it tries to register the same type twice though.

/Richard

-- 
Imendio HB, http://www.imendio.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]