g_fenton

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Nikon S3700 – connection problem #566
    g_fenton
    Participant

    I am sorry that it took me so long. I was traveling for work. Per your request:

    airnef v1.1 – Wireless transfer of images/movies for Nikon cameras [GPL v3]
    Copyright (c) TestCams.com, Time: 11/16/15 12:52:59, Py: 2.7.9, OS: Linux

    Orig cmd line: [‘/home/gordon/airnef/airnefcmd’, ‘–action’, ‘listfiles’, ‘–ipaddress’, ‘192.168.0.1’, ‘–realtimedownload’, ‘afternormal’, ‘–logginglevel’, ‘debug’, ‘–extlist’, ‘JPG’, ‘ARW’, ‘–outputdir’, ‘/home/gordon/Pictures/Nikon Camera’, ‘–ifexists’, ‘uniquename’, ‘–slot’, ‘firstfound’, ‘–transferorder’, ‘newestfirst’, ‘–cameratransferlist’, ‘ignore’]
    Processed cmd line: {‘ssdp_addservice’: None, ‘connecttimeout’: 10, ‘printstackframes’: ‘no’, ‘excludefolders’: None, ‘rtd_maxsecsbeforeforceinitialobjlistget’: 5, ‘realtimedownload’: ‘disabled’, ‘outputdir’: ‘/home/gordon/Pictures/Nikon Camera’, ‘extlist’: set([‘JPG’, ‘ARW’]), ‘camerasleepwhendone’: ‘yes’, ‘slot’: ‘firstfound’, ‘startdate’: None, ‘filenamespec’: None, ‘downloadhistory’: ‘skipfiles’, ‘rtd_pollingmethod’: None, ‘maxgetobjbuffersizekb’: 32768, ‘sonyuniquecmdsenable’: 1, ‘ssdp_discoverytimeoutsecsperattempt’: 2, ‘ssdp_discoveryattempts’: 3, ‘initcmdreq_guid’: ‘0x7766554433221100-0x0000000000009988’, ‘downloadexec’: None, ‘ssdp_discoveryflags’: None, ‘ssdp_addmulticastif’: None, ‘cameratransferlist’: ‘ignore’, ‘socketreadwritetimeout’: 5, ‘opensessionid’: None, ‘retrydelaysecs’: 5, ‘downloadexec_options’: [], ‘ifexists’: ‘uniquename’, ‘dirnamespec’: None, ‘logginglevel’: ‘debug’, ‘retrycount’: 9223372036854775807, ‘mtpobjcache_maxagemins’: 0, ‘ipaddress’: ‘192.168.0.1’, ‘maxgetobjtransfersizekb’: 1024, ‘suppressdupconnecterrmsgs’: ‘yes’, ‘onlyfolders’: None, ‘downloadexec_extlist’: None, ‘enddate’: None, ‘realtimepollsecs’: 3, ‘maxclockdeltabeforesync’: ‘5’, ‘initcmdreq_hostver’: 65536, ‘mtpobjcache’: ‘enabled’, ‘action’: ‘listfiles’, ‘transferorder’: ‘newestfirst’, ‘rtd_mtppollingmethod_newobjdetection’: ‘objlist’, ‘initcmdreq_hostname’: ‘airnef’}
    openConnection(): Attempting connection to 192.168.0.1:15740
    Connection established to 192.168.0.1:15740
    sendInitCmdReq(): Sending MTP_TCPIP_REQ_INIT_CMD_REQ
    0000: 01 00 00 00 00 11 22 33 – 44 55 66 77 88 99 00 00 ……”3 – DUfw….
    0010: 00 00 00 00 61 00 69 00 – 72 00 6e 00 65 00 66 00 ….a.i. – r.n.e.f.
    0020: 00 00 00 00 01 00 ……
    sendInitCmdReq() response:
    0000: 02 00 00 00 53 4c 3e 50 – 30 30 31 31 32 32 33 33 ….SL>P – 00112233
    0010: 34 34 35 35 36 36 37 37 – 57 00 55 00 2d 00 31 00 44556677 – W.U.-.1.
    0020: 61 00 00 00 00 00 01 00 – a……. –
    Session ID = 0x503e4c53
    openConnection(): Attempting connection to 192.168.0.1:15740
    sendInitEvents(): Sending MTP_TCPIP_REQ_INIT_EVENTS
    0000: 03 00 00 00 53 4c 3e 50 – ….SL>P –
    sendInitEvents() response:
    0000: 04 00 00 00 ….
    sendProbeRequest(): Sending probe request
    0000: 0d 00 00 00 ….
    sendProbeRequest() response:
    0000: 0e 00 00 00 ….
    execMtpOp: MTP_OP_GetDeviceInfo – CmdReq payload:
    0000: 06 00 00 00 01 00 00 00 – 01 10 01 00 00 00 …….. – ……
    execMtpOp: MTP_OP_GetDeviceInfo – DataStart payload [expected data bytes is 0x169]
    0000: 09 00 00 00 01 00 00 00 – 69 01 00 00 00 00 00 00 …….. – i…….
    execMtpOp: MTP_OP_GetDeviceInfo – Data payload [ID c] (0x00000171 bytes):
    0000: 0c 00 00 00 01 00 00 00 – 64 00 06 00 00 00 64 00 …….. – d…..d.
    0010: 23 6d 00 69 00 63 00 72 – 00 6f 00 73 00 6f 00 66 #m.i.c.r – .o.s.o.f
    0020: 00 74 00 2e 00 63 00 6f – 00 6d 00 2f 00 64 00 65 .t…c.o – .m./.d.e
    0030: 00 76 00 69 00 63 00 65 – 00 73 00 65 00 72 00 76 .v.i.c.e – .s.e.r.v
    0040: 00 69 00 63 00 65 00 73 – 00 3a 00 20 00 31 00 2e .i.c.e.s – .:. .1..
    0050: 00 30 00 3b 00 00 00 00 – 00 36 00 00 00 01 10 02 .0.;…. – .6……
    0060: 10 03 10 04 10 05 10 06 – 10 07 10 08 10 09 10 0a …….. – ……..
    0070: 10 0c 10 0d 10 1b 10 0b – 10 0f 10 05 90 06 90 23 …….. – …….#
    0080: 10 0e 10 14 10 15 10 16 – 10 21 10 22 10 24 10 25 …….. – .!.”.$.%
    0090: 10 26 10 27 10 00 92 02 – 90 03 90 01 98 02 98 03 .&.’…. – ……..
    00a0: 98 05 98 c4 90 16 90 c1 – 90 c2 90 03 92 c7 90 c8 …….. – ……..
    00b0: 90 01 92 02 92 05 92 06 – 92 07 92 07 94 08 94 09 …….. – ……..
    00c0: 94 0a 94 08 95 04 95 05 – 95 0d 00 00 00 01 40 02 …….. – ……@.
    00d0: 40 03 40 04 40 05 40 06 – 40 07 40 08 40 09 40 0a @.@.@.@. – @.@.@.@.
    00e0: 40 0c 40 0d 40 01 c0 09 – 00 00 00 07 d4 06 d4 02 @.@.@… – ……..
    00f0: d0 11 50 0c 50 0a 50 08 – 50 01 50 03 d3 01 00 00 ..P.P.P. – P.P…..
    0100: 00 01 38 08 00 00 00 00 – 30 01 30 00 38 01 38 06 ..8….. – 0.0.8.8.
    0110: 30 0a 30 0d 30 08 30 12 – 4e 00 69 00 6b 00 6f 00 0.0.0.0. – N.i.k.o.
    0120: 6e 00 20 00 43 00 6f 00 – 72 00 70 00 6f 00 72 00 n. .C.o. – r.p.o.r.
    0130: 61 00 74 00 69 00 6f 00 – 6e 00 00 00 06 53 00 33 a.t.i.o. – n….S.3
    0140: 00 37 00 30 00 30 00 00 – 00 13 43 00 4f 00 4f 00 .7.0.0.. – ..C.O.O.
    0150: 4c 00 50 00 49 00 58 00 – 20 00 53 00 33 00 37 00 L.P.I.X. – .S.3.7.
    0160: 30 00 30 00 20 00 56 00 – 31 00 2e 00 30 00 00 00 0.0. .V. – 1…0…
    0170: 00 .
    execMtpOp: MTP_OP_GetDeviceInfo – CmdResponse payload (resp=”MTP_RESP_Ok”):
    0000: 07 00 00 00 01 20 01 00 – 00 00 ….. .. – ..
    An exception occurred. Here is the stack trace information:
    Traceback (most recent call last):
    File “<string>”, line 3437, in appMain
    File “<string>”, line 1143, in startMtpSession
    File “<string>”, line 1307, in getMtpDeviceInfo
    File “<string>”, line 892, in parseMtpDeviceInfo
    File “<string>”, line 812, in removeLeadingCharsFromStr
    UnboundLocalError: local variable ‘charPos’ referenced before assignment

Viewing 1 post (of 1 total)