Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] jsk_data pubinfo does not work for long filename #1155

Closed
wkentaro opened this issue Oct 1, 2015 · 2 comments
Closed

[bug] jsk_data pubinfo does not work for long filename #1155

wkentaro opened this issue Oct 1, 2015 · 2 comments

Comments

@wkentaro
Copy link
Member

wkentaro commented Oct 1, 2015

wkentaro at cobra in ~ 
% jsk_data ls -p
2015-09-29-02-46-49_hoge.txt
2015-09-29-03-51-26_hoge.txt
2015-09-29-04-02-53_hoge.txt
2015-09-29-18-24-24_multisense_images_human_front.bag
2015-09-30-01-56-48_roslaunch_faster.mp4
2015-10-01-14-19-04_jsk_visualization_readthedocs.mp4
2015-10-01-14-22-04_hoge.txt
2015-10-01-23-09-12_kiva_pod_filtered.mp4
wkentaro at cobra in ~ 
% jsk_data pubinfo 2015-10-01-14-19-04_jsk_visualization_readthedocs.mp4
file not found: 2015-10-01-14-19-04_jsk_visualization_readthedocs.mp4
Run `jsk_data ls --public` to find files.
@wkentaro
Copy link
Member Author

wkentaro commented Oct 1, 2015

this is because this script's output is
https://github.com/wkentaro/jsk-data-aries-scripts/blob/master/list-public-data.sh

% ./list-public-data.sh
Id                             Title                                      Size     Created               
0B9P1L--7Wd2vOEVzX2M4Q3lmNm8   2015-10-01-23-09-12...a_pod_filtered.mp4   1.9 MB   2015-10-01 23:09:21   
0B9P1L--7Wd2vR3lONWhTMkJSRmM   2015-10-01-14-22-04_hoge.txt               5.0 B    2015-10-01 14:22:08   
0B9P1L--7Wd2vNVkyYXpldTdUcjQ   2015-10-01-14-19-04...on_readthedocs.mp4   4.6 MB   2015-10-01 14:19:15   
0B9P1L--7Wd2veFZkSl82NzI4YVE   2015-09-30-01-56-48_roslaunch_faster.mp4   3.6 MB   2015-09-30 01:56:57   
0B9P1L--7Wd2vZ20zemtQMG1mUFk   2015-09-29-04-02-53_hoge.txt               5.0 B    2015-09-29 04:02:58   
0B9P1L--7Wd2vY0pDbGhXb09KTkk   2015-09-29-03-51-26_hoge.txt               5.0 B    2015-09-29 03:51:30   
0B9P1L--7Wd2vVlpzRkwzYUladms   2015-09-29-02-46-49_hoge.txt               5.0 B    2015-09-29 02:46:54  

like this.

@wkentaro
Copy link
Member Author

wkentaro commented Oct 1, 2015

  • 40 chars max
  • left 19 chars if max, right 18 chars if max and 3 dot.

wkentaro added a commit to wkentaro/jsk_common that referenced this issue Oct 1, 2015
Because gdrive does not return full title if it is longer than 40

Closes jsk-ros-pkg#1155
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant