Giter Site home page Giter Site logo

kanki-irodsclient's People

Contributors

ilarik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kanki-irodsclient's Issues

/usr/lib/irods/externals/libjansson.a: No such file or directory

Hello,
I failed to compile your software under ubuntu 16.04.

Building for Linux:
building executable...
g++ -m64 -Wl,-O1 -o irodsclient main.o rodsmainwindow.o rodsconnection.o rodsobjtreeitem.o rodsobjtreemodel.o rodsgenquery.o rodsmetadatawindow.o rodsqueuewindow.o rodsqueuemodel.o rodsmetadataitem.o rodsmetadatamodel.o rodsobjmetadata.o rodsfindwindow.o rodsmetadataschema.o rodsconnectthread.o rodsdownloadthread.o rodsobjentry.o rodsuploadthread.o rodstransferwindow.o rodsdatastream.o rodsdatainstream.o rodsdataoutstream.o rodserrorlogwindow.o rodsstringconditionwidget.o rodsconditionwidget.o rodsdateconditionwidget.o rodsmetadataconditionwidget.o qrc_icons.o moc_rodsmainwindow.o moc_rodsobjtreemodel.o moc_rodsmetadatawindow.o moc_rodsqueuewindow.o moc_rodsqueuemodel.o moc_rodsmetadatamodel.o moc_rodsfindwindow.o moc_rodsconnectthread.o moc_rodsdownloadthread.o moc_rodsuploadthread.o moc_rodstransferwindow.o moc_rodserrorlogwindow.o moc_rodsconditionwidget.o moc_rodsstringconditionwidget.o moc_rodsmetadataconditionwidget.o   -L/usr/X11R6/lib64 -L/usr/lib/irods/externals -lirods_client_api -lirods_client -lboost_regex -lboost_system -lboost_thread -lboost_chrono -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_program_options /usr/lib/irods/externals/libjansson.a -lcrypto -lssl -ldl -lm -lcurl -lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Xml -lQt5Core -lGL -lpthread 
g++: error: /usr/lib/irods/externals/libjansson.a: No such file or directory
Makefile:275: recipe for target 'irodsclient' failed
make: *** [irodsclient] Error 1

What did I miss?

Thank you in advance.

Michal

Kanki should prevent user from trying to write to a leaf resource

When I compose a resource tree, iRODS (correctly) prohibits me from writing to children of coordinating resources--it will only allow me to write to the root node.

Kanki correctly passes this error along to the user (-1816000), but would be helpful if the leaf nodes were grayed out to begin with.

Unable to build project on Ubuntu

Hi, I'm trying to build this project on Ubuntu 15.04, and I'm getting the following error:

(...)
g++ -c -m64 -pipe -std=c++0x -Wno-write-strings -fPIC -Wno-deprecated -D_FILE_OFFSET_BITS=64 -DPARA_OPR=1 -D_REENTRANT -DTAR_STRUCT_FILE -DGNU_TAR -DTAR_EXEC_PATH=/bin/tar -DZIP_EXEC_PATH=/usr/bin/zip -DUNZIP_EXEC_PATH=/usr/bin/unzip -DPAM_AUTH -DUSE_BOOST -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/openssl -isystem /usr/include/irods -isystem /usr/include/irods/boost -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_rodstransferwindow.o moc_rodstransferwindow.cpp
g++ -m64 -Wl,-O1 -o irodsclient main.o rodsmainwindow.o rodsconnection.o rodsobjtreeitem.o rodsobjtreemodel.o rodsgenquery.o rodsmetadatawindow.o rodsqueuewindow.o rodsqueuemodel.o rodsmetadataitem.o rodsmetadatamodel.o rodsobjmetadata.o rodsfindwindow.o rodsmetadataschema.o rodsconnectthread.o rodsdownloadthread.o rodsobjentry.o rodsuploadthread.o rodstransferwindow.o rodsdatastream.o rodsdatainstream.o rodsdataoutstream.o qrc_icons.o moc_rodsmainwindow.o moc_rodsobjtreemodel.o moc_rodsmetadatawindow.o moc_rodsqueuewindow.o moc_rodsqueuemodel.o moc_rodsmetadatamodel.o moc_rodsfindwindow.o moc_rodsconnectthread.o moc_rodsdownloadthread.o moc_rodsuploadthread.o moc_rodstransferwindow.o -L/usr/X11R6/lib64 -ldl -lm -lcurl -lssl -lcrypto -L/usr/lib/irods/externals -lirods_client -lirods_client_api -lboost_regex -lboost_system -lboost_thread -lboost_chrono -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_program_options /usr/lib/irods/externals/libjansson.a -lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Xml -lQt5Core -lGL -lpthread
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libirods_client.a(sslSockComm.o): Invalid symbol reference. 'X509_free@@OPENSSL_1.0.0'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libcrypto.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:250: recipe for target 'irodsclient' failed
make: *** [irodsclient] Error 1

Ubuntu build instruction

Building for Ubuntu 15.04 did not cause many issues:

sudo apt-get install qt5-qmake qtbase5-dev libqt5svg5-dev libcurl4-nss-dev qt5-default
qmake
make

Howerver, the qt5-default package is crucial. Otherwise qmake was linked to qt4 for me. The direct location of qt5 qmake was: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake.

Personally I prefer these kind of instructions over a wrapper script like build.sh wrapping arround qmake and make.

The client works excellent and looks great. Keep up the good work!

Put not working

The method:

int RodsConnection::putFile(const std::string &localPath, const std::string &objPath, const std::string &rodsResc, unsigned int numThreads)

isn't working.

When I try to perform some upload, it is returning the following message:

"Put failed
Status: -130000"

(I'm now using a CentOS operating system, since I wasn't able to build using Ubuntu)

Interested in evaluating Kanki

Hello, Ilari and Calvin,
I was impressed by your presentation in June 2021 on iRODS UGM, and
I would like to evaluate Kanki GUI client for the following platforms : Mac OS, Windows, Linux (CentOS 7, 8 );
Currently I tried to install the rpm provided, unfortunately hit some dependency errors (below) so I had to use --skip-broken

--> Finished Dependency Resolution
Error: Package: kanki-irodsclient-1.0.7-1.el6.x86_64 (/kanki-irodsclient-1.0.7-1.el6.x86_64)
Requires: libirods_client_api.so.1()(64bit)
Error: Package: kanki-irodsclient-1.0.7-1.el6.x86_64 (/kanki-irodsclient-1.0.7-1.el6.x86_64)
Requires: libirods_client.so.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@ip-172-25-66-249 ~]# yum -y install https://github.com/ilarik/kanki-irodsclient/releases/download/1.0.7/kanki-irodsclient-1.0.7-1.el6.x86_64.rpm --skip-broken

But this resulted in the skipping these
Skipped (dependency problems):
kanki-irodsclient.x86_64 0:1.0.7-1.el6
qt5-qtbase-gui.x86_64 0:5.9.7-5.el7_9
qt5-qtsvg.x86_64 0:5.9.7-1.el7
qt5-qtx11extras.x86_64 0:5.9.7-1.el7

Is there an update for Centos rpm ? Should I try to build from source ?
what's the expectation for Windows packaging ( I remember Terrell expressed that iRODS would provide help with packaging of your code )

Strange lockup related to mounting

There is a strange lockup happening when doing things related to mounting and receiving an error.

There appears to be some lock that is not released properly somewhere which messes with (re-)rendering the file list.

Steps to reproduce:

  1. Open kanki
  2. Attempt to mount a path that does not exist (/foo works, for instance), and receive a
Mount collection error
Read collection failed
Status: -310000
  1. Attempt to complete a second irods operation
  2. Interface locks and program needs to be killed

Here is a stack trace, on commit 59be946 on linux, when attempting to mount /foo for a second time. Trying to expand a collection, and trying to upload a directory both give roughly equivalent stack traces.

(gdb) attach 5191
Attaching to process 5191
[New LWP 5192]
[New LWP 5193]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
__lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
135     ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory.
(gdb) bt
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007fa6c459eab5 in __GI___pthread_mutex_lock (mutex=0x7fa69c002ec0)
    at ../nptl/pthread_mutex_lock.c:80
#2  0x00000000004a843a in boost::posix::pthread_mutex_lock (m=0x7fa69c002ec0)
    at /usr/include/boost/thread/pthread/mutex.hpp:62
#3  boost::mutex::lock (this=0x7fa69c002ec0) at /usr/include/boost/thread/pthread/mutex.hpp:116
#4  0x00000000004a79f0 in Kanki::RodsConnection::mutexLock (this=0x7fa69c002ec0)
    at /home/petergil/programming/kanki-irodsclient/src/rodsconnection.cpp:506
#5  0x00000000004a6784 in Kanki::RodsConnection::readColl (this=0x7fa69c002ec0, 
    collPath="/foo", collObjs=0x7ffd33726dd0)
    at /home/petergil/programming/kanki-irodsclient/src/rodsconnection.cpp:232
#6  0x00000000004c59bb in RodsMainWindow::mountPath (this=0x7ffd33727d60)
    at /home/petergil/programming/kanki-irodsclient/src/rodsmainwindow.cpp:262
#7  0x00000000004ca258 in RodsMainWindow::on_actionMount_triggered (this=0x7ffd33727d60)
    at /home/petergil/programming/kanki-irodsclient/src/rodsmainwindow.cpp:972
#8  0x00000000004f13ee in RodsMainWindow::qt_static_metacall (_o=0x7ffd33727d60, 
    _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0x7ffd33726ff0)
    at /home/petergil/programming/kanki-irodsclient/build/src/moc_rodsmainwindow.cpp:311
#9  0x00000000004f173a in RodsMainWindow::qt_metacall (this=0x7ffd33727d60, 
    _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0x7ffd33726ff0)
    at /home/petergil/programming/kanki-irodsclient/build/src/moc_rodsmainwindow.cpp:369
#10 0x00007fa6c2b47680 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib64/libQt5Core.so.5
#11 0x00007fa6c33ab422 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
#12 0x00007fa6c33ae1bd in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib64/libQt5Widgets.so.5
#13 0x00007fa6c34995dd in ?? () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007fa6c3499804 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#15 0x00007fa6c356c72a in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#16 0x00007fa6c33fba68 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007fa6c356c809 in QToolButton::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007fa6c33b598c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#19 0x00007fa6c33ba82c in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#20 0x00007fa6c2b20100 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Core.so.5
#21 0x00007fa6c33b9601 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007fa6c34185e6 in ?? () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007fa6c341acc3 in ?? () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007fa6c33b598c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#25 0x00007fa6c33ba0b0 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#26 0x00007fa6c2b20100 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Core.so.5
#27 0x00007fa6c2e5026b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#28 0x00007fa6c2e51f75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#29 0x00007fa6c2e327e3 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#30 0x00007fa6ba490940 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#31 0x00007fa6c05afd2d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fa6c05b0010 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fa6c05b00bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fa6c2b6c837 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#35 0x00007fa6c2b1ec9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/libQt5Core.so.5
#36 0x00007fa6c2b2675c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#37 0x00000000004a51c7 in main (argc=1, argv=0x7ffd33727f08)
    at /home/petergil/programming/kanki-irodsclient/src/main.cpp:31

iinit renders error

Hello,
I installed iRODS 1.0.7 on my mac running OSX 10.11.3. Initially, the iinit command did not work, so I had to install it following the instructions under "Getting Started" at https://github.com/ilarik/kanki-irodsclient. This allowed the iinit command to work and it prompted the necessary information. However, when I input the info, I receive the following:

Enter your current PAM password:ERROR: sslStart: error in SSL_connect. SSL error: error:140740BF:SSL routines:SSL23_CLIENT_HELLO:no protocols available
[-] libpam.cpp:231:pam_auth_client_request : status [SSL_HANDSHAKE_ERROR] errno [] -- message [failed to enable ssl]

failed with error -2103000 SSL_HANDSHAKE_ERROR

Thanks for your help,
Trey

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.