Comments (3)
with this Python rule...
def pep_api_data_obj_read_pre(rule_args, callback, rei):
callback.writeLine("serverLog", rule_args[2])
I see...
Attempted to extract a boost::python::object containing a non-conforming type
with iRODS Rule Language...
pep_api_data_obj_read_pre(*INSTANCE, *COMM, *DATAOBJREADINP, *BUFF){
writeLine("serverLog", *DATAOBJREADINP)
}
I see...
"log_message":"writeLine: inString = KeyValue[7]:bytesWritten=0;keyValPair_t=nullptr;l1descInx=3;len=12;offset=0;oprType=0;whence=0;\n"
So, indeed, object path does not appear to be there...
And looking at that data structure... indeed it is not...
irods/lib/api/include/irods/dataObjInpOut.h
Lines 95 to 103 in efa5f26
So... the question is how do we get that information?
from irods.
With the l1 descriptor, one can use msi_get_file_descriptor_info
to get the obj path and much more:
As it returns a JSON object, you may also need to use the JSON microservices to get at the information.
It shouldn't be very expensive because the l1 descriptor is in the same agent process. Also, I haven't tested this. :)
from irods.
Oh, nice. Sounds like we need an example in the docs somewhere once we see it work.
from irods.
Related Issues (20)
- `test_all_rules.test_msi_replica_truncate`: Add assertions about output string
- `test_iadmin.Test_Iadmin.test_rebalance_for_invalid_data__ticket_3147` fails intermittently
- Null access on a collection doesnt block users seeing sub collections and their sub items HOT 2
- connection_pool.cpp must propagate error codes from low-level functions to exception types
- `-Wdeprecated-copy-with-user-provided-copy` compiler warning generated on EL7 / EL8
- Document GenQuery behavior across database flavors
- Investigate whether workarounds for llvm#41450 are still needed
- Add `--test-list` option to `run_tests.py`
- `test_icommands_file_operations.Test_ICommands_File_Operations_3` fails on EL8 when SSL is enabled HOT 1
- `test_resource_types.Test_Resource_Unixfilesystem` fails on EL8 when SSL is enabled HOT 1
- Logical locking doesn't protect against `imv` operation HOT 2
- `iput -k` doesn't populate checksum info in relevant PEPs triggered HOT 2
- `KW_CFG_PLUGIN_TYPE_AUTHENTICATION` is "auth" but configuration JSON schema requires "authentication"
- increased agent allocated memory after client-server roundtrips
- Add `-t` option to `istream`
- irods server refuses to start due to schema issue in the hosts host_resolution.json for iRODS 4.3.2 HOT 4
- `irods_assert.hpp` declares `irods::assert()` but it is never defined
- add -j option to itree
- GenQuery2: Investigate replacement for `no distinct`
- Add plugin interface for new authentication plugin framework
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irods.