neilw
12-01-2009, 04:18 PM
We are trying to create a fresh wiki VM from the database of our existing, slightly messed up wiki (everything running 9.08.1). As far as I can tell, *everything* is working fine with exactly two exceptions:
1) Every five minutes, we get the following warning in deki-api.log:
2009-12-01 09:10:01,769 [27] WARN MindTouch.Dream.DreamFeatureChain - access 'Private' to feature 'http://localhost:8081/host/status?apikey=XXXXXXXXXXXXX' denied for ''
That's the correct API key for our current wiki instance (it's the one from the old wiki, which we copied over when restoring).
2) wiki.popular(10) doesn't work. I get this error:
MindTouch.Deki.Script.DekiScriptInvokeException: function 'wiki.popular' failed
Server stack trace:
at MindTouch.Deki.Script.DekiScriptRuntime+<Invoke>d__0.MoveNext () [0x00000]
at MindTouch.Dream.Coroutine.Iterate (IEnumerator`1 coroutine, MindTouch.Tasking.TaskEnv env, System.Action`1 completion) [0x00000]
Exception rethrown at [0]:
---> System.InvalidProgramException: Invalid IL code in (wrapper runtime-invoke) MindTouch.Deki.DekiWikiService:runtime_invoke_IEnu merator`1<IYield>__this___Nullable`1<int>_Result`1<XDoc> (object,intptr,intptr,intptr): IL_002b: call 0x00000006
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
--- End of inner exception stack trace ---
at MindTouch.Deki.Script.DekiScriptRuntime+<Invoke>d__0.MoveNext () [0x00000]
at MindTouch.Dream.Coroutine.Iterate (IEnumerator`1 coroutine, MindTouch.Tasking.TaskEnv env, System.Action`1 completion) [0x00000]
I tried just calling wiki.popular() without an arg, no difference.
Don't know if these two problems are related (probably not). It's weird having all DekiScript (AFAIK) working except one particular function. Any ideas?
1) Every five minutes, we get the following warning in deki-api.log:
2009-12-01 09:10:01,769 [27] WARN MindTouch.Dream.DreamFeatureChain - access 'Private' to feature 'http://localhost:8081/host/status?apikey=XXXXXXXXXXXXX' denied for ''
That's the correct API key for our current wiki instance (it's the one from the old wiki, which we copied over when restoring).
2) wiki.popular(10) doesn't work. I get this error:
MindTouch.Deki.Script.DekiScriptInvokeException: function 'wiki.popular' failed
Server stack trace:
at MindTouch.Deki.Script.DekiScriptRuntime+<Invoke>d__0.MoveNext () [0x00000]
at MindTouch.Dream.Coroutine.Iterate (IEnumerator`1 coroutine, MindTouch.Tasking.TaskEnv env, System.Action`1 completion) [0x00000]
Exception rethrown at [0]:
---> System.InvalidProgramException: Invalid IL code in (wrapper runtime-invoke) MindTouch.Deki.DekiWikiService:runtime_invoke_IEnu merator`1<IYield>__this___Nullable`1<int>_Result`1<XDoc> (object,intptr,intptr,intptr): IL_002b: call 0x00000006
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
--- End of inner exception stack trace ---
at MindTouch.Deki.Script.DekiScriptRuntime+<Invoke>d__0.MoveNext () [0x00000]
at MindTouch.Dream.Coroutine.Iterate (IEnumerator`1 coroutine, MindTouch.Tasking.TaskEnv env, System.Action`1 completion) [0x00000]
I tried just calling wiki.popular() without an arg, no difference.
Don't know if these two problems are related (probably not). It's weird having all DekiScript (AFAIK) working except one particular function. Any ideas?