TTime won't even start

5 views
Skip to first unread message

hfntsh

unread,
Jul 14, 2009, 1:52:59 PM7/14/09
to TTime
When I run it from command line I get:
/usr/bin/ttime:69:in `run_gui': undefined method `main_with_queue' for
Gtk:Module (NoMethodError)
from /usr/bin/ttime:95:in `send'
from /usr/bin/ttime:95
tried removing and re-installing newest version, no luck. Ubuntu
Jaunty.

Ohad Lutzky

unread,
Jul 15, 2009, 4:08:15 AM7/15/09
to tt...@googlegroups.com
This is very odd. Gtk.main_with_queue is monkey-patched into Gtk in ttime/gui/gtk_queue.rb, which is required in ttime/gui/main_window.rb, which is required by /usr/bin/ttime. Check that the libraries I mentioned exist in /usr/lib/ruby/1.8.
Also - which version is this (Help->About), and how did you install it? Also, what is the output of:

ruby -v /usr/bin/ttime
--
Man is the only animal that laughs and weeps, for he is the only animal that is struck with the difference between what things are and what they ought to be.
- William Hazlitt

Ohad Lutzky

hfntsh

unread,
Jul 15, 2009, 7:03:53 AM7/15/09
to TTime
can't do Help->About, as it won't start :)
But I installed the latest .deb from the website.

The libraries/files exist, as for the output:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
Warning: $KCODE is NONE.
/usr/local/lib/site_ruby/1.8/ttime/logic/scheduler.rb:9: warning:
method redefined; discarding old count
/usr/bin/ttime:69:in `run_gui': undefined method `main_with_queue' for
Gtk:Module (NoMethodError)
from /usr/bin/ttime:95:in `send'
from /usr/bin/ttime:95

I get the feeling it's less of a bug, and more of something wrong with
my personal system.

On Jul 15, 11:08 am, Ohad Lutzky <lut...@gmail.com> wrote:
> This is very odd. Gtk.main_with_queue is monkey-patched into Gtk in
> ttime/gui/gtk_queue.rb, which is required in ttime/gui/main_window.rb, which
> is required by /usr/bin/ttime. Check that the libraries I mentioned exist in
> /usr/lib/ruby/1.8.
> Also - which version is this (Help->About), and how did you install it?
> Also, what is the output of:
>
> ruby -v /usr/bin/ttime
>

Ohad Lutzky

unread,
Jul 15, 2009, 11:33:28 AM7/15/09
to tt...@googlegroups.com
That's very odd, it shouldn't even install anything to /usr/local/...
What does dpkg -l ttime give you?

hfntsh

unread,
Jul 23, 2009, 6:01:45 PM7/23/09
to TTime
Sorry for taking this long to reply, was tied up with other stuff.

anyway,
jonathan@jonathan-desktop:~$ dpkg -l ttime
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/
Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-
============================================
ii ttime 0.91 Technion Timetable Scheduler
jonathan@jonathan-desktop:~$

Ohad Lutzky

unread,
Jul 24, 2009, 6:44:37 AM7/24/09
to tt...@googlegroups.com
This is really odd. Try downloading a tarball from http://github.com/lutzky/ttime/tree/master (click Download, and choose v0.91), extract that and run:
ruby -v bin/ttime

hfntsh

unread,
Jul 25, 2009, 4:31:15 AM7/25/09
to TTime
This works just fine, thanks!

On Jul 24, 1:44 pm, Ohad Lutzky <lut...@gmail.com> wrote:
> This is really odd. Try downloading a tarball fromhttp://github.com/lutzky/ttime/tree/master(click Download, and choose

Ohad Lutzky

unread,
Jul 25, 2009, 5:23:17 AM7/25/09
to tt...@googlegroups.com
Well, that's really odd, because it shouldn't. There should be no difference between what the .deb package installs and the version you downloaded (if you indeed made sure to download v0.91). Also, the .deb package shouldn't put anything in /usr/local. What does dpkg -L ttime say? Also, try rm -rf /usr/local/lib/site_ruby/1.8/ttime, it might be and old, conflicting version.

hfntsh

unread,
Jul 26, 2009, 6:10:42 AM7/26/09
to TTime
Thanks! that was it, it now works.

btw, on another note - could you add a "clear" option for the course
list? it's a pain removing them one-by-one when a new semester (or
just a new user) comes by.

Ohad Lutzky

unread,
Aug 15, 2009, 9:57:23 AM8/15/09
to tt...@googlegroups.com
On Sun, Jul 26, 2009 at 1:10 PM, hfntsh <jgold...@gmail.com> wrote:
btw, on another note - could you add a "clear" option for the course
list? it's a pain removing them one-by-one when a new semester (or
just a new user) comes by.

Implemented in 8e4d5b5d3ad99512d0823cb6ba0557b89c46249c 
Reply all
Reply to author
Forward
0 new messages