Arpad Boda created MINIFICPP-804:
------------------------------------
Summary: C API Python examples are broken
Key: MINIFICPP-804
URL: https://issues.apache.org/jira/browse/MINIFICPP-804
Project: Apache NiFi MiNiFi C++
Issue Type: Bug
Affects Versions: 0.6.0
Reporter: Arpad Boda
Assignee: Arpad Boda
Fix For: 0.7.0
build git:(MINIFICPP-694) ✗ python3 ../python/getFile.py -s
./python/library/libpython-lib.dylib -n http://localhost:8080 -i
34948508-0166-1000-7a4c-194e61494bb1 -d /tmp/getfile/
creating ptr
[2019-04-infol 16:35:34.478] [org::apache::nifi::minifi::processors::GetFile]
[info] GetFile process /tmp/getfile//testfile
[2019-04-infol 16:35:34.479]
[org::apache::nifi::minifi::core::repository::VolatileContentRepository] [info]
enter write for ./content_repository/0-0
[2019-04-infol 16:35:34.479]
[org::apache::nifi::minifi::core::repository::VolatileContentRepository] [info]
Minimize locking, return stream for ./content_repository/0-0
[2019-04-infol 16:35:34.481] [org::apache::nifi::minifi::core::ProcessSession]
[info] Transferring e4de3256-6054-11e9-9877-97b2bc471bb2 from GetFile to
relationship success
Add attribute succeeded
Cannot add the same attribute twice!
original file name: testfile
libc++abi.dylib: terminating with uncaught exception of type
org::apache::nifi::minifi::Exception: Process Session Operation:Can not find
the transfer relationship for the updated flow
e4de3256-6054-11e9-9877-97b2bc471bb2
[1] 82468 abort python3 ../python/getFile.py -s
./python/library/libpython-lib.dylib -n -i
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)