erreur d'importation

Linus Torvalds torvalds at linux-foundation.org
Thu Oct 25 08:29:05 PDT 2018


On Thu, Oct 25, 2018 at 8:00 AM jean-yves coppin <jy.coppin at hotmail.fr> wrote:
>
> subsurface ne veut plus m’importer mais plongée

My french is non-existent (two years of French in highschool), but google helps.

The problem is that your dive computer claims that it has 234226 bytes
of data to transfer:

  INFO: Write: size=9, data=C60000000010270000
  INFO: Read: size=4, data=EE920300
  INFO: Write: size=9, data=C40000000010270000
  INFO: Read: size=4, data=F2920300

the above is us asking for the data size (the C6 packet write) getting
back "0x000392ee" (it that 234226 length) followed by us actually
asking for the data itself (the C4 packet), getting back first the
full data size (4 bytes of length plus the expected size: 0x000392f2),
and then we get the data itself:

  INFO: Read: size=32,
data=A5A55A5ACA050000D490A13B0000BA00040100060002600682031F00A0008C00
  INFO: Read: size=32,
data=DD0000000000000000000000150000000000283F00000000ED5F000000000300
  ...

but we actually only get 2514 bytes, and then the read fails:

  INFO: Available: value=0
  INFO: Read: size=0, data=

and libdivecomputer gives up:

  ERROR: Failed to receive the data packet. [in
/data/src/win/subsurface/libdivecomputer/src/uwatec_smart.c:137
(uwatec_smart_irda_receive)]
  ERROR: Failed to receive the answer. [in
/data/src/win/subsurface/libdivecomputer/src/uwatec_smart.c:611
(uwatec_smart_device_dump)]

but the logs do say that communication *starts*, and seems to be
working, it just doesn't get the expected amount of data.

It sounds like it might just be a temporary communication issue and it
might be worth just trying again a few times.

                    Linus


More information about the subsurface mailing list