Error trying to execute the hello_world example download at the subversion amfast

5 views
Skip to first unread message

victorjabur

unread,
Oct 30, 2010, 8:51:03 PM10/30/10
to AmFast
Hi guys,

I trying to execute the hello_world example, but when i invoke the
Submit button at Adobe Flex 3,
i'm receiving the follow message:

I running at django and enable the debugger at the pydev eclipse and
adobe flex too.

The method "def setup_channel_set(channel_set):" at the python project
was successfully executed,
the "echo" method isn't invoked and the flex shows the follow error:

Help me, please !!!

Victor Jabur

----------------------------------------------------------------------------------------------------------------------------------
Error:
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Failed: url: 'http://192.168.1.104:8000/julianajabur/amf'"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/
internal::faultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src
\mx\rpc\AbstractInvoker.as:220]
at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects
\rpc\src\mx\rpc\Responder.as:53]
at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects
\rpc\src\mx\rpc\AsyncRequest.as:103]
at mx.messaging::ChannelSet/faultPendingSends()[C:\autobuild
\3.2.0\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:1482]
at mx.messaging::ChannelSet/channelFaultHandler()[C:\autobuild
\3.2.0\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:975]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/connectFailed()[C:\autobuild\3.2.0\frameworks
\projects\rpc\src\mx\messaging\Channel.as:997]
at mx.messaging.channels::PollingChannel/connectFailed()[C:\autobuild
\3.2.0\frameworks\projects\rpc\src\mx\messaging\channels
\PollingChannel.as:354]
at mx.messaging.channels::AMFChannel/statusHandler()[C:\autobuild
\3.2.0\frameworks\projects\rpc\src\mx\messaging\channels\AMFChannel.as:
390]

limscoder

unread,
Oct 30, 2010, 8:58:20 PM10/30/10
to AmFast
What happens if you visit the RPC URL in your browser?

victorjabur

unread,
Oct 30, 2010, 9:09:38 PM10/30/10
to AmFast
A Blank Screen is showed and this information is logged at the django
logs: "[30/Oct/2010 23:07:27] "GET /julianajabur/amf HTTP/1.1" 405 0"

This is the full log:

Validating models...
0 errors found

Django version 1.2.3, using settings 'JulianaJaburApp.settings'
Development server is running at http://192.168.1.104:8000/
Quit the server with CONTROL-C.
[30/Oct/2010 23:07:27] "GET /julianajabur/amf HTTP/1.1" 405 0

Any Idea ?
Thanks

victorjabur

unread,
Oct 30, 2010, 10:58:04 PM10/30/10
to AmFast
Well guys,

The situation is it:

1) The hello world is working
2) My Application (JulianaJaburApp), isn't work.

I construct my application (JulianaJaburApp) based on hello_world as
template, the only update that i make
is separate the Applications with the Project, as recommended by
Django Tutorial (isolation through patterns url), using include:

JulianaJaburApp (Application)
-> urls.py -> (r'^julianajabur/', include('JulianaJaburPrj.urls')),

JulianaJaburPrj is the Project (exist inside Application)

My Question is: How to make a modification in the hello_world project
to works with "include urls" (r'^julianajabur/',
include('JulianaJaburPrj.urls')),

This is the two projects: hello_world and julianaJaburApp

hello_world: http://www.adrive.com/public/8deead8fd81793968041ffef6e316b86f760320dd32a785fdf46df69fa06b663.html

JulianaJaburApp: http://www.adrive.com/public/c53f22484c99168102f55ad0162d71cd92b8da137e797f13a029cbd40fcd8d15.html

Obs.: The mxml file (flex) is the same for booth projects, except to
the endpoint that the julianajabur is something like: "http://
localhost:8000/julianajabur/amf"

As you can see, the only difference is the julianajabur at the URL,
that i to care with the include in the urls.py

Any Help ?

Thanks.
Victor Jabur

On Oct 30, 10:58 pm, limscoder <dthomp...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages