Project

General

Profile

Actions

Bug #1896

closed

Multiple errors with ndnputfile

Added by Jeff Burke about 10 years ago. Updated over 7 years ago.

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:

  1. Clone, build, install and run current versions of ndn-cxx, nfd.
  2. Clone, build, and install repo-ng.
  3. Create directory /var/db/ndn-repo-ng and give permissions to current user.
  4. Run ndn-repo-ng as current user
  5. 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]
  6. 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 ?

Related issues 1 (0 open1 closed)

Is duplicate of repo-ng - Task #1887: The problem of ndnputfile and ndngetfileClosed08/18/2014

Actions
Actions #1

Updated by Jeff Burke about 10 years ago

Note: all unit tests pass in this installation.

Actions #2

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

Actions #3

Updated by Junxiao Shi over 7 years ago

  • Is duplicate of Task #1887: The problem of ndnputfile and ndngetfile added
Actions #4

Updated by Junxiao Shi over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF