user-jackychan / trimpath

Automatically exported from code.google.com/p/trimpath
0 stars 0 forks source link

TypeError: Context.allLevels is not a function #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. unpack fresh trimpath-junction-1.1.6.tar.gz, run ./hop/start.sh on Linux
2. load http://localhost:8080/engines/100/apps/nextaction
3. load http://localhost:8080/engines/100/apps/nextaction;start

What is the expected output? What do you see instead?
I'd like to see a start page, but I get this instead:

[ERROR: template parsing: /app/views/layouts/default:
 TypeError: Context.allLevels is not a function;
 Context.allLevels is not a function;
 TypeError;
 (null,[object
Object])@http://localhost:8080/javascripts/este/este.js?1185855377:134
(null,[object
Object])@http://localhost:8080/javascripts/este/este.js?1185855377:123
([object
Object])@http://localhost:8080/javascripts/trimpath/junctionClient.js?1185855379
:187
("/app/views/layouts/default",[object
Object],"")@http://localhost:8080/javascripts/trimpath/junctionClient.js?1185855
379:175
("/app/views/layouts/default")@http://localhost:8080/javascripts/trimpath/juncti
on.js?1185855379:1725
("get","home","start",undefined,[object
Object])@http://localhost:8080/javascripts/trimpath/junction.js?1185855379:3171
("home","start",undefined,[object Object],[object
Object])@http://localhost:8080/javascripts/trimpath/junctionClient.js?1185855379
:1140
("home","start",undefined,[object
Object])@http://localhost:8080/javascripts/trimpath/junctionClient.js?1185855379
:1086
([object
Object])@http://localhost:8080/javascripts/trimpath/junctionClient.js?1185855379
:304
([object
XMLHttpRequest])@http://localhost:8080/javascripts/trimpath/junctionClient.js?11
85855379:114
([object
XMLHttpRequest],null)@http://localhost:8080/javascripts/trimpath/junctionClient.
js?1185855379:447
(4)@http://localhost:8080/javascripts/prototype.js?1185855377:905
()@http://localhost:8080/javascripts/prototype.js?1185855377:853
apply([object Object],[object Array])@:0
()@http://localhost:8080/javascripts/prototype.js?1185855377:71
@:0
;
 no further description;
 http://localhost:8080/javascripts/este/este.js?1185855377;
 134]

What version of the product are you using? On what operating system?

trimpath-junction-1.1.6
Firefox 2.0.0.4
Ubuntu Linux 7.04 Feisty

Please provide any additional information below.

Will get back quickly to assist debugging this.

Original issue reported on code.google.com by jan.koko...@gmail.com on 31 Jul 2007 at 4:01

GoogleCodeExporter commented 8 years ago
Hmmm.  I wonder if it's due to Linux or Java on linux somehow.  I develop on 
Windows,
and have tested it sometimes on friend's borrowed Max OSX laptops.

Original comment by steve....@gmail.com on 5 Aug 2007 at 5:54

GoogleCodeExporter commented 8 years ago
OK... and what Java do you run it on normally? I might have more JVMs 
installed, but
if it's picking up /usr/bin/java, that eventually points to
/usr/lib/j2sdk1.5-sun/bin/java from my DEB packaged installation of 
sun-j2sdk1.5,
version 1.5.0+update05.

This might not be very recent (I think I packaged it last year, so far worked 
well
for me though), what version do you recommend?

Original comment by jan.koko...@gmail.com on 5 Aug 2007 at 2:05

GoogleCodeExporter commented 8 years ago
I run 1.5.0_04-b05, hotspot client.  So, Java's probably not it.

Let's concentrate on Issue 6 first, since Issue 6 seems to be part of the steps 
to
reproduce Issue 6.  Thanks.

Original comment by steve....@gmail.com on 5 Aug 2007 at 3:49

GoogleCodeExporter commented 8 years ago
You're right, Issue 6 is fixed for me in 1.1.10 and that also fixes Issue 5. I 
can
host  my Next Action on Linux, yay! 

Thanks for great software,
Jan

Original comment by jan.koko...@gmail.com on 6 Aug 2007 at 11:32

GoogleCodeExporter commented 8 years ago
That's great to hear.  So, you're the first one to Junction on Linux.

(marking as fixed)

Original comment by steve....@gmail.com on 7 Aug 2007 at 3:18