<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Am 23.02.20 um 12:27 schrieb Ralf
Habacker:<br>
</div>
<blockquote type="cite"
cite="mid:775dc111-4910-0b88-0cc3-a9a699db6822@freenet.de">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Am 22.02.20 um 10:27 schrieb Prasun
Kumar:<br>
</div>
<blockquote type="cite"
cite="mid:CAM9DqsKRia+rGKZD0DmuivRkVqcsPQgu92u_rHyO5Y=JRpAF2g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="auto">Dear Sir,
<div dir="auto">Just following up on the previous email. I
have generated the sqlite database for the bank data. Would
it be ok if I start with integrating it into the code now?</div>
</div>
</blockquote>
<p>I think no, because looking at <a
class="moz-txt-link-freetext"
href="https://summerofcode.withgoogle.com/"
moz-do-not-send="true">https://summerofcode.withgoogle.com/</a>
you need to register first, which is possible from March 16 on.<br>
</p>
<p>You also need to study <a class="moz-txt-link-freetext"
href="https://google.github.io/gsocguides/student/"
moz-do-not-send="true">https://google.github.io/gsocguides/student/</a>
and subscribe <a class="moz-txt-link-freetext"
href="https://mail.kde.org/mailman/listinfo/kde-soc"
moz-do-not-send="true">https://mail.kde.org/mailman/listinfo/kde-soc</a>
for getting in contact with the project.</p>
</blockquote>
<p>BTW:: Please subscribe to <a class="moz-txt-link-freetext"
href="https://mail.kde.org/mailman/listinfo/kde-finance-apps">https://mail.kde.org/mailman/listinfo/kde-finance-apps</a>
for further communications, which should be public according to
GSOC rules.</p>
<blockquote type="cite"
cite="mid:775dc111-4910-0b88-0cc3-a9a699db6822@freenet.de">
<p>Regards</p>
<p>Ralf<br>
</p>
<blockquote type="cite"
cite="mid:CAM9DqsKRia+rGKZD0DmuivRkVqcsPQgu92u_rHyO5Y=JRpAF2g@mail.gmail.com">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">Thank you,</div>
<div dir="auto">Prasun</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 21 Feb 2020, 19:27
Prasun Kumar, <<a href="mailto:prasun.code@gmail.com"
target="_blank" rel="noreferrer" moz-do-not-send="true">prasun.code@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Dear Sir,<br>
</div>
<div>Thanks a lot for this guidance. I just had a few
questions..</div>
<div>
<ul>
<li> Is the git repo required to be on <a
href="http://sf.net" rel="noreferrer noreferrer"
target="_blank" moz-do-not-send="true">sf.net</a>
? Or can I use other repository sites?</li>
<li> Can I get started on these tasks now or do I have
to wait till the proposal submission?</li>
</ul>
<div>Thank you,</div>
<div><br>
</div>
<div>Prasun<br>
</div>
<div><br>
</div>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 21 Feb 2020 at
19:04, Ralf Habacker <<a
href="mailto:ralf.habacker@freenet.de" rel="noreferrer
noreferrer" target="_blank" moz-do-not-send="true">ralf.habacker@freenet.de</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div>Am 21.02.20 um 14:01 schrieb Prasun Kumar:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Yes, it works perfectly now. Thanks.</div>
<div>Can you suggest the way forward to get
involved in this project? I would like to
contribute to this project </div>
</div>
</blockquote>
<p>You should get familiar (if not present) with<br>
</p>
<p>- cmake (mostly by working on concret tasks)<br>
</p>
<p>- c++ programming, (this could for example be done
by inspecting present code)</p>
<p>- Integrated development environments (QtCreator or
KDevelop)</p>
<p>- build tool chains gcc, make, binutils<br>
</p>
<p>- UML Modelling tools for example <a
href="https://umbrello.kde.org/" rel="noreferrer
noreferrer" target="_blank" moz-do-not-send="true">https://umbrello.kde.org/</a>,
with which you can import c++ code and inspect
and/or design new classes</p>
<p>Concrete tasks to learn from:<br>
</p>
<p>1. try to integrate generating sqlite database from
<a
href="https://cgit.kde.org/kmymoney.git/tree/kmymoney/plugins/ibanbicdata/germany?h=4.8"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://cgit.kde.org/kmymoney.git/tree/kmymoney/plugins/ibanbicdata/germany?h=4.8</a></p>
<p>2. replace the code, which uses the bank data text
file with code that uses the new sqlite database<br>
</p>
<p>3. write/refactor unit tests for the new code<br>
</p>
<p>4. It may required to refactor/simplify the cmake
build system while working on it<br>
</p>
<p>5. add additional countries to the generated sqlite
database (see <a
href="https://cgit.kde.org/kmymoney.git/tree/kmymoney/plugins/ibanbicdata?h=4.8"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://cgit.kde.org/kmymoney.git/tree/kmymoney/plugins/ibanbicdata?h=4.8</a>)</p>
<p>6. extend ktoblzcheck code to use the additional
countries</p>
<p>7. write/refactor unit tests for the new code</p>
<p>8. update ktoblzcheck documentation<br>
</p>
<p>Some generic rules:</p>
<p>1. Use a git repo for development to track changes
(private clone of ktoblzcheck on <a
href="http://sf.net" rel="noreferrer noreferrer"
target="_blank" moz-do-not-send="true">sf.net</a>)<br>
</p>
<p>2. Make single commits for each task or step, no
commits with tons of collected change. You can
reorganize (rebase) or squash commits later <br>
</p>
<p>1. On extending classes, make sure, that code will
work cross platform e.g. do not use hardcoded
pathes. <br>
</p>
<p>Regards</p>
<p>Ralf <br>
</p>
<blockquote type="cite"><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 21 Feb
2020 at 15:38, Ralf Habacker <<a
href="mailto:ralf.habacker@freenet.de"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Am 21.02.20
um 10:46 schrieb Prasun Kumar:<br>
> Dear Sir,<br>
> I ran it after doing sudo make install from
the build directory. To <br>
> investigate I rebuilt it install it to
another directory by using <br>
> the -DCMAKE_INSTALL_PREFIX flag with cmake.
<br>
<br>
Can you show the output of the make install
command ? From it the <br>
location where the shared library
libktoblzcheck.so.1 could be extracted.<br>
<br>
> When I ran from the <br>
> <install-dir>/bin it gave the same
error.<br>
<br>
The installed library is probably located in
<install-dir>/lib (see my <br>
comment above to get the exact location)<br>
Then you can run ktoblzcheck with<br>
<br>
LD_LIBRARY_PATH=<install-dir>/lib
<install-dir>bin/ktoblzcheck<br>
<br>
> Could this be an error in the makefile <br>
It may be related to the cmake RPATH handling
(see <br>
<a
href="https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling"
rel="noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true">https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling</a>)
<br>
and needs to be inspected and if useful a
related patch need to be <br>
applied to ktoblzcheck.<br>
<br>
> or somewhere in the linking of the static
library?<br>
libktoblzcheck is a shared library.<br>
<br>
<br>
> The output of the command strace -e
trace=file ktoblzcheck is :<br>
> <br>
> <br>
> execve("/usr/local/bin/ktoblzcheck",
["ktoblzcheck"], 0x7ffd7dd9f1a0 /* <br>
This indicates that you installed in /usr/local
prefix<br>
<br>
> 64 vars */) = 0<br>
...<br>
<br>
> openat(AT_FDCWD,
"/usr/lib/x86_64/libktoblzcheck.so.1", <br>
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)<br>
> stat("/usr/lib/x86_64", 0x7ffe082e8970) =
-1 ENOENT (No such file or <br>
> directory)<br>
> openat(AT_FDCWD,
"/usr/lib/libktoblzcheck.so.1",
O_RDONLY|O_CLOEXEC) = <br>
> -1 ENOENT (No such file or directory)<br>
> stat("/usr/lib", {st_mode=S_IFDIR|0755,
st_size=20480, ...}) = 0<br>
> ktoblzcheck: error while loading shared
libraries: libktoblzcheck.so.1: <br>
> cannot open shared object file: No such
file or directory<br>
> +++ exited with 127 +++<br>
<br>
This indicates that /usr/local/libxxx is not in
the system search path <br>
for shared libraries.<br>
<br>
if you configure ktoblzcheck with<br>
<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr
<ktoblzcheck-source-dir><br>
<br>
and install it with<br>
<br>
sudo make install<br>
<br>
then it should work out of the box.<br>
<br>
Ralf<br>
<br>
> <br>
> <br>
> On Fri, 21 Feb 2020 at 14:15, Ralf Habacker
<<a href="mailto:ralf.habacker@freenet.de"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a>
<br>
> <mailto:<a
href="mailto:ralf.habacker@freenet.de"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a>>>
wrote:<br>
> <br>
> Am 21.02.20 um 08:53 schrieb Prasun
Kumar:<br>
> > Dear Sir,<br>
> Hi,<br>
> <br>
> > The tool runs fine when I execute
it from the<br>
> <build-directory>/bin/.<br>
> This is expected.<br>
> <br>
> > But it gives the same error when
I run the installed version<br>
> <br>
> How you you get the installed version ?<br>
> <br>
> By the package manager of your
distribution and then did run<br>
> <br>
> ktoblzcheck<br>
> <br>
> from command line ?<br>
> <br>
> or did you run after building<br>
> <br>
> sudo make install<br>
> <br>
> from the ktoblzcheck build dir ?<br>
> <br>
> <br>
> > ("ktoblzcheck: error while
loading shared libraries:<br>
> > libktoblzcheck.so.1: cannot open
shared object file: No such file or<br>
> > directory".) from any other
directory.<br>
> What did you exactly did run - show me
the result from the following<br>
> command line<br>
> <br>
> strace -e trace=file ktoblzcheck<br>
> <br>
> Ralf<br>
> <br>
> ><br>
> > On Fri, 21 Feb 2020 at 12:43,
Ralf Habacker<br>
> <<a
href="mailto:ralf.habacker@freenet.de"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a>
<mailto:<a
href="mailto:ralf.habacker@freenet.de"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a>><br>
> > <mailto:<a
href="mailto:ralf.habacker@freenet.de"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a><br>
> <mailto:<a
href="mailto:ralf.habacker@freenet.de"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a>>>>
wrote:<br>
> ><br>
> > Am 21.02.20 um 00:10 schrieb
KDE Community Wiki:<br>
> > > Dear Sir,<br>
> > Hi Prasun,<br>
> ><br>
> > > I am Prasun from India
and I want to contribute to KtoBlzCheck<br>
> > project in GSoC.<br>
> > Nice to hear.<br>
> ><br>
> > > After building from
source,<br>
> > There is not enough
information to give detailed hints, so I<br>
> tried<br>
> > building and running this
tool from git master<br>
> > (<a
href="https://sourceforge.net/p/ktoblzcheck/bugs/new/"
rel="noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true">https://sourceforge.net/p/ktoblzcheck/bugs/new/</a>)
and it<br>
> worked out of<br>
> > the box.<br>
> ><br>
> > > there is an error while
running the tool. The error is:<br>
> > "ktoblzcheck: error while
loading shared libraries:<br>
> > libktoblzcheck.so.1: cannot
open shared object file: No such<br>
> file or<br>
> > directory".<br>
> > Do you followed the building
guide<br>
> > <a
href="https://sourceforge.net/p/ktoblzcheck/code/ci/master/tree/"
rel="noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true">https://sourceforge.net/p/ktoblzcheck/code/ci/master/tree/</a>><br>
> ><br>
> > > I would greatly
appreciate if you could help me in<br>
> resolving this<br>
> > issue.<br>
> > In case you followed the
building guide and there are still<br>
> errors<br>
> > please open a ticket at<br>
> <a
href="https://sourceforge.net/p/ktoblzcheck/bugs/new/"
rel="noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true">https://sourceforge.net/p/ktoblzcheck/bugs/new/</a><br>
> ><br>
> > Regards<br>
> > Ralf<br>
> ><br>
> <br>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</blockquote>
</body>
</html>