press tool crashes in latest code
Reported by Patrick Crosby | November 19th, 2008 @ 04:53 AM | in 0.6
The 'press' tool was working fine for me until last night (11/18). Now it crashes:
maximal:~/git/edelstein> rake build:press
(in /Users/patrick/git/edelstein)
rm -rf public/paph
Setting up Rhino utilties
/usr/local/share/objj/lib/press.j: import keyword is deprecated, use @import instead.
/usr/local/share/objj/lib/press.j: import keyword is deprecated, use @import instead.
2008-11-19 09:50:41.066 Cappuccino [info]: Application root: /Users/patrick/git/edelstein/public/caph
2008-11-19 09:50:41.070 Cappuccino [info]: Output directory: public/paph
2008-11-19 09:50:41.070 Cappuccino [info]: Main file: /Users/patrick/git/edelstein/public/caph/main.j
2008-11-19 09:50:41.073 Cappuccino [info]: Frameworks: /Users/patrick/git/edelstein/public/caph/Frameworks
Setting up 'load()'
Setting up 'readFile()' for Rhino
Setting up Rhino utilties
OBJJ EXCEPTION: ReferenceError: "importPackage" is not defined.
Name: ReferenceError
Message: "importPackage" is not defined.
File: <eval'ed string>#1(Function)
Line: 337
Rhino Exception: org.mozilla.javascript.EcmaError: ReferenceError: "importPackage" is not defined. (<eval'ed string>#1(Function)#337)
org.mozilla.javascript.EcmaError: ReferenceError: "importPackage" is not defined. (<eval'ed string>#1(Function)#337)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3566)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3544)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3629)
at org.mozilla.javascript.ScriptRuntime.getNameFunctionAndThis(ScriptRuntime.java:2084)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:95)
at org.mozilla.javascript.gen.c2._c0(Objective-J.js:52)
at org.mozilla.javascript.gen.c2.call(Objective-J.js)
at org.mozilla.javascript.gen.c2.exec(Objective-J.js)
at org.mozilla.javascript.Context.evaluateString(Context.java:1088)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3311)
at script(<eval'ed string>#1(Function):337)
at script(<eval'ed string>#1(Function):85)
at script.anonymous(<eval'ed string>#1(Function):547)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2486)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at objj._c177(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
at objj._c173(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
at objj._c175(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
at objj._c11(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at objj._c0(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
at objj.call(Unknown Source)
at objj.exec(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime$1.run(OptRuntime.java:252)
at org.mozilla.javascript.Context.call(Context.java:499)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511)
at org.mozilla.javascript.optimizer.OptRuntime.main(OptRuntime.java:240)
at objj.main(Unknown Source)
Comments and changes to this ticket
-
Patrick Crosby November 20th, 2008 @ 05:53 PM
Any updates to this? It still doesn't work for me, and I could really use it for deployment....
Thanks...
-
admin (at 280north) November 21st, 2008 @ 01:48 AM
- State changed from new to resolved
(from [5d8cea9ed64128445dc29fb1ed3325065549ecee]) Fix for press being broken.
[#143 state:resolved]
Reviewed by tolmasky. http://github.com/280north/cappu...
-
Francisco Tolmasky November 21st, 2008 @ 01:49 AM
- Milestone set to 0.6
- Assigned user set to Tom Robinson
Sorry this took so long, please let us know if you have any more trouble with it
-
Patrick Crosby November 21st, 2008 @ 05:05 AM
Thanks, but I'm getting a different error now:
maximal:~/git/edelstein> rake build:press (in /Users/patrick/git/edelstein) rm -rf public/paph Setting up Rhino utilties OBJJ EXCEPTION: TypeError: Cannot call property println in object [JavaPackage java.System.out]. It is not a function, it is "object". Name: TypeError Message: Cannot call property println in object [JavaPackage java.System.out]. It is not a function, it is "object". File: Line: 0 Rhino Exception: org.mozilla.javascript.EcmaError: TypeError: Cannot call property println in object [JavaPackage java.System.out]. It is not a function, it is "object". org.mozilla.javascript.EcmaError: TypeError: Cannot call property println in object [JavaPackage java.System.out]. It is not a function, it is "object". at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3566) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3544) at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3572) at org.mozilla.javascript.ScriptRuntime.typeError3(ScriptRuntime.java:3598) at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3658) at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2185) at objj._c38(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66) at objj._c36(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97) at objj._c167(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) at objj._c158(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:333) at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2265) at objj._c145(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97) at objj._c179(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66) at objj._c132(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66) at objj._c129(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2346) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:282) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) at objj._c128(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119) at objj._c11(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108) at objj._c0(Unknown Source) at objj.call(Unknown Source) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003) at objj.call(Unknown Source) at objj.exec(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime$1.run(OptRuntime.java:252) at org.mozilla.javascript.Context.call(Context.java:499) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at org.mozilla.javascript.optimizer.OptRuntime.main(OptRuntime.java:240) at objj.main(Unknown Source)
I tried fully cleaning my build directory and install directory and doing a clean bootstrap, but still got this same error.
Thanks...
-
Patrick Crosby November 21st, 2008 @ 07:02 AM
- Tag changed from bug, press, tools to bug, patch, press, tools
I fixed the println bug myself. Attached is a patch.
-
Francisco Tolmasky November 21st, 2008 @ 02:05 PM
OK, its been committed, don't know why this seemed to work last night, thanks!
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.