Hi,

A strange problem! The same project about RPC could work normally in Linux,
but it reported a error "global name 'dispatcher' is not defined" on
development server(http://127.0.0.1:8000) in Windows OS.

Did anyone meet this problem before?
Could you tell me how to fix it?

Thank you!


==============traceback=======================
Traceback Switch to copy-and-paste view<http://127.0.0.1:8000/RPC/accountdb#>

   - C:\Python25\Lib\site-packages\django\core\handlers\base.py in
   get_response
   1. response = callback(request, *callback_args, **callback_kwargs) ...
   ▶ Local vars <http://127.0.0.1:8000/RPC/accountdb#>
   - C:\Python25\Lib\site-packages\django\views\decorators\csrf.py in
   wrapped_view
   1. resp = view_func(*args, **kwargs) ...
   ▶ Local vars <http://127.0.0.1:8000/RPC/accountdb#>
   - C:\Python25\Lib\site-packages\django\views\decorators\csrf.py in
   wrapped_view
   1. return view_func(*args, **kwargs) ...
   ▶ Local vars <http://127.0.0.1:8000/RPC/accountdb#>
   - E:\gmadmin\rpc4django\views.py in serve_rpc_request
   1. methods = dispatcher.list_methods() ...
   ▶ Local vars <http://127.0.0.1:8000/RPC/accountdb#>





regards,
he

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to