On 25/07/2011 6:04pm, Kejun He wrote:
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?
It is difficult to see the traceback right to the end when you use html
in your email. It seems to have been truncated. You should switch to the
copy-and-paste view.
Speaking for myself, when something is not found on one machine but is
ok on another it usually means I have forgotten to install a component..
Has the project been working on the Windows machine at an earlier time?
Mike
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|
100. 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|
23. 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|
36. return view_func(*args, **kwargs) ...
â–¶Â Local vars <http://127.0.0.1:8000/RPC/accountdb#>
* |E:\gmadmin\rpc4django\views.py| in |serve_rpc_request|
201. 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.
--
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.