Application “Tasque” does not run in Ubuntu 13.04

Asked by hehe_br

I've been using "Tasque" for about half a year and suddenly it stopped working. I was using Ubuntu 12.10 when it started and after the upgrade to 13.04 the problem still remains. I've purged and reinstalled the application with no success. I've tried to use a new version from the developers website which also didn't work. When I try to load the application from terminal it does not open and show this:

    ~$ tasque
    [Debug]: Tasque remote control active.
    [Debug]: Tasque.exe location: /usr/local/lib/tasque/Gtk.Tasque.dll
    [Info]: Searching for Backend DLLs in: /usr/local/lib/tasque
    [Info]: Reading /usr/local/lib/tasque/Gtk.Tasque.dll
    [Info]: Reading /usr/local/lib/tasque/RtmBackend.dll
    [Debug]: Found Available Backend: Tasque.Backends.RtmBackend.RtmBackend
    [Info]: Reading /usr/local/lib/tasque/RtmNet.dll
    [Info]: Reading /usr/local/lib/tasque/SqliteBackend.dll
    [Debug]: Found Available Backend: Tasque.Backends.Sqlite.SqliteBackend
    [Info]: Reading /usr/local/lib/tasque/libtasque.dll
    [Debug]: Storing 'Tasque.Backends.RtmBackend.RtmBackend' = 'Remember the Milk'
    [Debug]: Storing 'Tasque.Backends.Sqlite.SqliteBackend' = 'Local File'
    [Debug]: CurrentBackend specified in Preferences: Tasque.Backends.Sqlite.SqliteBackend
    [Info]: Using backend: Local File (Tasque.Backends.Sqlite.SqliteBackend)
    Exception in Gtk# callback delegate
      Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
    System.ArgumentOutOfRangeException: Argument is out of range.
      at System.DateTime.AddTicks (Int64 value) [0x00000] in <filename unknown>:0
      at System.DateTime.AddMilliseconds (Double value) [0x00000] in <filename unknown>:0
      at System.DateTime.AddSeconds (Double value) [0x00000] in <filename unknown>:0
      at Tasque.Backends.Sqlite.Database.FromTimeT (Int64 time) [0x00000] in <filename unknown>:0
      at Tasque.Backends.Sqlite.Database.ToDateTime (Int64 time) [0x00000] in <filename unknown>:0
      at Tasque.Backends.Sqlite.SqliteTask.get_DueDate () [0x00000] in <filename unknown>:0
      at Tasque.AbstractTask.CompareTo (ITask task) [0x00000] in <filename unknown>:0
      at Tasque.Backends.Sqlite.SqliteBackend.CompareTasksSortFunc (TreeModel model, TreeIter a, TreeIter b) [0x00000] in <filename unknown>:0
      at (wrapper delegate-invoke) <Module>:invoke_int__this___TreeModel_TreeIter_TreeIter (Gtk.TreeModel,Gtk.TreeIter,Gtk.TreeIter)
      at GtkSharp.TreeIterCompareFuncWrapper.NativeCallback (IntPtr model, IntPtr a, IntPtr b, IntPtr user_data) [0x00000] in <filename unknown>:0
       at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
       at GtkSharp.TreeIterCompareFuncWrapper.NativeCallback(IntPtr model, IntPtr a, IntPtr b, IntPtr user_data)
       at Gtk.TreeStore.gtk_tree_store_set_value(IntPtr , IntPtr , Int32 , IntPtr )
       at Gtk.TreeStore.SetValue(TreeIter iter, Int32 column, Value value)
       at Gtk.TreeStore.SetValue(TreeIter iter, Int32 column, System.Object value)
       at Tasque.Backends.Sqlite.SqliteBackend.RefreshTasks()
       at Tasque.Backends.Sqlite.SqliteBackend.Initialize()
       at Tasque.Application.SetBackend(IBackend value)
       at Tasque.Application.set_Backend(IBackend value)
       at Tasque.Application.InitializeIdle()
       at GLib.Idle+IdleProxy.Handler()
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at Tasque.GnomeApplication.StartMainLoop()
       at Tasque.Application.StartMainLoop()
       at Tasque.Program.Main(System.String[] args)

I guess it is something related to my Ubuntu installation or a conflict with other software as the software was working normally before the problem.

Do you have any idea of what is going on?

Thanks for your help and attention!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu tasque Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does it work ok as guest?

Revision history for this message
hehe_br (hehe-br-linux) said :
#2

On guest session it is working properly.
If loaded from terminal it shows:

~$ tasque
[Debug]: Tasque remote control active.
[Debug]: Tasque.exe location: /usr/local/lib/tasque/Gtk.Tasque.dll
[Info]: Searching for Backend DLLs in: /usr/local/lib/tasque
[Info]: Reading /usr/local/lib/tasque/Gtk.Tasque.dll
[Info]: Reading /usr/local/lib/tasque/RtmBackend.dll
[Debug]: Found Available Backend: Tasque.Backends.RtmBackend.RtmBackend
[Info]: Reading /usr/local/lib/tasque/RtmNet.dll
[Info]: Reading /usr/local/lib/tasque/SqliteBackend.dll
[Debug]: Found Available Backend: Tasque.Backends.Sqlite.SqliteBackend
[Info]: Reading /usr/local/lib/tasque/libtasque.dll
[Debug]: Storing 'Tasque.Backends.RtmBackend.RtmBackend' = 'Remember the Milk'
[Debug]: Storing 'Tasque.Backends.Sqlite.SqliteBackend' = 'Local File'
[Debug]: CurrentBackend specified in Preferences: Tasque.Backends.Sqlite.SqliteBackend
[Info]: Using backend: Local File (Tasque.Backends.Sqlite.SqliteBackend)
[Debug]: Backend sync finished
[Warn]: Cannot set status when taskWindow is null
[Debug]: Configuration status: True

Thanks!

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
hehe_br (hehe-br-linux) said :
#4

Hi,
I still have the problem, and it should be open!
The person who took the responsibility to solve the problem asked more information, I gave him it but I haven't got any reply since then.
Thanks for your help and attention!

>________________________________
> De: Launchpad Janitor <email address hidden>
>Para: <email address hidden>
>Enviadas: Sexta-feira, 6 de Setembro de 2013 5:26
>Assunto: Re: [Question #234358]: Application “Tasque” does not run in Ubuntu 13.04
>
>
>Your question #234358 on tasque in Ubuntu changed:
>https://answers.launchpad.net/ubuntu/+source/tasque/+question/234358
>
>    Status: Open => Expired
>
>Launchpad Janitor expired the question:
>This question was expired because it remained in the 'Open' state
>without activity for the last 15 days.
>
>--
>If you're still having this problem, you can reopen your question either
>by replying to this email or by going to the following page and
>entering more information about your problem:
>https://answers.launchpad.net/ubuntu/+source/tasque/+question/234358
>
>You received this question notification because you asked the question.
>
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

If the program runs well on a guest account, but fails on your normal account, the chances are hight that the problem is caused by your configuration settings or task database.

There is a quite similar bug report on https://bugzilla.gnome.org/show_bug.cgi?id=686453 apparently caused by wrong DueDate and/or CompletionDate values.

What is the output of the terminal command:
sqlite3 ~/.config/tasque/sqlitebackend.db 'select DueDate, CompletionDate from Tasks where DueDate<-62135600400 or CompletionDate<-62135600400'
(might require "sudo apt-get install sqlite3" first).

If there are values displayed, running these two commands might solve the problem:
sqlite3 ~/.config/tasque/sqlitebackend.db 'update Tasks set DueDate=-62135600400 where DueDate<-62135600400'
sqlite3 ~/.config/tasque/sqlitebackend.db 'update Tasks set CompletionDate=-62135600400 where CompletionDate<-62135600400'

Revision history for this message
hehe_br (hehe-br-linux) said :
#6

Hi Manfred,
Thanks for your help!
I run the first command and it gave no output. I tried to run tasque after that and it still crashes.
I run also the other two commands and the problem remains!

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

please provide the full output of the command

sqlite3 ~/.config/tasque/sqlitebackend.db 'select DueDate, CompletionDate from Tasks'

Revision history for this message
hehe_br (hehe-br-linux) said :
#8

~$ sqlite3 ~/.config/tasque/sqlitebackend.db 'select DueDate, CompletionDate from Tasks'
1362058043|1362058183
1370730485|1370818813
1362058278|1362561817
1370001288|1370026075
1363302000|1363358565
1365980400|1367017427
1368220174|1368488617
1368658800|1368755222
-62135600400|1370644054
-62135600400|1363511265
-62135600400|-62135600400
-62135600400|-62135600400
1364155797|1364850262
1364553181|1364564771
1369782000|1369827226
1367795355|1367874570
1367794800|1367874569
1368226800|1368349956
1367949886|1367917949
1367715229|1367794817
1368665136|1368755223
1369482264|1369519660
1370818800|1370860407
1370479469|1370603618
1370473200|1370603617
1371078000|1371201517
1371206350|1371297344
1371033576|1371245067
1371128499|1371125880
1371055247|1371125882
-62135600400|-62135600400

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#9

Sorry to say, but the solution provided in the bugzilla bug report seems not to be solving your problem, even if the crash report looks identical. I do not see any 'out of range' value in your list.

I can only make the following proposals:
1. create a bug report on https://bugzilla.gnome.org/browse.cgi?product=Tasque maybe someone there can help you,
or
2. try contacting the tasque development team, see https://wiki.gnome.org/Apps/Tasque
or
3. delete your task database or even the whole tasque config directory to restart from scratch (you will lose your list of tasks, maybe you should dump the database using sqlite commands first).

Revision history for this message
hehe_br (hehe-br-linux) said :
#10

Hi Manfred,
I have deleted the database and now it is working properly!
Thanks for your help and attention!

Revision history for this message
hehe_br (hehe-br-linux) said :
#11

Thanks Manfred Hampl, that solved my question.