| 1 | Content-Type: text/html |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|---|
| 5 | <html lang="en"> |
|---|
| 6 | <head> |
|---|
| 7 | <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|---|
| 8 | <meta name="robots" content="NONE,NOARCHIVE"> |
|---|
| 9 | <title>ValidationException at /webadmin/experimenter/delete/3/</title> |
|---|
| 10 | <style type="text/css"> |
|---|
| 11 | html * { padding:0; margin:0; } |
|---|
| 12 | body * { padding:10px 20px; } |
|---|
| 13 | body * * { padding:0; } |
|---|
| 14 | body { font:small sans-serif; } |
|---|
| 15 | body>div { border-bottom:1px solid #ddd; } |
|---|
| 16 | h1 { font-weight:normal; } |
|---|
| 17 | h2 { margin-bottom:.8em; } |
|---|
| 18 | h2 span { font-size:80%; color:#666; font-weight:normal; } |
|---|
| 19 | h3 { margin:1em 0 .5em 0; } |
|---|
| 20 | h4 { margin:0 0 .5em 0; font-weight: normal; } |
|---|
| 21 | table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } |
|---|
| 22 | tbody td, tbody th { vertical-align:top; padding:2px 3px; } |
|---|
| 23 | thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } |
|---|
| 24 | tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } |
|---|
| 25 | table.vars { margin:5px 0 2px 40px; } |
|---|
| 26 | table.vars td, table.req td { font-family:monospace; } |
|---|
| 27 | table td.code { width:100%; } |
|---|
| 28 | table td.code div { overflow:hidden; } |
|---|
| 29 | table.source th { color:#666; } |
|---|
| 30 | table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } |
|---|
| 31 | ul.traceback { list-style-type:none; } |
|---|
| 32 | ul.traceback li.frame { margin-bottom:1em; } |
|---|
| 33 | div.context { margin: 10px 0; } |
|---|
| 34 | div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } |
|---|
| 35 | div.context ol li { font-family:monospace; white-space:pre; color:#666; cursor:pointer; } |
|---|
| 36 | div.context ol.context-line li { color:black; background-color:#ccc; } |
|---|
| 37 | div.context ol.context-line li span { float: right; } |
|---|
| 38 | div.commands { margin-left: 40px; } |
|---|
| 39 | div.commands a { color:black; text-decoration:none; } |
|---|
| 40 | #summary { background: #ffc; } |
|---|
| 41 | #summary h2 { font-weight: normal; color: #666; } |
|---|
| 42 | #explanation { background:#eee; } |
|---|
| 43 | #template, #template-not-exist { background:#f6f6f6; } |
|---|
| 44 | #template-not-exist ul { margin: 0 0 0 20px; } |
|---|
| 45 | #unicode-hint { background:#eee; } |
|---|
| 46 | #traceback { background:#eee; } |
|---|
| 47 | #requestinfo { background:#f6f6f6; padding-left:120px; } |
|---|
| 48 | #summary table { border:none; background:transparent; } |
|---|
| 49 | #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } |
|---|
| 50 | #requestinfo h3 { margin-bottom:-1em; } |
|---|
| 51 | .error { background: #ffc; } |
|---|
| 52 | .specific { color:#cc3300; font-weight:bold; } |
|---|
| 53 | h2 span.commands { font-size:.7em;} |
|---|
| 54 | span.commands a:link {color:#5E5694;} |
|---|
| 55 | pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } |
|---|
| 56 | </style> |
|---|
| 57 | <script type="text/javascript"> |
|---|
| 58 | //<!-- |
|---|
| 59 | function getElementsByClassName(oElm, strTagName, strClassName){ |
|---|
| 60 | // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com |
|---|
| 61 | var arrElements = (strTagName == "*" && document.all)? document.all : |
|---|
| 62 | oElm.getElementsByTagName(strTagName); |
|---|
| 63 | var arrReturnElements = new Array(); |
|---|
| 64 | strClassName = strClassName.replace(/\-/g, "\-"); |
|---|
| 65 | var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); |
|---|
| 66 | var oElement; |
|---|
| 67 | for(var i=0; i<arrElements.length; i++){ |
|---|
| 68 | oElement = arrElements[i]; |
|---|
| 69 | if(oRegExp.test(oElement.className)){ |
|---|
| 70 | arrReturnElements.push(oElement); |
|---|
| 71 | } |
|---|
| 72 | } |
|---|
| 73 | return (arrReturnElements) |
|---|
| 74 | } |
|---|
| 75 | function hideAll(elems) { |
|---|
| 76 | for (var e = 0; e < elems.length; e++) { |
|---|
| 77 | elems[e].style.display = 'none'; |
|---|
| 78 | } |
|---|
| 79 | } |
|---|
| 80 | window.onload = function() { |
|---|
| 81 | hideAll(getElementsByClassName(document, 'table', 'vars')); |
|---|
| 82 | hideAll(getElementsByClassName(document, 'ol', 'pre-context')); |
|---|
| 83 | hideAll(getElementsByClassName(document, 'ol', 'post-context')); |
|---|
| 84 | hideAll(getElementsByClassName(document, 'div', 'pastebin')); |
|---|
| 85 | } |
|---|
| 86 | function toggle() { |
|---|
| 87 | for (var i = 0; i < arguments.length; i++) { |
|---|
| 88 | var e = document.getElementById(arguments[i]); |
|---|
| 89 | if (e) { |
|---|
| 90 | e.style.display = e.style.display == 'none' ? 'block' : 'none'; |
|---|
| 91 | } |
|---|
| 92 | } |
|---|
| 93 | return false; |
|---|
| 94 | } |
|---|
| 95 | function varToggle(link, id) { |
|---|
| 96 | toggle('v' + id); |
|---|
| 97 | var s = link.getElementsByTagName('span')[0]; |
|---|
| 98 | var uarr = String.fromCharCode(0x25b6); |
|---|
| 99 | var darr = String.fromCharCode(0x25bc); |
|---|
| 100 | s.innerHTML = s.innerHTML == uarr ? darr : uarr; |
|---|
| 101 | return false; |
|---|
| 102 | } |
|---|
| 103 | function switchPastebinFriendly(link) { |
|---|
| 104 | s1 = "Switch to copy-and-paste view"; |
|---|
| 105 | s2 = "Switch back to interactive view"; |
|---|
| 106 | link.innerHTML = link.innerHTML == s1 ? s2 : s1; |
|---|
| 107 | toggle('browserTraceback', 'pastebinTraceback'); |
|---|
| 108 | return false; |
|---|
| 109 | } |
|---|
| 110 | //--> |
|---|
| 111 | </script> |
|---|
| 112 | </head> |
|---|
| 113 | <body> |
|---|
| 114 | <div id="summary"> |
|---|
| 115 | <h1>ValidationException at /webadmin/experimenter/delete/3/</h1> |
|---|
| 116 | <pre class="exception_value">exception ::omero::ValidationException |
|---|
| 117 | { |
|---|
| 118 | serverStackTrace = ome.conditions.ValidationException: could not delete: [ome.model.meta.Experimenter#3]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [ome.model.meta.Experimenter#3] |
|---|
| 119 | at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:624) |
|---|
| 120 | at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) |
|---|
| 121 | at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:117) |
|---|
| 122 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 123 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) |
|---|
| 124 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 125 | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:169) |
|---|
| 126 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 127 | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:97) |
|---|
| 128 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 129 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) |
|---|
| 130 | at $Proxy63.deleteExperimenter(Unknown Source) |
|---|
| 131 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|---|
| 132 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 133 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 134 | at java.lang.reflect.Method.invoke(Unknown Source) |
|---|
| 135 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) |
|---|
| 136 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) |
|---|
| 137 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) |
|---|
| 138 | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:78) |
|---|
| 139 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 140 | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:35) |
|---|
| 141 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 142 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) |
|---|
| 143 | at $Proxy63.deleteExperimenter(Unknown Source) |
|---|
| 144 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|---|
| 145 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 146 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 147 | at java.lang.reflect.Method.invoke(Unknown Source) |
|---|
| 148 | at ome.services.blitz.util.IceMethodInvoker.callOrClose(IceMethodInvoker.java:257) |
|---|
| 149 | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
|---|
| 150 | at ome.services.throttling.Callback.run(Callback.java:55) |
|---|
| 151 | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:37) |
|---|
| 152 | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:114) |
|---|
| 153 | at ome.services.blitz.impl.AdminI.deleteExperimenter_async(AdminI.java:191) |
|---|
| 154 | at omero.api._IAdminTie.deleteExperimenter_async(_IAdminTie.java:169) |
|---|
| 155 | at omero.api._IAdminDisp.___deleteExperimenter(_IAdminDisp.java:900) |
|---|
| 156 | at omero.api._IAdminDisp.__dispatch(_IAdminDisp.java:1289) |
|---|
| 157 | at IceInternal.Incoming.invoke(Incoming.java:166) |
|---|
| 158 | at Ice.ConnectionI.invokeAll(ConnectionI.java:2045) |
|---|
| 159 | at Ice.ConnectionI.message(ConnectionI.java:977) |
|---|
| 160 | at IceInternal.ThreadPool.run(ThreadPool.java:575) |
|---|
| 161 | at IceInternal.ThreadPool.access$100(ThreadPool.java:12) |
|---|
| 162 | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:951) |
|---|
| 163 | |
|---|
| 164 | serverExceptionClass = ome.conditions.ValidationException |
|---|
| 165 | message = could not delete: [ome.model.meta.Experimenter#3]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [ome.model.meta.Experimenter#3] |
|---|
| 166 | }</pre> |
|---|
| 167 | <table class="meta"> |
|---|
| 168 | <tr> |
|---|
| 169 | <th>Request Method:</th> |
|---|
| 170 | <td>GET</td> |
|---|
| 171 | </tr> |
|---|
| 172 | <tr> |
|---|
| 173 | <th>Request URL:</th> |
|---|
| 174 | <td>http://127.0.0.1:8000/webadmin/experimenter/delete/3/</td> |
|---|
| 175 | </tr> |
|---|
| 176 | <tr> |
|---|
| 177 | <th>Exception Type:</th> |
|---|
| 178 | <td>ValidationException</td> |
|---|
| 179 | </tr> |
|---|
| 180 | <tr> |
|---|
| 181 | <th>Exception Value:</th> |
|---|
| 182 | <td><pre>exception ::omero::ValidationException |
|---|
| 183 | { |
|---|
| 184 | serverStackTrace = ome.conditions.ValidationException: could not delete: [ome.model.meta.Experimenter#3]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [ome.model.meta.Experimenter#3] |
|---|
| 185 | at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:624) |
|---|
| 186 | at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) |
|---|
| 187 | at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:117) |
|---|
| 188 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 189 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) |
|---|
| 190 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 191 | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:169) |
|---|
| 192 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 193 | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:97) |
|---|
| 194 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 195 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) |
|---|
| 196 | at $Proxy63.deleteExperimenter(Unknown Source) |
|---|
| 197 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|---|
| 198 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 199 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 200 | at java.lang.reflect.Method.invoke(Unknown Source) |
|---|
| 201 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) |
|---|
| 202 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) |
|---|
| 203 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) |
|---|
| 204 | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:78) |
|---|
| 205 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 206 | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:35) |
|---|
| 207 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 208 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) |
|---|
| 209 | at $Proxy63.deleteExperimenter(Unknown Source) |
|---|
| 210 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|---|
| 211 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 212 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 213 | at java.lang.reflect.Method.invoke(Unknown Source) |
|---|
| 214 | at ome.services.blitz.util.IceMethodInvoker.callOrClose(IceMethodInvoker.java:257) |
|---|
| 215 | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
|---|
| 216 | at ome.services.throttling.Callback.run(Callback.java:55) |
|---|
| 217 | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:37) |
|---|
| 218 | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:114) |
|---|
| 219 | at ome.services.blitz.impl.AdminI.deleteExperimenter_async(AdminI.java:191) |
|---|
| 220 | at omero.api._IAdminTie.deleteExperimenter_async(_IAdminTie.java:169) |
|---|
| 221 | at omero.api._IAdminDisp.___deleteExperimenter(_IAdminDisp.java:900) |
|---|
| 222 | at omero.api._IAdminDisp.__dispatch(_IAdminDisp.java:1289) |
|---|
| 223 | at IceInternal.Incoming.invoke(Incoming.java:166) |
|---|
| 224 | at Ice.ConnectionI.invokeAll(ConnectionI.java:2045) |
|---|
| 225 | at Ice.ConnectionI.message(ConnectionI.java:977) |
|---|
| 226 | at IceInternal.ThreadPool.run(ThreadPool.java:575) |
|---|
| 227 | at IceInternal.ThreadPool.access$100(ThreadPool.java:12) |
|---|
| 228 | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:951) |
|---|
| 229 | |
|---|
| 230 | serverExceptionClass = ome.conditions.ValidationException |
|---|
| 231 | message = could not delete: [ome.model.meta.Experimenter#3]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [ome.model.meta.Experimenter#3] |
|---|
| 232 | }<pre></td> |
|---|
| 233 | </tr> |
|---|
| 234 | <tr> |
|---|
| 235 | <th>Exception Location:</th> |
|---|
| 236 | <td>C:\omero_dist\lib\python\omero_API_ice.py in deleteExperimenter, line 415</td> |
|---|
| 237 | </tr> |
|---|
| 238 | <tr> |
|---|
| 239 | <th>Python Executable:</th> |
|---|
| 240 | <td>C:\Python25\python.exe</td> |
|---|
| 241 | </tr> |
|---|
| 242 | <tr> |
|---|
| 243 | <th>Python Version:</th> |
|---|
| 244 | <td>2.5.4</td> |
|---|
| 245 | </tr> |
|---|
| 246 | <tr> |
|---|
| 247 | <th>Python Path:</th> |
|---|
| 248 | <td>['C:\\omero_dist\\lib\\python\\omeroweb', 'C:\\Ice-3.3.0\\bin', 'C:\\Ice-3.3.0\\python', 'C:\\omero_dist\\lib\\python', 'C:\\Python25', 'C:\\WINDOWS\\system32\\python25.zip', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\\lib\\plat-win', 'C:\\Python25\\lib\\lib-tk', 'C:\\Python25\\lib\\site-packages', 'C:\\Python25\\lib\\site-packages\\win32', 'C:\\Python25\\lib\\site-packages\\win32\\lib', 'C:\\Python25\\lib\\site-packages\\Pythonwin', 'icepy', 'lib']</td> |
|---|
| 249 | </tr> |
|---|
| 250 | <tr> |
|---|
| 251 | <th>Server time:</th> |
|---|
| 252 | <td>Thu, 23 Apr 2009 08:50:42 +0100</td> |
|---|
| 253 | </tr> |
|---|
| 254 | </table> |
|---|
| 255 | </div> |
|---|
| 256 | |
|---|
| 257 | |
|---|
| 258 | |
|---|
| 259 | <div id="traceback"> |
|---|
| 260 | <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2> |
|---|
| 261 | |
|---|
| 262 | <div id="browserTraceback"> |
|---|
| 263 | <ul class="traceback"> |
|---|
| 264 | |
|---|
| 265 | <li class="frame"> |
|---|
| 266 | <code>C:\omero_dist\lib\python\django\core\handlers\base.py</code> in <code>get_response</code> |
|---|
| 267 | |
|---|
| 268 | |
|---|
| 269 | <div class="context" id="c40747576"> |
|---|
| 270 | |
|---|
| 271 | <ol start="79" class="pre-context" id="pre40747576"><li onclick="toggle('pre40747576', 'post40747576')"> # Apply view middleware</li><li onclick="toggle('pre40747576', 'post40747576')"> for middleware_method in self._view_middleware:</li><li onclick="toggle('pre40747576', 'post40747576')"> response = middleware_method(request, callback, callback_args, callback_kwargs)</li><li onclick="toggle('pre40747576', 'post40747576')"> if response:</li><li onclick="toggle('pre40747576', 'post40747576')"> return response</li><li onclick="toggle('pre40747576', 'post40747576')"></li><li onclick="toggle('pre40747576', 'post40747576')"> try:</li></ol> |
|---|
| 272 | |
|---|
| 273 | <ol start="86" class="context-line"><li onclick="toggle('pre40747576', 'post40747576')"> response = callback(request, *callback_args, **callback_kwargs) <span>...</span></li></ol> |
|---|
| 274 | |
|---|
| 275 | <ol start='87' class="post-context" id="post40747576"><li onclick="toggle('pre40747576', 'post40747576')"> except Exception, e:</li><li onclick="toggle('pre40747576', 'post40747576')"> # If the view raised an exception, run it through exception</li><li onclick="toggle('pre40747576', 'post40747576')"> # middleware, and if the exception middleware returns a</li><li onclick="toggle('pre40747576', 'post40747576')"> # response, use that. Otherwise, reraise the exception.</li><li onclick="toggle('pre40747576', 'post40747576')"> for middleware_method in self._exception_middleware:</li><li onclick="toggle('pre40747576', 'post40747576')"> response = middleware_method(request, e)</li></ol> |
|---|
| 276 | |
|---|
| 277 | </div> |
|---|
| 278 | |
|---|
| 279 | |
|---|
| 280 | |
|---|
| 281 | <div class="commands"> |
|---|
| 282 | <a href="#" onclick="return varToggle(this, '40747576')"><span>▶</span> Local vars</a> |
|---|
| 283 | </div> |
|---|
| 284 | <table class="vars" id="v40747576"> |
|---|
| 285 | <thead> |
|---|
| 286 | <tr> |
|---|
| 287 | <th>Variable</th> |
|---|
| 288 | <th>Value</th> |
|---|
| 289 | </tr> |
|---|
| 290 | </thead> |
|---|
| 291 | <tbody> |
|---|
| 292 | |
|---|
| 293 | <tr> |
|---|
| 294 | <td>callback</td> |
|---|
| 295 | <td class="code"><div><function wrapped at 0x0256C7B0></div></td> |
|---|
| 296 | </tr> |
|---|
| 297 | |
|---|
| 298 | <tr> |
|---|
| 299 | <td>callback_args</td> |
|---|
| 300 | <td class="code"><div>()</div></td> |
|---|
| 301 | </tr> |
|---|
| 302 | |
|---|
| 303 | <tr> |
|---|
| 304 | <td>callback_kwargs</td> |
|---|
| 305 | <td class="code"><div>{'action': u'delete', 'eid': u'3'}</div></td> |
|---|
| 306 | </tr> |
|---|
| 307 | |
|---|
| 308 | <tr> |
|---|
| 309 | <td>e</td> |
|---|
| 310 | <td class="code"><div>exception ::omero::ValidationException |
|---|
| 311 | { |
|---|
| 312 | serverStackTrace = ome.conditions.ValidationException: could not delete: [ome.model.meta.Experimenter#3]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [ome.model.meta.Experimenter#3] |
|---|
| 313 | at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:624) |
|---|
| 314 | at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) |
|---|
| 315 | at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:117) |
|---|
| 316 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 317 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) |
|---|
| 318 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 319 | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:169) |
|---|
| 320 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 321 | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:97) |
|---|
| 322 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 323 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) |
|---|
| 324 | at $Proxy63.deleteExperimenter(Unknown Source) |
|---|
| 325 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|---|
| 326 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 327 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 328 | at java.lang.reflect.Method.invoke(Unknown Source) |
|---|
| 329 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) |
|---|
| 330 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) |
|---|
| 331 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) |
|---|
| 332 | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:78) |
|---|
| 333 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 334 | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:35) |
|---|
| 335 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 336 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) |
|---|
| 337 | at $Proxy63.deleteExperimenter(Unknown Source) |
|---|
| 338 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|---|
| 339 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 340 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 341 | at java.lang.reflect.Method.invoke(Unknown Source) |
|---|
| 342 | at ome.services.blitz.util.IceMethodInvoker.callOrClose(IceMethodInvoker.java:257) |
|---|
| 343 | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
|---|
| 344 | at ome.services.throttling.Callback.run(Callback.java:55) |
|---|
| 345 | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:37) |
|---|
| 346 | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:114) |
|---|
| 347 | at ome.services.blitz.impl.AdminI.deleteExperimenter_async(AdminI.java:191) |
|---|
| 348 | at omero.api._IAdminTie.deleteExperimenter_async(_IAdminTie.java:169) |
|---|
| 349 | at omero.api._IAdminDisp.___deleteExperimenter(_IAdminDisp.java:900) |
|---|
| 350 | at omero.api._IAdminDisp.__dispatch(_IAdminDisp.java:1289) |
|---|
| 351 | at IceInternal.Incoming.invoke(Incoming.java:166) |
|---|
| 352 | at Ice.ConnectionI.invokeAll(ConnectionI.java:2045) |
|---|
| 353 | at Ice.ConnectionI.message(ConnectionI.java:977) |
|---|
| 354 | at IceInternal.ThreadPool.run(ThreadPool.java:575) |
|---|
| 355 | at IceInternal.ThreadPool.access$100(ThreadPool.java:12) |
|---|
| 356 | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:951) |
|---|
| 357 | |
|---|
| 358 | serverExceptionClass = ome.conditions.ValidationException |
|---|
| 359 | message = could not delete: [ome.model.meta.Experimenter#3]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [ome.model.meta.Experimenter#3] |
|---|
| 360 | }</div></td> |
|---|
| 361 | </tr> |
|---|
| 362 | |
|---|
| 363 | <tr> |
|---|
| 364 | <td>exc_info</td> |
|---|
| 365 | <td class="code"><div>(<class 'omero.ValidationException'>, |
|---|
| 366 | exception ::omero::ValidationException |
|---|
| 367 | { |
|---|
| 368 | serverStackTrace = ome.conditions.ValidationException: could not delete: [ome.model.meta.Experimenter#3]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [ome.model.meta.Experimenter#3] |
|---|
| 369 | at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:624) |
|---|
| 370 | at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) |
|---|
| 371 | at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:117) |
|---|
| 372 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 373 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) |
|---|
| 374 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 375 | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:169) |
|---|
| 376 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 377 | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:97) |
|---|
| 378 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 379 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) |
|---|
| 380 | at $Proxy63.deleteExperimenter(Unknown Source) |
|---|
| 381 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|---|
| 382 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 383 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 384 | at java.lang.reflect.Method.invoke(Unknown Source) |
|---|
| 385 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) |
|---|
| 386 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) |
|---|
| 387 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) |
|---|
| 388 | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:78) |
|---|
| 389 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 390 | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:35) |
|---|
| 391 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) |
|---|
| 392 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) |
|---|
| 393 | at $Proxy63.deleteExperimenter(Unknown Source) |
|---|
| 394 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|---|
| 395 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 396 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) |
|---|
| 397 | at java.lang.reflect.Method.invoke(Unknown Source) |
|---|
| 398 | at ome.services.blitz.util.IceMethodInvoker.callOrClose(IceMethodInvoker.java:257) |
|---|
| 399 | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
|---|
| 400 | at ome.services.throttling.Callback.run(Callback.java:55) |
|---|
| 401 | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:37) |
|---|
| 402 | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:114) |
|---|
| 403 | at ome.services.blitz.impl.AdminI.deleteExperimenter_async(AdminI.java:191) |
|---|
| 404 | at omero.api._IAdminTie.deleteExperimenter_async(_IAdminTie.java:169) |
|---|
| 405 | at omero.api._IAdminDisp.___deleteExperimenter(_IAdminDisp.java:900) |
|---|
| 406 | at omero.api._IAdminDisp.__dispatch(_IAdminDisp.java:1289) |
|---|
| 407 | at IceInternal.Incoming.invoke(Incoming.java:166) |
|---|
| 408 | at Ice.ConnectionI.invokeAll(ConnectionI.java:2045) |
|---|
| 409 | at Ice.ConnectionI.message(ConnectionI.java:977) |
|---|
| 410 | at IceInternal.ThreadPool.run(ThreadPool.java:575) |
|---|
| 411 | at IceInternal.ThreadPool.access$100(ThreadPool.java:12) |
|---|
| 412 | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:951) |
|---|
| 413 | |
|---|
| 414 | serverExceptionClass = ome.conditions.ValidationException |
|---|
| 415 | message = could not delete: [ome.model.meta.Experimenter#3]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [ome.model.meta.Experimenter#3] |
|---|
| 416 | }, |
|---|
| 417 | <traceback object at 0x026DC238>)</div></td> |
|---|
| 418 | </tr> |
|---|
| 419 | |
|---|
| 420 | <tr> |
|---|
| 421 | <td>exceptions</td> |
|---|
| 422 | <td class="code"><div><module 'django.core.exceptions' from 'C:\omero_dist\lib\python\django\core\exceptions.pyc'></div></td> |
|---|
| 423 | </tr> |
|---|
| 424 | |
|---|
| 425 | <tr> |
|---|
| 426 | <td>middleware_method</td> |
|---|
| 427 | <td class="code"><div><bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0x01D7A710>></div></td> |
|---|
| 428 | </tr> |
|---|
| 429 | |
|---|
| 430 | <tr> |
|---|
| 431 | <td>receivers</td> |
|---|
| 432 | <td class="code"><div>[(<function _rollback_on_exception at 0x01BF3830>, None)]</div></td> |
|---|
| 433 | </tr> |
|---|
| 434 | |
|---|
| 435 | <tr> |
|---|
| 436 | <td>request</td> |
|---|
| 437 | <td class="code"><div><WSGIRequest |
|---|
| 438 | GET:<QueryDict: {}>, |
|---|
| 439 | POST:<QueryDict: {}>, |
|---|
| 440 | COOKIES:{'sessionid': 'eaca8dfdba8753b4aae6da54d06ba712'}, |
|---|
| 441 | META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', |
|---|
| 442 | 'APPDATA': 'C:\\Documents and Settings\\smith_sct\\Application Data', |
|---|
| 443 | 'CLASSPATH': '.;C:\\Program Files\\Java\\j2re1.4.2_01\\lib\\ext\\QTJava.zip', |
|---|
| 444 | 'CLIENTNAME': 'Console', |
|---|
| 445 | 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', |
|---|
| 446 | 'COMPUTERNAME': 'EMASANWLMXR745', |
|---|
| 447 | 'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe', |
|---|
| 448 | 'CONTENT_LENGTH': '', |
|---|
| 449 | 'CONTENT_TYPE': 'text/plain', |
|---|
| 450 | 'DEFLOGDIR': 'C:\\Documents and Settings\\All Users\\Application Data\\McAfee\\DesktopProtection', |
|---|
| 451 | 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings', |
|---|
| 452 | 'FP_NO_HOST_CHECK': 'NO', |
|---|
| 453 | 'GATEWAY_INTERFACE': 'CGI/1.1', |
|---|
| 454 | 'HOMEDRIVE': 'C:', |
|---|
| 455 | 'HOMEPATH': '\\Documents and Settings\\smith_sct', |
|---|
| 456 | 'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*', |
|---|
| 457 | 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', |
|---|
| 458 | 'HTTP_ACCEPT_LANGUAGE': 'en-gb', |
|---|
| 459 | 'HTTP_CONNECTION': 'Keep-Alive', |
|---|
| 460 | 'HTTP_COOKIE': 'sessionid=eaca8dfdba8753b4aae6da54d06ba712', |
|---|
| 461 | 'HTTP_HOST': '127.0.0.1:8000', |
|---|
| 462 | 'HTTP_REFERER': 'http://127.0.0.1:8000/webadmin/experimenters/', |
|---|
| 463 | 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)', |
|---|
| 464 | 'JAVA_HOME': 'C:\\Program Files\\Java\\j2re1.4.2_01', |
|---|
| 465 | 'LOGONSERVER': '\\\\SANEMADOM02', |
|---|
| 466 | 'NUMBER_OF_PROCESSORS': '2', |
|---|
| 467 | 'OS': 'Windows_NT', |
|---|
| 468 | 'PATH': 'C:\\Python25\\;C:\\Program Files\\Java\\j2re1.4.2_01\\bin;C:\\Oracle\\Ora92\\bin;C:\\PROGRA~1\\JavaSoft\\JRE\\132E6D~1.1\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Utimaco\\SafeGuard Easy\\;C:\\Program Files\\Gemplus\\GemSafe Libraries\\BIN;C:\\Ice-3.3.0\\bin;C:\\omero_dist\\lib\\python', |
|---|
| 469 | 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw', |
|---|
| 470 | 'PATH_INFO': u'/webadmin/experimenter/delete/3/', |
|---|
| 471 | 'PROCESSOR_ARCHITECTURE': 'x86', |
|---|
| 472 | 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel', |
|---|
| 473 | 'PROCESSOR_LEVEL': '6', |
|---|
| 474 | 'PROCESSOR_REVISION': '0f02', |
|---|
| 475 | 'PROGRAMFILES': 'C:\\Program Files', |
|---|
| 476 | 'PROMPT': '$P$G', |
|---|
| 477 | 'PYTHONPATH': 'C:\\Ice-3.3.0\\bin;C:\\Ice-3.3.0\\python;C:\\omero_dist\\lib\\python;C:\\Python25', |
|---|
| 478 | 'QTJAVA': 'C:\\Program Files\\Java\\j2re1.4.2_01\\lib\\ext\\QTJava.zip', |
|---|
| 479 | 'QUERY_STRING': '', |
|---|
| 480 | 'REMOTE_ADDR': '127.0.0.1', |
|---|
| 481 | 'REMOTE_HOST': '', |
|---|
| 482 | 'REQUEST_METHOD': 'GET', |
|---|
| 483 | 'RUN_MAIN': 'true', |
|---|
| 484 | 'SCRIPT_NAME': u'', |
|---|
| 485 | 'SERVER_NAME': 'localhost', |
|---|
| 486 | 'SERVER_PORT': '8000', |
|---|
| 487 | 'SERVER_PROTOCOL': 'HTTP/1.1', |
|---|
| 488 | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.4', |
|---|
| 489 | 'SESSIONNAME': 'Console', |
|---|
| 490 | 'SONICCENTRAL': 'C:\\Program Files\\Common Files\\Sonic Shared\\Sonic Central\\', |
|---|
| 491 | 'SYSTEMDRIVE': 'C:', |
|---|
| 492 | 'SYSTEMROOT': 'C:\\WINDOWS', |
|---|
| 493 | 'TEMP': 'C:\\DOCUME~1\\SMITH_~1\\LOCALS~1\\Temp', |
|---|
| 494 | 'TMP': 'C:\\DOCUME~1\\SMITH_~1\\LOCALS~1\\Temp', |
|---|
| 495 | 'USERDNSDOMAIN': 'EMEA.PFIZER.COM', |
|---|
| 496 | 'USERDOMAIN': 'EMEA', |
|---|
| 497 | 'USERNAME': 'smith_sct', |
|---|
| 498 | 'USERPROFILE': 'C:\\Documents and Settings\\smith_sct', |
|---|
| 499 | 'VSEDEFLOGDIR': 'C:\\Documents and Settings\\All Users\\Application Data\\McAfee\\DesktopProtection', |
|---|
| 500 | 'WINDIR': 'C:\\WINDOWS', |
|---|
| 501 | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A100B0>, |
|---|
| 502 | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
|---|
| 503 | 'wsgi.input': <socket._fileobject object at 0x01D92EF0>, |
|---|
| 504 | 'wsgi.multiprocess': False, |
|---|
| 505 | 'wsgi.multithread': True, |
|---|
| 506 | 'wsgi.run_once': False, |
|---|
| 507 | 'wsgi.url_scheme': 'http', |
|---|
| 508 | 'wsgi.version': (1, 0)}></div></td> |
|---|
| 509 | </tr> |
|---|
| 510 | |
|---|
| 511 | <tr> |
|---|
| 512 | <td>resolver</td> |
|---|
| 513 | <td class="code"><div><RegexURLResolver omeroweb.urls ^/></div></td> |
|---|
| 514 | </tr> |
|---|
| 515 | |
|---|
| 516 | <tr> |
|---|
| 517 | <td>response</td> |
|---|
| 518 | <td class="code"><div>None</div></td> |
|---|
| 519 | </tr> |
|---|
| 520 | |
|---|
| 521 | <tr> |
|---|
| 522 | <td>self</td> |
|---|
| 523 | <td class="code"><div><django.core.handlers.wsgi.WSGIHandler object at 0x01D0B210></div></td> |
|---|
| 524 | </tr> |
|---|
| 525 | |
|---|
| 526 | <tr> |
|---|
| 527 | <td>settings</td> |
|---|
| 528 | <td class="code"><div><django.conf.LazySettings object at 0x01955EB0></div></td> |
|---|
| 529 | </tr> |
|---|
| 530 | |
|---|
| 531 | <tr> |
|---|
| 532 | <td>urlconf</td> |
|---|
| 533 | <td class="code"><div>'omeroweb.urls'</div></td> |
|---|
| 534 | </tr> |
|---|
| 535 | |
|---|
| 536 | <tr> |
|---|
| 537 | <td>urlresolvers</td> |
|---|
| 538 | <td class="code"><div><module 'django.core.urlresolvers' from 'C:\omero_dist\lib\python\django\core\urlresolvers.pyc'></div></td> |
|---|
| 539 | </tr> |
|---|
| 540 | |
|---|
| 541 | </tbody> |
|---|
| 542 | </table> |
|---|
| 543 | |
|---|
| 544 | </li> |
|---|
| 545 | |
|---|
| 546 | <li class="frame"> |
|---|
| 547 | <code>C:\omero_dist\lib\python\omeroweb\webadmin\views.py</code> in <code>wrapped</code> |
|---|
| 548 | |
|---|
| 549 | |
|---|
| 550 | <div class="context" id="c40747376"> |
|---|
| 551 | |
|---|
| 552 | <ol start="228" class="pre-context" id="pre40747376"><li onclick="toggle('pre40747376', 'post40747376')"> logger.error(traceback.format_exc())</li><li onclick="toggle('pre40747376', 'post40747376')"> return HttpResponseRedirect("/%s/login/?error=%s" % (settings.WEBADMIN_ROOT_BASE, x.__class__.__name__))</li><li onclick="toggle('pre40747376', 'post40747376')"> if conn is None:</li><li onclick="toggle('pre40747376', 'post40747376')"> return HttpResponseRedirect("/%s/login/" % (settings.WEBADMIN_ROOT_BASE))</li><li onclick="toggle('pre40747376', 'post40747376')"> if not conn.getEventContext().isAdmin:</li><li onclick="toggle('pre40747376', 'post40747376')"> return page_not_found(request, "404.html")</li><li onclick="toggle('pre40747376', 'post40747376')"> kwargs["conn"] = conn</li></ol> |
|---|
| 553 | |
|---|
| 554 | <ol start="235" class="context-line"><li onclick="toggle('pre40747376', 'post40747376')"> return f(request, *args, **kwargs) <span>...</span></li></ol> |
|---|
| 555 | |
|---|
| 556 | <ol start='236' class="post-context" id="post40747376"><li onclick="toggle('pre40747376', 'post40747376')"></li><li onclick="toggle('pre40747376', 'post40747376')"> return wrapped</li><li onclick="toggle('pre40747376', 'post40747376')"></li><li onclick="toggle('pre40747376', 'post40747376')">def isUserConnected (f):</li><li onclick="toggle('pre40747376', 'post40747376')"> def wrapped (request, *args, **kwargs):</li><li onclick="toggle('pre40747376', 'post40747376')"> #this check connection exist, if not it will redirect to login page</li></ol> |
|---|
| 557 | |
|---|
| 558 | </div> |
|---|
| 559 | |
|---|
| 560 | |
|---|
| 561 | |
|---|
| 562 | <div class="commands"> |
|---|
| 563 | <a href="#" onclick="return varToggle(this, '40747376')"><span>▶</span> Local vars</a> |
|---|
| 564 | </div> |
|---|
| 565 | <table class="vars" id="v40747376"> |
|---|
| 566 | <thead> |
|---|
| 567 | <tr> |
|---|
| 568 | <th>Variable</th> |
|---|
| 569 | <th>Value</th> |
|---|
| 570 | </tr> |
|---|
| 571 | </thead> |
|---|
| 572 | <tbody> |
|---|
| 573 | |
|---|
| 574 | <tr> |
|---|
| 575 | <td>args</td> |
|---|
| 576 | <td class="code"><div>()</div></td> |
|---|
| 577 | </tr> |
|---|
| 578 | |
|---|
| 579 | <tr> |
|---|
| 580 | <td>conn</td> |
|---|
| 581 | <td class="code"><div><BlitzGateway(Thread-10, started daemon)></div></td> |
|---|
| 582 | </tr> |
|---|
| 583 | |
|---|
| 584 | <tr> |
|---|
| 585 | <td>f</td> |
|---|
| 586 | <td class="code"><div><function manage_experimenter at 0x0256C770></div></td> |
|---|
| 587 | </tr> |
|---|
| 588 | |
|---|
| 589 | <tr> |
|---|
| 590 | <td>kwargs</td> |
|---|
| 591 | <td class="code"><div>{'action': u'delete', |
|---|
| 592 | 'conn': <BlitzGateway(Thread-10, started daemon)>, |
|---|
| 593 | 'eid': u'3'}</div></td> |
|---|
| 594 | </tr> |
|---|
| 595 | |
|---|
| 596 | <tr> |
|---|
| 597 | <td>request</td> |
|---|
| 598 | <td class="code"><div><WSGIRequest |
|---|
| 599 | GET:<QueryDict: {}>, |
|---|
| 600 | POST:<QueryDict: {}>, |
|---|
| 601 | COOKIES:{'sessionid': 'eaca8dfdba8753b4aae6da54d06ba712'}, |
|---|
| 602 | META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', |
|---|
| 603 | 'APPDATA': 'C:\\Documents and Settings\\smith_sct\\Application Data', |
|---|
| 604 | 'CLASSPATH': '.;C:\\Program Files\\Java\\j2re1.4.2_01\\lib\\ext\\QTJava.zip', |
|---|
| 605 | 'CLIENTNAME': 'Console', |
|---|
| 606 | 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', |
|---|
| 607 | 'COMPUTERNAME': 'EMASANWLMXR745', |
|---|
| 608 | 'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe', |
|---|
| 609 | 'CONTENT_LENGTH': '', |
|---|
| 610 | 'CONTENT_TYPE': 'text/plain', |
|---|
| 611 | 'DEFLOGDIR': 'C:\\Documents and Settings\\All Users\\Application Data\\McAfee\\DesktopProtection', |
|---|
| 612 | 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings', |
|---|
| 613 | 'FP_NO_HOST_CHECK': 'NO', |
|---|
| 614 | 'GATEWAY_INTERFACE': 'CGI/1.1', |
|---|
| 615 | 'HOMEDRIVE': 'C:', |
|---|
| 616 | 'HOMEPATH': '\\Documents and Settings\\smith_sct', |
|---|
| 617 | 'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*', |
|---|
| 618 | 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', |
|---|
| 619 | 'HTTP_ACCEPT_LANGUAGE': 'en-gb', |
|---|
| 620 | 'HTTP_CONNECTION': 'Keep-Alive', |
|---|
| 621 | 'HTTP_COOKIE': 'sessionid=eaca8dfdba8753b4aae6da54d06ba712', |
|---|
| 622 | 'HTTP_HOST': '127.0.0.1:8000', |
|---|
| 623 | 'HTTP_REFERER': 'http://127.0.0.1:8000/webadmin/experimenters/', |
|---|
| 624 | 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)', |
|---|
| 625 | 'JAVA_HOME': 'C:\\Program Files\\Java\\j2re1.4.2_01', |
|---|
| 626 | 'LOGONSERVER': '\\\\SANEMADOM02', |
|---|
| 627 | 'NUMBER_OF_PROCESSORS': '2', |
|---|
| 628 | 'OS': 'Windows_NT', |
|---|
| 629 | 'PATH': 'C:\\Python25\\;C:\\Program Files\\Java\\j2re1.4.2_01\\bin;C:\\Oracle\\Ora92\\bin;C:\\PROGRA~1\\JavaSoft\\JRE\\132E6D~1.1\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Utimaco\\SafeGuard Easy\\;C:\\Program Files\\Gemplus\\GemSafe Libraries\\BIN;C:\\Ice-3.3.0\\bin;C:\\omero_dist\\lib\\python', |
|---|
| 630 | 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw', |
|---|
| 631 | 'PATH_INFO': u'/webadmin/experimenter/delete/3/', |
|---|
| 632 | 'PROCESSOR_ARCHITECTURE': 'x86', |
|---|
| 633 | 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel', |
|---|
| 634 | 'PROCESSOR_LEVEL': '6', |
|---|
| 635 | 'PROCESSOR_REVISION': '0f02', |
|---|
| 636 | 'PROGRAMFILES': 'C:\\Program Files', |
|---|
| 637 | 'PROMPT': '$P$G', |
|---|
| 638 | 'PYTHONPATH': 'C:\\Ice-3.3.0\\bin;C:\\Ice-3.3.0\\python;C:\\omero_dist\\lib\\python;C:\\Python25', |
|---|
| 639 | 'QTJAVA': 'C:\\Program Files\\Java\\j2re1.4.2_01\\lib\\ext\\QTJava.zip', |
|---|
| 640 | 'QUERY_STRING': '', |
|---|
| 641 | 'REMOTE_ADDR': '127.0.0.1', |
|---|
| 642 | 'REMOTE_HOST': '', |
|---|
| 643 | 'REQUEST_METHOD': 'GET', |
|---|
| 644 | 'RUN_MAIN': 'true', |
|---|
| 645 | 'SCRIPT_NAME': u'', |
|---|
| 646 | 'SERVER_NAME': 'localhost', |
|---|
| 647 | 'SERVER_PORT': '8000', |
|---|
| 648 | 'SERVER_PROTOCOL': 'HTTP/1.1', |
|---|
| 649 | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.4', |
|---|
| 650 | 'SESSIONNAME': 'Console', |
|---|
| 651 | 'SONICCENTRAL': 'C:\\Program Files\\Common Files\\Sonic Shared\\Sonic Central\\', |
|---|
| 652 | 'SYSTEMDRIVE': 'C:', |
|---|
| 653 | 'SYSTEMROOT': 'C:\\WINDOWS', |
|---|
| 654 | 'TEMP': 'C:\\DOCUME~1\\SMITH_~1\\LOCALS~1\\Temp', |
|---|
| 655 | 'TMP': 'C:\\DOCUME~1\\SMITH_~1\\LOCALS~1\\Temp', |
|---|
| 656 | 'USERDNSDOMAIN': 'EMEA.PFIZER.COM', |
|---|
| 657 | 'USERDOMAIN': 'EMEA', |
|---|
| 658 | 'USERNAME': 'smith_sct', |
|---|
| 659 | 'USERPROFILE': 'C:\\Documents and Settings\\smith_sct', |
|---|
| 660 | 'VSEDEFLOGDIR': 'C:\\Documents and Settings\\All Users\\Application Data\\McAfee\\DesktopProtection', |
|---|
| 661 | 'WINDIR': 'C:\\WINDOWS', |
|---|
| 662 | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A100B0>, |
|---|
| 663 | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
|---|
| 664 | 'wsgi.input': <socket._fileobject object at 0x01D92EF0>, |
|---|
| 665 | 'wsgi.multiprocess': False, |
|---|
| 666 | 'wsgi.multithread': True, |
|---|
| 667 | 'wsgi.run_once': False, |
|---|
| 668 | 'wsgi.url_scheme': 'http', |
|---|
| 669 | 'wsgi.version': (1, 0)}></div></td> |
|---|
| 670 | </tr> |
|---|
| 671 | |
|---|
| 672 | </tbody> |
|---|
| 673 | </table> |
|---|
| 674 | |
|---|
| 675 | </li> |
|---|
| 676 | |
|---|
| 677 | <li class="frame"> |
|---|
| 678 | <code>C:\omero_dist\lib\python\omeroweb\webadmin\views.py</code> in <code>manage_experimenter</code> |
|---|
| 679 | |
|---|
| 680 | |
|---|
| 681 | <div class="context" id="c40981528"> |
|---|
| 682 | |
|---|
| 683 | <ol start="518" class="pre-context" id="pre40981528"><li onclick="toggle('pre40981528', 'post40981528')"> password = None</li><li onclick="toggle('pre40981528', 'post40981528')"> except:</li><li onclick="toggle('pre40981528', 'post40981528')"> password = None</li><li onclick="toggle('pre40981528', 'post40981528')"> controller.updateExperimenter(omeName, firstName, lastName, email, admin, active, defaultGroup, otherGroups, middleName, institution, password)</li><li onclick="toggle('pre40981528', 'post40981528')"> return HttpResponseRedirect("/%s/experimenters/" % settings.WEBADMIN_ROOT_BASE)</li><li onclick="toggle('pre40981528', 'post40981528')"> context = {'info':info, 'eventContext':eventContext, 'form':form, 'eid': eid}</li><li onclick="toggle('pre40981528', 'post40981528')"> elif action == "delete":</li></ol> |
|---|
| 684 | |
|---|
| 685 | <ol start="525" class="context-line"><li onclick="toggle('pre40981528', 'post40981528')"> controller.deleteExperimenter() <span>...</span></li></ol> |
|---|
| 686 | |
|---|
| 687 | <ol start='526' class="post-context" id="post40981528"><li onclick="toggle('pre40981528', 'post40981528')"> return HttpResponseRedirect("/%s/experimenters/" % settings.WEBADMIN_ROOT_BASE)</li><li onclick="toggle('pre40981528', 'post40981528')"> else:</li><li onclick="toggle('pre40981528', 'post40981528')"> return HttpResponseRedirect("/%s/experimenters/" % settings.WEBADMIN_ROOT_BASE)</li><li onclick="toggle('pre40981528', 'post40981528')"> </li><li onclick="toggle('pre40981528', 'post40981528')"> t = template_loader.get_template(template)</li><li onclick="toggle('pre40981528', 'post40981528')"> c = Context(request, context)</li></ol> |
|---|
| 688 | |
|---|
| 689 | </div> |
|---|
| 690 | |
|---|
| 691 | |
|---|
| 692 | |
|---|
| 693 | <div class="commands"> |
|---|
| 694 | <a href="#" onclick="return varToggle(this, '40981528')"><span>▶</span> Local vars</a> |
|---|
| 695 | </div> |
|---|
| 696 | <table class="vars" id="v40981528"> |
|---|
| 697 | <thead> |
|---|
| 698 | <tr> |
|---|
| 699 | <th>Variable</th> |
|---|
| 700 | <th>Value</th> |
|---|
| 701 | </tr> |
|---|
| 702 | </thead> |
|---|
| 703 | <tbody> |
|---|
| 704 | |
|---|
| 705 | <tr> |
|---|
| 706 | <td>action</td> |
|---|
| 707 | <td class="code"><div>u'delete'</div></td> |
|---|
| 708 | </tr> |
|---|
| 709 | |
|---|
| 710 | <tr> |
|---|
| 711 | <td>conn</td> |
|---|
| 712 | <td class="code"><div><BlitzGateway(Thread-10, started daemon)></div></td> |
|---|
| 713 | </tr> |
|---|
| 714 | |
|---|
| 715 | <tr> |
|---|
| 716 | <td>controller</td> |
|---|
| 717 | <td class="code"><div><omeroweb.webadmin.controller.experimenter.BaseExperimenter object at 0x02677590></div></td> |
|---|
| 718 | </tr> |
|---|
| 719 | |
|---|
| 720 | <tr> |
|---|
| 721 | <td>eid</td> |
|---|
| 722 | <td class="code"><div>u'3'</div></td> |
|---|
| 723 | </tr> |
|---|
| 724 | |
|---|
| 725 | <tr> |
|---|
| 726 | <td>eventContext</td> |
|---|
| 727 | <td class="code"><div>{'isAdmin': True, 'userName': 'root'}</div></td> |
|---|
| 728 | </tr> |
|---|
| 729 | |
|---|
| 730 | <tr> |
|---|
| 731 | <td>experimenters</td> |
|---|
| 732 | <td class="code"><div>True</div></td> |
|---|
| 733 | </tr> |
|---|
| 734 | |
|---|
| 735 | <tr> |
|---|
| 736 | <td>info</td> |
|---|
| 737 | <td class="code"><div>{'experimenters': True, 'today': u'Today is 2009-04-23'}</div></td> |
|---|
| 738 | </tr> |
|---|
| 739 | |
|---|
| 740 | <tr> |
|---|
| 741 | <td>kwargs</td> |
|---|
| 742 | <td class="code"><div>{'conn': <BlitzGateway(Thread-10, started daemon)>}</div></td> |
|---|
| 743 | </tr> |
|---|
| 744 | |
|---|
| 745 | <tr> |
|---|
| 746 | <td>request</td> |
|---|
| 747 | <td class="code"><div><WSGIRequest |
|---|
| 748 | GET:<QueryDict: {}>, |
|---|
| 749 | POST:<QueryDict: {}>, |
|---|
| 750 | COOKIES:{'sessionid': 'eaca8dfdba8753b4aae6da54d06ba712'}, |
|---|
| 751 | META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', |
|---|
| 752 | 'APPDATA': 'C:\\Documents and Settings\\smith_sct\\Application Data', |
|---|
| 753 | 'CLASSPATH': '.;C:\\Program Files\\Java\\j2re1.4.2_01\\lib\\ext\\QTJava.zip', |
|---|
| 754 | 'CLIENTNAME': 'Console', |
|---|
| 755 | 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', |
|---|
| 756 | 'COMPUTERNAME': 'EMASANWLMXR745', |
|---|
| 757 | 'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe', |
|---|
| 758 | 'CONTENT_LENGTH': '', |
|---|
| 759 | 'CONTENT_TYPE': 'text/plain', |
|---|
| 760 | 'DEFLOGDIR': 'C:\\Documents and Settings\\All Users\\Application Data\\McAfee\\DesktopProtection', |
|---|
| 761 | 'DJANGO_SETTINGS_MODULE': 'omeroweb.settings', |
|---|
| 762 | 'FP_NO_HOST_CHECK': 'NO', |
|---|
| 763 | 'GATEWAY_INTERFACE': 'CGI/1.1', |
|---|
| 764 | 'HOMEDRIVE': 'C:', |
|---|
| 765 | 'HOMEPATH': '\\Documents and Settings\\smith_sct', |
|---|
| 766 | 'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*', |
|---|
| 767 | 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', |
|---|
| 768 | 'HTTP_ACCEPT_LANGUAGE': 'en-gb', |
|---|
| 769 | 'HTTP_CONNECTION': 'Keep-Alive', |
|---|
| 770 | 'HTTP_COOKIE': 'sessionid=eaca8dfdba8753b4aae6da54d06ba712', |
|---|
| 771 | 'HTTP_HOST': '127.0.0.1:8000', |
|---|
| 772 | 'HTTP_REFERER': 'http://127.0.0.1:8000/webadmin/experimenters/', |
|---|
| 773 | 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)', |
|---|
| 774 | 'JAVA_HOME': 'C:\\Program Files\\Java\\j2re1.4.2_01', |
|---|
| 775 | 'LOGONSERVER': '\\\\SANEMADOM02', |
|---|
| 776 | 'NUMBER_OF_PROCESSORS': '2', |
|---|
| 777 | 'OS': 'Windows_NT', |
|---|
| 778 | 'PATH': 'C:\\Python25\\;C:\\Program Files\\Java\\j2re1.4.2_01\\bin;C:\\Oracle\\Ora92\\bin;C:\\PROGRA~1\\JavaSoft\\JRE\\132E6D~1.1\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Utimaco\\SafeGuard Easy\\;C:\\Program Files\\Gemplus\\GemSafe Libraries\\BIN;C:\\Ice-3.3.0\\bin;C:\\omero_dist\\lib\\python', |
|---|
| 779 | 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw', |
|---|
| 780 | 'PATH_INFO': u'/webadmin/experimenter/delete/3/', |
|---|
| 781 | 'PROCESSOR_ARCHITECTURE': 'x86', |
|---|
| 782 | 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel', |
|---|
| 783 | 'PROCESSOR_LEVEL': '6', |
|---|
| 784 | 'PROCESSOR_REVISION': '0f02', |
|---|
| 785 | 'PROGRAMFILES': 'C:\\Program Files', |
|---|
| 786 | 'PROMPT': '$P$G', |
|---|
| 787 | 'PYTHONPATH': 'C:\\Ice-3.3.0\\bin;C:\\Ice-3.3.0\\python;C:\\omero_dist\\lib\\python;C:\\Python25', |
|---|
| 788 | 'QTJAVA': 'C:\\Program Files\\Java\\j2re1.4.2_01\\lib\\ext\\QTJava.zip', |
|---|
| 789 | 'QUERY_STRING': '', |
|---|
| 790 | 'REMOTE_ADDR': '127.0.0.1', |
|---|
| 791 | 'REMOTE_HOST': '', |
|---|
| 792 | 'REQUEST_METHOD': 'GET', |
|---|
| 793 | 'RUN_MAIN': 'true', |
|---|
| 794 | 'SCRIPT_NAME': u'', |
|---|
| 795 | 'SERVER_NAME': 'localhost', |
|---|
| 796 | 'SERVER_PORT': '8000', |
|---|
| 797 | 'SERVER_PROTOCOL': 'HTTP/1.1', |
|---|
| 798 | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.4', |
|---|
| 799 | 'SESSIONNAME': 'Console', |
|---|
| 800 | 'SONICCENTRAL': 'C:\\Program Files\\Common Files\\Sonic Shared\\Sonic Central\\', |
|---|
| 801 | 'SYSTEMDRIVE': 'C:', |
|---|
| 802 | 'SYSTEMROOT': 'C:\\WINDOWS', |
|---|
| 803 | 'TEMP': 'C:\\DOCUME~1\\SMITH_~1\\LOCALS~1\\Temp', |
|---|
| 804 | 'TMP': 'C:\\DOCUME~1\\SMITH_~1\\LOCALS~1\\Temp', |
|---|
| 805 | 'USERDNSDOMAIN': 'EMEA.PFIZER.COM', |
|---|
| 806 | 'USERDOMAIN': 'EMEA', |
|---|
| 807 | 'USERNAME': 'smith_sct', |
|---|
| 808 | 'USERPROFILE': 'C:\\Documents and Settings\\smith_sct', |
|---|
| 809 | 'VSEDEFLOGDIR': 'C:\\Documents and Settings\\All Users\\Application Data\\McAfee\\DesktopProtection', |
|---|
| 810 | 'WINDIR': 'C:\\WINDOWS', |
|---|
| 811 | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A100B0>, |
|---|
| 812 | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
|---|
| 813 | 'wsgi.input': <socket._fileobject object at 0x01D92EF0>, |
|---|
| 814 | 'wsgi.multiprocess': False, |
|---|
| 815 | 'wsgi.multithread': True, |
|---|
| 816 | 'wsgi.run_once': False, |
|---|
| 817 | 'wsgi.url_scheme': 'http', |
|---|
| 818 | 'wsgi.version': (1, 0)}></div></td> |
|---|
| 819 | </tr> |
|---|
| 820 | |
|---|
| 821 | <tr> |
|---|
| 822 | <td>template</td> |
|---|
| 823 | <td class="code"><div>'omeroadmin/experimenter_form.html'</div></td> |
|---|
| 824 | </tr> |
|---|
| 825 | |
|---|
| 826 | </tbody> |
|---|
| 827 | </table> |
|---|
| 828 | |
|---|
| 829 | </li> |
|---|
| 830 | |
|---|
| 831 | <li class="frame"> |
|---|
| 832 | <code>C:\omero_dist\lib\python\omeroweb\webadmin\controller\experimenter.py</code> in <code>deleteExperimenter</code> |
|---|
| 833 | |
|---|
| 834 | |
|---|
| 835 | <div class="context" id="c40983288"> |
|---|
| 836 | |
|---|
| 837 | <ol start="277" class="pre-context" id="pre40983288"><li onclick="toggle('pre40983288', 'post40983288')"> print "remove" </li><li onclick="toggle('pre40983288', 'post40983288')"> for g in rm_grs:</li><li onclick="toggle('pre40983288', 'post40983288')"> print g.id.val, g.name.val'''</li><li onclick="toggle('pre40983288', 'post40983288')"> </li><li onclick="toggle('pre40983288', 'post40983288')"> self.conn.updateExperimenter(up_exp, defaultGroup, add_grs, rm_grs, rstring(str(password)))</li><li onclick="toggle('pre40983288', 'post40983288')"> </li><li onclick="toggle('pre40983288', 'post40983288')"> def deleteExperimenter(self):</li></ol> |
|---|
| 838 | |
|---|
| 839 | <ol start="284" class="context-line"><li onclick="toggle('pre40983288', 'post40983288')"> self.conn.deleteExperimenter(self.experimenter._obj) <span>...</span></li></ol> |
|---|
| 840 | |
|---|
| 841 | </div> |
|---|
| 842 | |
|---|
| 843 | |
|---|
| 844 | |
|---|
| 845 | <div class="commands"> |
|---|
| 846 | <a href="#" onclick="return varToggle(this, '40983288')"><span>▶</span> Local vars</a> |
|---|
| 847 | </div> |
|---|
| 848 | <table class="vars" id="v40983288"> |
|---|
| 849 | <thead> |
|---|
| 850 | <tr> |
|---|
| 851 | <th>Variable</th> |
|---|
| 852 | <th>Value</th> |
|---|
| 853 | </tr> |
|---|
| 854 | </thead> |
|---|
| 855 | <tbody> |
|---|
| 856 | |
|---|
| 857 | <tr> |
|---|
| 858 | <td>self</td> |
|---|
| 859 | <td class="code"><div><omeroweb.webadmin.controller.experimenter.BaseExperimenter object at 0x02677590></div></td> |
|---|
| 860 | </tr> |
|---|
| 861 | |
|---|
| 862 | </tbody> |
|---|
| 863 | </table> |
|---|
| 864 | |
|---|
| 865 | </li> |
|---|
| 866 | |
|---|
| 867 | <li class="frame"> |
|---|
| 868 | <code>C:\omero_dist\lib\python\omeroweb\extlib\gateway.py</code> in <code>deleteExperimenter</code> |
|---|
| 869 | |
|---|
| 870 | |
|---|
| 871 | <div class="context" id="c39911872"> |
|---|
| 872 | |
|---|
| 873 | <ol start="1489" class="pre-context" id="pre39911872"><li onclick="toggle('pre39911872', 'post39911872')"> for e in add_exps:</li><li onclick="toggle('pre39911872', 'post39911872')"> admin_serv.addGroups(e, [group])</li><li onclick="toggle('pre39911872', 'post39911872')"> for e in rm_exps:</li><li onclick="toggle('pre39911872', 'post39911872')"> admin_serv.removeGroups(e, [group])</li><li onclick="toggle('pre39911872', 'post39911872')"> </li><li onclick="toggle('pre39911872', 'post39911872')"> def deleteExperimenter(self, experimenter):</li><li onclick="toggle('pre39911872', 'post39911872')"> admin_serv = self.getAdminService()</li></ol> |
|---|
| 874 | |
|---|
| 875 | <ol start="1496" class="context-line"><li onclick="toggle('pre39911872', 'post39911872')"> admin_serv.deleteExperimenter(experimenter) <span>...</span></li></ol> |
|---|
| 876 | |
|---|
| 877 | <ol start='1497' class="post-context" id="post39911872"><li onclick="toggle('pre39911872', 'post39911872')"> </li><li onclick="toggle('pre39911872', 'post39911872')"> def createGroup(self, group, group_owner):</li><li onclick="toggle('pre39911872', 'post39911872')"> admin_serv = self.getAdminService()</li><li onclick="toggle('pre39911872', 'post39911872')"> gr_id = admin_serv.createGroup(group)</li><li onclick="toggle('pre39911872', 'post39911872')"> new_gr = admin_serv.getGroup(gr_id)</li><li onclick="toggle('pre39911872', 'post39911872')"> admin_serv.setGroupOwner(new_gr, group_owner)</li></ol> |
|---|
| 878 | |
|---|
| 879 | </div> |
|---|
| 880 | |
|---|
| 881 | |
|---|
| 882 | |
|---|
| 883 | <div class="commands"> |
|---|
| 884 | <a href="#" onclick="return varToggle(this, '39911872')"><span>▶</span> Local vars</a> |
|---|
| 885 | </div> |
|---|
| 886 | <table class="vars" id="v39911872"> |
|---|
| 887 | <thead> |
|---|
| 888 | <tr> |
|---|
| 889 | <th>Variable</th> |
|---|
| 890 | <th>Value</th> |
|---|
| 891 | </tr> |
|---|
| 892 | </thead> |
|---|
| 893 | <tbody> |
|---|
| 894 | |
|---|
| 895 | <tr> |
|---|
| 896 | <td>admin_serv</td> |
|---|
| 897 | <td class="code"><div><extlib.gateway.ProxyObjectWrapper object at 0x0268AB90></div></td> |
|---|
| 898 | </tr> |
|---|
| 899 | |
|---|
| 900 | <tr> |
|---|
| 901 | <td>experimenter</td> |
|---|
| 902 | <td class="code"><div>object #0 (::omero::model::Experimenter) |
|---|
| 903 | { |
|---|
| 904 | _id = object #1 (::omero::RLong) |
|---|
| 905 | { |
|---|
| 906 | _val = 3 |
|---|
| 907 | } |
|---|
| 908 | _details = object #2 (::omero::model::Details) |
|---|
| 909 | { |
|---|
| 910 | _owner = <nil> |
|---|
| 911 | _group = <nil> |
|---|
| 912 | _creationEvent = <nil> |
|---|
| 913 | _updateEvent = <nil> |
|---|
| 914 | _permissions = object #3 (::omero::model::Permissions) |
|---|
| 915 | { |
|---|
| 916 | _perm1 = -103 |
|---|
| 917 | } |
|---|
| 918 | _externalInfo = <nil> |
|---|
| 919 | } |
|---|
| 920 | _loaded = True |
|---|
| 921 | _version = object #4 (::omero::RInt) |
|---|
| 922 | { |
|---|
| 923 | _val = 0 |
|---|
| 924 | } |
|---|
| 925 | _groupExperimenterMapSeq = |
|---|
| 926 | { |
|---|
| 927 | [0] = object #5 (::omero::model::GroupExperimenterMap) |
|---|
| 928 | { |
|---|
| 929 | _id = object #6 (::omero::RLong) |
|---|
| 930 | { |
|---|
| 931 | _val = 5 |
|---|
| 932 | } |
|---|
| 933 | _details = object #7 (::omero::model::Details) |
|---|
| 934 | { |
|---|
| 935 | _owner = object #8 (::omero::model::Experimenter) |
|---|
| 936 | { |
|---|
| 937 | _id = object #9 (::omero::RLong) |
|---|
| 938 | { |
|---|
| 939 | _val = 0 |
|---|
| 940 | } |
|---|
| 941 | _details = object #10 (::omero::model::Details) |
|---|
| 942 | { |
|---|
| 943 | _owner = <nil> |
|---|
| 944 | _group = <nil> |
|---|
| 945 | _creationEvent = <nil> |
|---|
| 946 | _updateEvent = <nil> |
|---|
| 947 | _permissions = object #11 (::omero::model::Permissions) |
|---|
| 948 | { |
|---|
| 949 | _perm1 = 0 |
|---|
| 950 | } |
|---|
| 951 | _externalInfo = <nil> |
|---|
| 952 | } |
|---|
| 953 | _loaded = True |
|---|
| 954 | _version = <object #4> |
|---|
| 955 | _groupExperimenterMapSeq = |
|---|
| 956 | { |
|---|
| 957 | } |
|---|
| 958 | _groupExperimenterMapLoaded = False |
|---|
| 959 | _groupExperimenterMapCountPerOwner = |
|---|
| 960 | { |
|---|
| 961 | key = 0 |
|---|
| 962 | value = 2 |
|---|
| 963 | } |
|---|
| 964 | _omeName = object #12 (::omero::RString) |
|---|
| 965 | { |
|---|
| 966 | _val = root |
|---|
| 967 | } |
|---|
| 968 | _firstName = object #13 (::omero::RString) |
|---|
| 969 | { |
|---|
| 970 | _val = root |
|---|
| 971 | } |
|---|
| 972 | _middleName = <nil> |
|---|
| 973 | _lastName = object #14 (::omero::RString) |
|---|
| 974 | { |
|---|
| 975 | _val = root |
|---|
| 976 | } |
|---|
| 977 | _institution = <nil> |
|---|
| 978 | _email = <nil> |
|---|
| 979 | _annotationLinksSeq = |
|---|
| 980 | { |
|---|
| 981 | } |
|---|
| 982 | _annotationLinksLoaded = False |
|---|
| 983 | _annotationLinksCountPerOwner = |
|---|
| 984 | { |
|---|
| 985 | } |
|---|
| 986 | } |
|---|
| 987 | _group = object #15 (::omero::model::ExperimenterGroup) |
|---|
| 988 | { |
|---|
| 989 | _id = <object #9> |
|---|
| 990 | _details = object #16 (::omero::model::Details) |
|---|
| 991 | { |
|---|
| 992 | _owner = <object #8> |
|---|
| 993 | _group = <object #15> |
|---|
| 994 | _creationEvent = object #17 (::omero::model::Event) |
|---|
| 995 | { |
|---|
| 996 | _id = <object #9> |
|---|
| 997 | _details = <nil> |
|---|
| 998 | _loaded = False |
|---|
| 999 | _status = <nil> |
|---|
| 1000 | _time = <nil> |
|---|
| 1001 | _experimenter = <nil> |
|---|
| 1002 | _experimenterGroup = <nil> |
|---|
| 1003 | _type = <nil> |
|---|
| 1004 | _containingEvent = <nil> |
|---|
| 1005 | _logsSeq = |
|---|
| 1006 | { |
|---|
| 1007 | } |
|---|
| 1008 | _logsLoaded = False |
|---|
| 1009 | _session = <nil> |
|---|
| 1010 | } |
|---|
| 1011 | _updateEvent = <object #17> |
|---|
| 1012 | _permissions = object #18 (::omero::model::Permissions) |
|---|
| 1013 | { |
|---|
| 1014 | _perm1 = -35 |
|---|
| 1015 | } |
|---|
| 1016 | _externalInfo = <nil> |
|---|
| 1017 | } |
|---|
| 1018 | _loaded = True |
|---|
| 1019 | _version = <object #4> |
|---|
| 1020 | _name = object #19 (::omero::RString) |
|---|
| 1021 | { |
|---|
| 1022 | _val = system |
|---|
| 1023 | } |
|---|
| 1024 | _groupExperimenterMapSeq = |
|---|
| 1025 | { |
|---|
| 1026 | } |
|---|
| 1027 | _groupExperimenterMapLoaded = False |
|---|
| 1028 | _groupExperimenterMapCountPerOwner = |
|---|
| 1029 | { |
|---|
| 1030 | key = 0 |
|---|
| 1031 | value = 1 |
|---|
| 1032 | } |
|---|
| 1033 | _annotationLinksSeq = |
|---|
| 1034 | { |
|---|
| 1035 | } |
|---|
| 1036 | _annotationLinksLoaded = False |
|---|
| 1037 | _annotationLinksCountPerOwner = |
|---|
| 1038 | { |
|---|
| 1039 | } |
|---|
| 1040 | _description = <nil> |
|---|
| 1041 | } |
|---|
| 1042 | _creationEvent = object #20 (::omero::model::Event) |
|---|
| 1043 | { |
|---|
| 1044 | _id = object #21 (::omero::RLong) |
|---|
| 1045 | { |
|---|
| 1046 | _val = 1532 |
|---|
| 1047 | } |
|---|
| 1048 | _details = <nil> |
|---|
| 1049 | _loaded = False |
|---|
| 1050 | _status = <nil> |
|---|
| 1051 | _time = <nil> |
|---|
| 1052 | _experimenter = <nil> |
|---|
| 1053 | _experimenterGroup = <nil> |
|---|
| 1054 | _type = <nil> |
|---|
| 1055 | _containingEvent = <nil> |
|---|
| 1056 | _logsSeq = |
|---|
| 1057 | { |
|---|
| 1058 | } |
|---|
| 1059 | _logsLoaded = False |
|---|
| 1060 | _session = <nil> |
|---|
| 1061 | } |
|---|
| 1062 | _updateEvent = <object #20> |
|---|
| 1063 | _permissions = object #22 (::omero::model::Permissions) |
|---|
| 1064 | { |
|---|
| 1065 | _perm1 = -1 |
|---|
| 1066 | } |
|---|
| 1067 | _externalInfo = <nil> |
|---|
| 1068 | } |
|---|
| 1069 | _loaded = True |
|---|
| 1070 | _version = <object #4> |
|---|
| 1071 | _parent = object #23 (::omero::model::ExperimenterGroup) |
|---|
| 1072 | { |
|---|
| 1073 | _id = object #24 (::omero::RLong) |
|---|
| 1074 | { |
|---|
| 1075 | _val = 2 |
|---|
| 1076 | } |
|---|
| 1077 | _details = object #25 (::omero::model::Details) |
|---|
| 1078 | { |
|---|
| 1079 | _owner = <object #8> |
|---|
| 1080 | _group = <object #15> |
|---|
| 1081 | _creationEvent = <object #17> |
|---|
| 1082 | _updateEvent = <object #17> |
|---|
| 1083 | _permissions = object #26 (::omero::model::Permissions) |
|---|
| 1084 | { |
|---|
| 1085 | _perm1 = -35 |
|---|
| 1086 | } |
|---|
| 1087 | _externalInfo = <nil> |
|---|
| 1088 | } |
|---|
| 1089 | _loaded = True |
|---|
| 1090 | _version = <object #4> |
|---|
| 1091 | _name = object #27 (::omero::RString) |
|---|
| 1092 | { |
|---|
| 1093 | _val = default |
|---|
| 1094 | } |
|---|
| 1095 | _groupExperimenterMapSeq = |
|---|
| 1096 | { |
|---|
| 1097 | } |
|---|
| 1098 | _groupExperimenterMapLoaded = False |
|---|
| 1099 | _groupExperimenterMapCountPerOwner = |
|---|
| 1100 | { |
|---|
| 1101 | } |
|---|
| 1102 | _annotationLinksSeq = |
|---|
| 1103 | { |
|---|
| 1104 | } |
|---|
| 1105 | _annotationLinksLoaded = False |
|---|
| 1106 | _annotationLinksCountPerOwner = |
|---|
| 1107 | { |
|---|
| 1108 | } |
|---|
| 1109 | _description = <nil> |
|---|
| 1110 | } |
|---|
| 1111 | _child = <object #0> |
|---|
| 1112 | } |
|---|
| 1113 | [1] = object #28 (::omero::model::GroupExperimenterMap) |
|---|
| 1114 | { |
|---|
| 1115 | _id = object #29 (::omero::RLong) |
|---|
| 1116 | { |
|---|
| 1117 | _val = 6 |
|---|
| 1118 | } |
|---|
| 1119 | _details = object #30 (::omero::model::Details) |
|---|
| 1120 | { |
|---|
| 1121 | _owner = <object #8> |
|---|
| 1122 | _group = <object #15> |
|---|
| 1123 | _creationEvent = <object #20> |
|---|
| 1124 | _updateEvent = <object #20> |
|---|
| 1125 | _permissions = object #31 (::omero::model::Permissions) |
|---|
| 1126 | { |
|---|
| 1127 | _perm1 = -1 |
|---|
| 1128 | } |
|---|
| 1129 | _externalInfo = <nil> |
|---|
| 1130 | } |
|---|
| 1131 | _loaded = True |
|---|
| 1132 | _version = <object #4> |
|---|
| 1133 | _parent = object #32 (::omero::model::ExperimenterGroup) |
|---|
| 1134 | { |
|---|
| 1135 | _id = object #33 (::omero::RLong) |
|---|
| 1136 | { |
|---|
| 1137 | _val = 1 |
|---|
| 1138 | } |
|---|
| 1139 | _details = object #34 (::omero::model::Details) |
|---|
| 1140 | { |
|---|
| 1141 | _owner = <object #8> |
|---|
| 1142 | _group = <object #15> |
|---|
| 1143 | _creationEvent = <object #17> |
|---|
| 1144 | _updateEvent = <object #17> |
|---|
| 1145 | _permissions = object #35 (::omero::model::Permissions) |
|---|
| 1146 | { |
|---|