Skip to content

Connecting to Tizen Device/emulator failed. Error: Agent connection #60

@tusharsharma04

Description

@tusharsharma04

Hi Antti,

I am trying to run python script on Tizen Z3 mobile device but facing some connection issue. I am posting the details below. Kindly guide and share your opinion.
$sdb root on
$which sdb
/usr/bin/sdb
$sdb version
Smart Development Bridge version 2.2.80
$python -c 'import fmbttizen; print fmbttizen.Device(pythonCommand="/opt/python/bin/python")'


// The above command gives a traceback with following error:
fmbttizen.TizenConnectionError: Connecting to a Tizen device/emulator failed. Error : Agent connection

sh-3.2# /opt/python/bin/python /tmp/fmbttizen-agent.py ; exit
sh: /opt/python/bin/python" No such file or directory
exit
Try "sdb -s 0000c24f00007200 shell /opt/python/bin/python /tmp/fmbttizen-agent.py --debug".


$ sdb -s 0000c24f00007200 shell
closed
sh-3.2# python -c 'print "hello"
hello
sh-3.2# /opt/python/bin/python -c 'print "hello"

$
$

I have already followed the discussion at:
#27

Could you please check what is getting wrong. thank you~!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions