klipstein/dojango — Issue #98: JavaScript runtime exception when using dojobuild with 1.7.*
Author: zimnyx
Created: 2012-01-18 13:46:52+00:00
State: open

I tried it on both 1.7.0 and 1.7.1.
Does it work for you?

python manage.py dojoload --dojo_version 1.7.0
python manage.py dojobuild
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-d32	use a 32-bit data model if available
-d64	use a 64-bit data model if available
-server	to select the "server" VM
-jamvm	to select the "jamvm" VM
-cacao	to select the "cacao" VM
-zero	to select the "zero" VM
-shark	is a synonym for the "zero" VM [deprecated]
The default VM is server.

-cp
-classpath
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D=
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:...|:]
-enableassertions[:...|:]
enable assertions with specified granularity
-da[:...|:]
-disableassertions[:...|:]
disable assertions with specified granularity
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:[=]
load native agent library , e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:[=]
load native agent library by full pathname
-javaagent:[=]
load Java programming language agent, see java.lang.instrument
-splash:
show splash screen with specified image
See http://java.sun.com/javase/reference for more details.
warn(218) the command line switch profileFile is deprectated; use profile for both files and profiles
processing profile resource /tmp/proj/dojo/my.profile.js
js: "#1(Function)#1(eval)", line 207: uncaught JavaScript runtime exception: TypeError: Cannot call property log in object [object Object]. It is not a function, it is "number".
at #1(Function)#1(eval):207 (processPackage)
at #1(Function)#1(eval):289
at #1(Function)#1(eval):191
at #1(Function)#1(eval):84