yarpdatadumper produces files with name that are not allowed on exfat partitions

Created on 6 Nov 2019  路  13Comments  路  Source: robotology/yarp

Describe the bug
The LaCie 4TB d2 Professional hard drives that we have do not allow to copy folders that contain :o or :i at the end of the name. They are formatted with exfat filesystem. This conflicts with the names that are usually given to the yarp device ports and it renders more difficult to copy dumped datasets (since the folders are created with the ports names)

To Reproduce
Copy a dump of the robot data into one of the LaCie hard drives in the lab

Expected behavior
A correct copy

Configuration (please complete the following information):

  • OS: Ubuntu 18.04
  • yarp version: 3.2.1

    • compiler: g++

GUI - yarpdataplayer Tool - yarpdatadumper YARP v3.3.0 Bug Fixed

Most helpful comment

I'm on it.

All 13 comments

Copy a dump of the robot data into one of the LaCie hard drives in the lab

Which lab? : )

Which lab? : )

The best lab :D
DIC lab at CRIS building, IIT Genova

By logger you mean yarpdatadumper?

By logger you mean yarpdatadumper?

yes

@bemilio If I understand correctly, the issue is that the : character is not allowed on exfat partition file names?

According to wikipedia

Allowed characters in filenames | all Unicode characters except U+0000 (NUL) through U+001F (US) / (slash) \ (backslash) : (colon) * (asterisk) ? (question mark) " (quote) < (less than) > (greater than) and \| (pipe)(encoding in UTF-16LE)

@bemilio If I understand correctly, the issue is that the : character is not allowed on exfat partition file names?

Exactly

Thanks.
For the dumping part, it should be a trivial issue to rename the files, but this might require also some extra work for the dataplayer side since, i believe, the port name is taken from the file name.
CC @vtikha

The port name is also reported plain within info.log as stated in the documentation: http://www.yarp.it/yarpdatadumper.html.

Don't know if yarpdataplayer reads that info though.

The yarpdataplayer gets initialized with the info.log file

I'm on it.

PR created (see #2122).

Anyway, yarpdatadumper can rely on the --dir command-line option to override dir names.

Done in #2122.

Was this page helpful?
0 / 5 - 0 ratings