Issue with istream read

8 views
Skip to first unread message

Bruno Santos

unread,
May 12, 2026, 4:00:36 AM (yesterday) May 12
to iRODS-Chat
Hi,

I found 'strange' behavior with the istream read command.

If the collection name contains a single quota in the name, it does not work.
Using the same path, other icommands work.

Example:
$ istream read "/zone/home/user/37/cc'cc/file.txt"
Error: iRODS Exception:
    file: /usr/include/irods/replica.hpp
    function: irods::experimental::replica::query_value_type irods::experimental::replica::detail::get_data_object_info_impl(RcComm &, const irods::experimental::filesystem::path &, std::string_view) [RcComm = RcComm]
    line: 222
    code: -808000 (CAT_NO_ROWS_FOUND)
    message:
        no replica information found
stack trace:
--------------
 0# irods::stacktrace::dump() const in /lib/libirods_common.so.4.3.4
 1# irods::exception::assemble_full_display_what() const in /lib/libirods_common.so.4.3.4
 2# irods::exception::what() const in /lib/libirods_common.so.4.3.4
 3# main in istream
 4# 0x00007FBD356E3D90 in /lib/x86_64-linux-gnu/libc.so.6
 5# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
 6# _start in istream


$ ils -l  "/zone/home/user/37/cc'cc/file.txt"
  user          0 hot_1;local_filestorage_1711_2         1212 2026-05-12.09:14 & file.txt
$ iget -f  "/zone/home/user/37/cc'cc/file.txt"
$ ls file.txt
file.txt


Here, the collection name has a lot of different chars, but no single quote and it works:
$ istream read '/zone/home/user/37/bb !-_.*()+ ~@#$%^&{}|:<>?`=[];,"€bb/contents.txt'
(file content here!)
$ ils '/zone/home/user/37/bb !-_.*()+ ~@#$%^&{}|:<>?`=[];,"€bb/contents.txt'
  /zone/home/user/37/bb !-_.*()+ ~@#$%^&{}|:<>?`=[];,"€bb/contents.txt


Any ideas?

Thanks in advance,
Bruno

Terrell Russell

unread,
May 12, 2026, 7:09:56 AM (yesterday) May 12
to irod...@googlegroups.com
Hi Bruno,

Can you reproduce in 4.3.5 or 5.0.2?

Terrell



--
--
The Integrated Rule-Oriented Data System (iRODS) - https://irods.org
 
iROD-Chat: http://groups.google.com/group/iROD-Chat
---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/irod-chat/2f7642bd-3bf5-4583-896f-2d83eb1a0024n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages