[GNOME Do] Getting Things Done (GTG) plugin

131 views
Skip to first unread message

Tomaž Muraus

unread,
Mar 27, 2010, 11:42:34 AM3/27/10
to GNOME Do
Hello all,

I'm working on a GTG plugin (http://gtg.fritalk.com) for Gnome DO.

With this plugin you can (currently) create new tasks and edit
existing ones.

It supports this of kind work-flow:

Adding a new task:

1. You enter a task title (you can also include the start date, due
date and tags)
2. You press tab
3. You select "Create a GTG task"

(or vice-versa)

Modifying existing task:

1. You enter the existing task title or search for "GTG Tasks" and
then choose a task and press enter - this will open a GTG dialog with
task details.

The following input is recognized (dates and tags are recognized and
striped from the task title):

Homework exercise #1, #2 starts: +3 days ends: 21.04.2010 @school
@homework
Go make a sandwich start: tommorow due: tommorow @food
Clean the house starts: today ends: +10 days
Answer the emails @personal @asap start: today

The code is located at http://bazaar.launchpad.net/~tomaz-muraus/do/gtg/files/head:/GTG/

Since this is my first Gnome DO plugin, I would be very happy if
someone could take some time to review the code and advise where I
could improve it.

P.S. It would be also great if someone could advise how I could
dynamically update the task list before it is displayed, so it doesn't
get stale when you add a new task or delete existing ones.

On IRC lamalex said, there is currently no way, but maybe someone can
come up with a reasonable work around.

Thanks,
Tomaž

Sam

unread,
May 5, 2010, 12:57:24 AM5/5/10
to GNOME Do
Hi,

Thanks for sharing this plug-in, sounds great! I'm running Ubuntu
Lucid with the GNOME Do 0.8.3.1.

I compiled, installed, and enabled your plugin. Once it's enabled, I
get the following errors:

Stack overflow in unmanaged: IP: 0x81dd5c9, fault addr: 0xbf601e4c
Stack overflow in unmanaged: IP: 0x81dd5cd, fault addr: 0xbf600ff4

followed by this repeatedly:

[Error 23:49:29.322] [PluginManager] Encountered error loading plugin:
TargetInvocationException "Exception has been thrown by the target of
an invocation."
Error while getting object for node in path '/Do/ItemSource'.
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.ArgumentException:
Duplicate type name within an assembly.
at System.Reflection.Emit.ModuleBuilder.DefineType (System.String
name, TypeAttributes attr, System.Type parent, System.Type[]
interfaces, PackingSize packingSize, Int32 typesize) [0x00000]
at System.Reflection.Emit.ModuleBuilder.DefineType (System.String
name, TypeAttributes attr, System.Type parent, System.Type[]
interfaces) [0x00000]
at System.Reflection.Emit.ModuleBuilder.DefineType (System.String
name, TypeAttributes attr, System.Type parent) [0x00000]
at NDesk.DBus.TypeImplementer.GetImplementation (System.Type
declType) [0x00000]
at NDesk.DBus.BusObject.GetObject (NDesk.DBus.Connection conn,
System.String bus_name, NDesk.DBus.ObjectPath object_path, System.Type
declType) [0x00000]
at NDesk.DBus.Connection.GetObject (System.Type type, System.String
bus_name, NDesk.DBus.ObjectPath path) [0x00000]
at NDesk.DBus.Connection.GetObject[IGTG] (System.String bus_name,
NDesk.DBus.ObjectPath path) [0x00000]
at GTG.DBus.GTGDBus.FindInstance () [0x00000]
at GTG.DBus.GTGDBus..ctor () [0x00000]
at GTG.GTGTaskItemSource..ctor () [0x00000]
at (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke
(object,object[],System.Exception&)
at System.Reflection.MonoCMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00000]
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00000]
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.ConstructorInfo.Invoke (System.Object[]
parameters) [0x00000]
at System.Activator.CreateInstance (System.Type type, Boolean
nonPublic) [0x00000]
at System.Activator.CreateInstance (System.Type type) [0x00000]
at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000]
at Mono.Addins.InstanceExtensionNode.GetInstance () [0x00000]
at Mono.Addins.InstanceExtensionNode.GetInstance (System.Type
expectedType) [0x00000]
at Mono.Addins.ExtensionNode.GetChildObjects (System.Type
arrayElementType, Boolean reuseCachedInstance) [0x00000]

Is there any way to fix this?

Thanks, sam


On Mar 27, 11:42 am, Tomaž Muraus <k...@k5-storitve.net> wrote:
> Hello all,
>
> I'm working on a GTG plugin (http://gtg.fritalk.com) for Gnome DO.
>
> With this plugin you can (currently) create new tasks and edit
> existing ones.
>
> It supports this of kind work-flow:
>
> Adding a new task:
>
> 1. You enter a task title (you can also include the start date, due
> date and tags)
> 2. You press tab
> 3. You select "Create a GTG task"
>
> (or vice-versa)
>
> Modifying existing task:
>
> 1. You enter the existing task title or search for "GTG Tasks" and
> then choose a task and press enter - this will open a GTG dialog with
> task details.
>
> The following input is recognized (dates and tags are recognized and
> striped from the task title):
>
> Homework exercise #1, #2 starts: +3 days ends: 21.04.2010 @school
> @homework
> Go make a sandwich start: tommorow due: tommorow @food
> Clean the house starts: today ends: +10 days
> Answer the emails @personal @asap start: today
>
> The code is located athttp://bazaar.launchpad.net/~tomaz-muraus/do/gtg/files/head:/GTG/
>
> Since this is my first Gnome DO plugin, I would be very happy if
> someone could take some time to review the code and advise where I
> could improve it.
>
> P.S. It would be also great if someone could advise how I could
> dynamically update the task list before it is displayed, so it doesn't
> get stale when you add a new task or delete existing ones.
>
> On IRC lamalex said, there is currently no way, but maybe someone can
> come up with a reasonable work around.
>
> Thanks,
> Tomaž

--
You received this message because you are subscribed to the Google Groups "GNOME Do" group.
To post to this group, send email to gnom...@googlegroups.com.
To unsubscribe from this group, send email to gnome-do+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gnome-do?hl=en.

Reply all
Reply to author
Forward
0 new messages