Actions
Bug #1896
closedMultiple errors with ndnputfile
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/20/2014
Due date:
% Done:
100%
Estimated time:
Description
ndnputfile appears to not work properly with ndn-repo-ng in my installation - Mac OS X 10.9 with current ndn-cxx and nfd
Please advise on whether this is a usage issue, in which case the documentation may need to be updated, or a bug.
Steps to reproduce:
- Clone, build, install and run current versions of ndn-cxx, nfd.
- Clone, build, and install repo-ng.
- Create directory /var/db/ndn-repo-ng and give permissions to current user.
- Run ndn-repo-ng as current user
- Small file test as follows: $ echo "hello" > test.txt $ ndnputfile ndn:/example/repo/1 ndn:/example/data/1/test.txt ./test.txt ERROR: check response timeout ndn-repo-ng crashes with the following error: ERROR: Invalid length for nonNegativeInteger (only 1, 2, 4, and 8 are allowed) no data in db $ sqlite3 /var/db/ndn-repo-ng/ndn_repo.db 'select * from NDN_REPO;' [nothing]
- Medium file test as follows: [create 5.6MB file IMG_5989.JPG] $ ndnputfile ndn:/example/repo/1 ndn:/example/data/1/IMG_5989.JPG ./IMG_5989.JPG ERROR: check response timeout ndn-repo-ng crashes with the following error: ERROR: Name component does not have the requested marker 5611 records in db for this data: $ sqlite3 /var/db/ndn-repo-ng/ndn_repo.db 'select id,name from NDN_REPO ORDER BY ID DESC LIMIT 1;' 5611|exampldat1 ... IMG_5989.JPG ?
Updated by Jeff Burke about 10 years ago
Note: all unit tests pass in this installation.
Updated by Weiqi Shi about 10 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
This bug is same with #1887 and has been solved
Updated by Junxiao Shi over 7 years ago
- Is duplicate of Task #1887: The problem of ndnputfile and ndngetfile added
Actions