erreur d'importation

Linus Torvalds torvalds at
Thu Oct 25 08:29:05 PDT 2018

On Thu, Oct 25, 2018 at 8:00 AM jean-yves coppin <jy.coppin at> 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,
  INFO: Read: size=32,

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
  ERROR: Failed to receive the answer. [in

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.


More information about the subsurface mailing list