Project

General

Profile

Actions

Bug #4376

open

ERROR: insert command failed with code 402

Added by Diarmuid Ó Coileáin over 6 years ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
11/02/2017
Due date:
% Done:

0%

Estimated time:

Description

I have installed ndn-cxx, NFD, and ndn-repo via add-apt-repository ppa:named-data/ppa
Ubuntu 16.04.2 LTS

I get the following error when I use ndnputfile:
diarmuidcire1@experiment-unit:~$ ndnputfile /diarmuidcire1/repo/1 /diarmuidcire1/data/1/ file.jpg
ERROR: insert command failed with code 402

However, if the file is small enough, I can I can use one data object to store the file with the following command:
ndnputfile -s /diarmuidcire1/repo/1 /diarmuidcire1/data/1/ test.txt

This file is successfully loaded and can be retrieved with the following command:
ndngetfile -o result.txt /diarmuidcire1/data/1

Also I deleted and recreated the sqlite3 db.
Can you help me sort this out? The main repo-ng repository is broken - and I need this working for a deadline coming soon.

Thanks for your help

No data to display

Actions

Also available in: Atom PDF