[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rocs-devel
Subject:    Re: Seeking mentorship to work on ROCS project during SOK 2020
From:       Tomaz Canabrava <tcanabrava () kde ! org>
Date:       2019-12-24 11:12:23
Message-ID: CACk01_yu6fqg-0ekKc4o+-Dncub6mFBjUoA-2BK1xPGS90XbUA () mail ! gmail ! com
[Download RAW message or body]

On Mon, Dec 23, 2019 at 10:50 PM Hitesh Sagtani <sagtanih@gmail.com> wrote:

> Hi,
> I was able to compile rocs using kdesrc-build utility and is now running
> fine.
>
>
> *I noticed some issues in rocs relating to *
>
> *1. Nodetype and Edgetype*
> When i create 2 node types with default node type having more properties
> than the node type created afterwards which have less number of properties
> than default node type (which was initially created)
> The properties of default node type is also visible in the node type
> created afterwards. (node property names was set to visible during
> execution)
> (i tried initializing "QStringList m_dynamicProperties;" to empty list in
> EdgeTypePrivate but that didn't help).
>

I'll look at this.

*2. graph placement and mouse clicks*
> When generating a graph it goes out of the canvas. and also if there is a
> graph on the canvas and user again generates a graph it often overlaps with
> the graph already on the canvas.
>

This was supposedly fixed, can you show a screenshoot?

*3. Graph document name*
> When renaming the graph document sometimes it takes 2 or 3 click on "ok"
> button to set new name of the graph document.
>

This seems easy to debug, can you try to fix?


> *4. some additional utility *
> Although there is option for removing all the edges from the graph but if
> the graph is big it would be convenient for the user if there are options
> to remove all the nodes or the graph altogether.
>
> While running rocs i am also getting following message on the terminal:
> "User of KWidgetItemDelegate should not delete widgets created by
> createItemWidgets!"
> "QCoreApplication::postEvent: Unexpected null receiver"
> do i need to resolve them or having them is fine. (during kdesrc-build
> rocs command, only kross failed to compile)
>

Kross should be removed from KDE, so this is not a issue. The other issues
are probably non issues, I'll look at them.

Can someone please assign me some issue on which i can work on. I read the
> code of the .cpp files in libgraphtheory folder (not including the files in
> folders like qml, modifiers etc) and have understood most of it. I am
> comfortable in OOP in c++ but i have no experience in qml and GUI
> programing.
>

Let's start with something simple.

The old rocs had a lot of tools to handle graphs, and it also supported two
graphs in the same document. I want to get more of those things back (so
for instance when you generate two graphs it will not overlap.
Andreas had a different vision than I and for him having more than one
graph in the same file is strange as the concept of graph allows that two
graphs are actually one, but disjointed.

You can try to bring the node tools back, can you try to do the `Alligin
Horizontally / Vertically / Center`  tools back to rocs?

*for me* I fixed that by having a different color on the nodes.

Also what are there other communication channels except mailing list and
> IRC (kde-edu) where i can discuss rocs development. (something like a
> telegram channel).
>
> I want to work on rocs during sok-2020. Are the slots for rocs available
> and can someone please mentor me for the same. Also upto what date should i
> submit the proposal so that there is enough time for people to review it.
>
> Thanks :)
>
> On Thu, Dec 19, 2019 at 5:28 PM Andreas Cord-Landwehr <
> cordlandwehr@kde.org> wrote:
>
>> Hi, this error message very well explains what is going wrong: You are
>> missing
>> the QtQml.StateMachine QML plugin on your system and thus the whole graph
>> editor UI cannot be loaded. Note that QML plugins are only runtime
>> dependencies and thus you can only see them to be missing at runtime.
>>
>> The package that you have to install is, unfortunately, specific for your
>> distribution. For Debian & Ubuntu the missing package would be
>> "qml-module-
>> qtqml-statemachine", if you have another distro you have to check in
>> their
>> repositories.
>>
>> Cheers,
>> Andreas
>>
>> On Mittwoch, 18. Dezember 2019 10:16:51 CET Hitesh Sagtani wrote:
>> > I have uninstalled rocs in the usr/bin folder but the problem persists.
>> Can
>> > this line be the issue.
>> > qrc:/libgraphtheory/qml/Scene.qml:25 module \"QtQml.StateMachine\" is
>> not
>> > installed\n
>> >
>> > Also now when i type whereis rocs, i get  "/usr/local/bin/rocs", there
>> is
>> > no folder in usr/local/include and share. Can that be an issue.
>> >
>> > Thanks :)
>> >
>> > On Wed, Dec 18, 2019, 2:22 PM Tomaz Canabrava <tcanabrava@kde.org>
>> wrote:
>> > > Hitesh,
>> > >
>> > > It appears that you have two rocs installed, that might be the issue.
>> > > you have one installed in /usr/bin and another in /usr/local/bin
>> > >
>> > > Did you install rocs via the package manager?
>> > > Please uninstall the one in /usr/bin (that seems to be your package
>> > > manager one), if you compiled rocs and installed in those two folders,
>> > > please remove one.
>> > >
>> > > On Wed, Dec 18, 2019 at 9:45 AM Hitesh Sagtani <sagtanih@gmail.com>
>> wrote:
>> > >> I am running source prefix.sh command before running rocs.
>> > >>
>> > >> values set in prefix.sh are as follows:
>> > >> '''
>> > >> export PATH=/usr/local/bin:$PATH
>> > >>
>> > >> # LD_LIBRARY_PATH only needed if you are building without rpath
>> > >> export
>> LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
>> > >>
>> > >> export
>> > >>
>> XDG_DATA_DIRS=/usr/local/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/sh
>> > >> are/} export
>> > >> XDG_CONFIG_DIRS=/usr/local/etc/xdg:${XDG_CONFIG_DIRS:-/etc/xdg}
>> > >>
>> > >> export
>> > >>
>> QT_PLUGIN_PATH=/usr/local/lib/x86_64-linux-gnu/plugins:$QT_PLUGIN_PATH
>> > >> export
>> > >>
>> QML2_IMPORT_PATH=/usr/local/lib/x86_64-linux-gnu/qml:$QML2_IMPORT_PATH
>> > >> '''
>> > >> The output of
>> > >> which rocs: "/usr/local/bin/rocs"
>> > >> whereis rocs: "rocs: /usr/bin/rocs /usr/local/bin/rocs
>> /usr/include/rocs
>> > >> /usr/share/rocs"
>> > >>
>> > >> also when i run rocs on the terminal following output shows:
>> > >> '''
>> > >> No text-to-speech plug-ins were found.
>> > >>
>> > >> Invalid Context= "Apps" line for icon theme:
>> > >>  "/usr/share/icons/Yaru/256x256@2x/apps//usr/local/bin/rocs"
>> > >>
>> > >> Invalid Context= "Mimetypes" line for icon theme:
>> > >>  "/usr/share/icons/Yaru/256x256@2x/mimetypes/"
>> > >>
>> > >> Invalid Context= "Mimetypes" line for icon theme:
>> > >>  "/usr/share/icons/Yaru/scalable/mimetypes/"
>> > >>
>> > >> org.kde.rocs.graphtheory.general:
>> "qrc:/libgraphtheory/qml/Scene.qml:25
>> > >> module \"QtQml.StateMachine\" is not installed\n"
>> > >> '''
>> > >> is QtQml.statemachine the reason for not showing graph editor
>> toolbar and
>> > >> generating random graphs.
>> > >> Thanks :)
>>
>>
>>
>>
>>

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Dec 23, 2019 at 10:50 PM Hitesh Sagtani &lt;<a \
href="mailto:sagtanih@gmail.com">sagtanih@gmail.com</a>&gt; \
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 dir="ltr"><div \
dir="ltr"><div>Hi,</div><div>I was able to compile rocs using kdesrc-build utility \
and is now running fine.</div><div><b><br></b></div><div><b>I noticed some issues in \
rocs relating to <br></b></div><div><b>1. Nodetype and \
Edgetype<br></b></div><div>When i create 2 node types with default node type having \
more properties  than the node type created afterwards which have less number of 
properties than default node type (which was initially created)<br>The properties of \
default node type is also visible in the node type created afterwards. (node property \
names was set to visible during execution)<br></div><div>(i tried initializing \
&quot;QStringList m_dynamicProperties;&quot; to empty list in EdgeTypePrivate but \
that didn&#39;t help).<br></div></div></div></blockquote><div><br></div><div>I&#39;ll \
look at this.</div><div> <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 \
dir="ltr"><div dir="ltr"><div><b>2. graph placement and mouse \
clicks</b><br></div><div>When generating a graph it goes out of the canvas. and also \
if there is a graph on the canvas and user again generates a graph it often overlaps \
with the graph already on the \
canvas.</div></div></div></blockquote><div><br></div><div>This was supposedly fixed, \
can you show a screenshoot?</div><div> <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 dir="ltr"><div dir="ltr"><div><b>3. Graph \
document name</b></div><div>When renaming the graph document sometimes it takes 2 or \
3 click on &quot;ok&quot; button to set new name of the graph \
document.<br></div></div></div></blockquote><div><br></div><div>This seems easy to \
debug, can you try to fix?</div><div> <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 dir="ltr"><div dir="ltr"><div><b>4. some \
additional utility <br></b></div><div>Although there is option for removing all the \
edges from the graph but if the graph is big it would be convenient for the user if \
there are options to remove all the nodes or the graph \
altogether.<br></div></div><div dir="ltr"><br></div><div dir="ltr"><div>While running \
rocs i am also getting following message on the terminal:</div><div>&quot;User of \
KWidgetItemDelegate should not delete widgets created by \
createItemWidgets!&quot;</div><div>&quot;QCoreApplication::postEvent: Unexpected null \
receiver&quot;</div><div>do i need to resolve them or having them is fine. (during \
kdesrc-build rocs command, only kross failed to \
compile)</div></div></div></blockquote><div><br></div><div>Kross should be removed \
from KDE, so this is not a issue. The other issues are probably non issues, I&#39;ll \
look at them.<br></div><div> <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 dir="ltr"><div>Can someone please assign me \
some issue on which i can work on. I read the code of the .cpp files in \
libgraphtheory folder (not including the files in folders like qml, modifiers etc) \
and have understood most of it. I am comfortable in OOP in c++ but i have no \
experience in qml and GUI programing. \
<br></div></div></blockquote><div><br></div><div>Let&#39;s start with something \
simple.</div><div><br></div><div>The old rocs had a lot of tools to handle graphs, \
and it also supported two graphs in the same document. I want to get more of those \
things back (so for instance when you generate two graphs it will not \
overlap.</div><div>Andreas had a different vision than I and for him having more than \
one graph in the same file is strange as the concept of graph allows that two graphs \
are actually one, but disjointed.</div><div><br></div><div>You can try to bring the \
node tools back, can you try to do the `Alligin Horizontally / Vertically / Center`   \
tools back to rocs?<br></div><div><br></div><div>*for me* I fixed that by having a \
different color on the nodes.</div><div><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 dir="ltr"><div></div><div>Also what are there \
other communication channels except mailing list and IRC (kde-edu) where i can \
discuss rocs development. (something like a telegram \
channel).</div><div><br></div><div>I want to work on rocs during sok-2020. Are the \
slots for rocs available and can someone please mentor me for the same. Also upto \
what date should i submit the proposal so that there is enough time for people to \
review it.</div><div><br></div><div>Thanks :)<br></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 19, 2019 at 5:28 PM \
Andreas Cord-Landwehr &lt;<a href="mailto:cordlandwehr@kde.org" \
target="_blank">cordlandwehr@kde.org</a>&gt; 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">Hi, this error message very well explains what is \
going wrong: You are missing <br> the QtQml.StateMachine QML plugin on your system \
and thus the whole graph <br> editor UI cannot be loaded. Note that QML plugins are \
only runtime <br> dependencies and thus you can only see them to be missing at \
runtime.<br> <br>
The package that you have to install is, unfortunately, specific for your <br>
distribution. For Debian &amp; Ubuntu the missing package would be \
&quot;qml-module-<br> qtqml-statemachine&quot;, if you have another distro you have \
to check in their <br> repositories.<br>
<br>
Cheers,<br>
Andreas<br>
<br>
On Mittwoch, 18. Dezember 2019 10:16:51 CET Hitesh Sagtani wrote:<br>
&gt; I have uninstalled rocs in the usr/bin folder but the problem persists. Can<br>
&gt; this line be the issue.<br>
&gt; qrc:/libgraphtheory/qml/Scene.qml:25 module \&quot;QtQml.StateMachine\&quot; is \
not<br> &gt; installed\n<br>
&gt; <br>
&gt; Also now when i type whereis rocs, i get   &quot;/usr/local/bin/rocs&quot;, \
there is<br> &gt; no folder in usr/local/include and share. Can that be an issue.<br>
&gt; <br>
&gt; Thanks :)<br>
&gt; <br>
&gt; On Wed, Dec 18, 2019, 2:22 PM Tomaz Canabrava &lt;<a \
href="mailto:tcanabrava@kde.org" target="_blank">tcanabrava@kde.org</a>&gt; \
wrote:<br> &gt; &gt; Hitesh,<br>
&gt; &gt; <br>
&gt; &gt; It appears that you have two rocs installed, that might be the issue.<br>
&gt; &gt; you have one installed in /usr/bin and another in /usr/local/bin<br>
&gt; &gt; <br>
&gt; &gt; Did you install rocs via the package manager?<br>
&gt; &gt; Please uninstall the one in /usr/bin (that seems to be your package<br>
&gt; &gt; manager one), if you compiled rocs and installed in those two folders,<br>
&gt; &gt; please remove one.<br>
&gt; &gt; <br>
&gt; &gt; On Wed, Dec 18, 2019 at 9:45 AM Hitesh Sagtani &lt;<a \
href="mailto:sagtanih@gmail.com" target="_blank">sagtanih@gmail.com</a>&gt; \
wrote:<br> &gt; &gt;&gt; I am running source prefix.sh command before running \
rocs.<br> &gt; &gt;&gt; <br>
&gt; &gt;&gt; values set in prefix.sh are as follows:<br>
&gt; &gt;&gt; &#39;&#39;&#39;<br>
&gt; &gt;&gt; export PATH=/usr/local/bin:$PATH<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; # LD_LIBRARY_PATH only needed if you are building without rpath<br>
&gt; &gt;&gt; export \
LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH<br> &gt; &gt;&gt; \
<br> &gt; &gt;&gt; export<br>
&gt; &gt;&gt; XDG_DATA_DIRS=/usr/local/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/sh<br>
 &gt; &gt;&gt; are/} export<br>
&gt; &gt;&gt; XDG_CONFIG_DIRS=/usr/local/etc/xdg:${XDG_CONFIG_DIRS:-/etc/xdg}<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; export<br>
&gt; &gt;&gt; QT_PLUGIN_PATH=/usr/local/lib/x86_64-linux-gnu/plugins:$QT_PLUGIN_PATH<br>
 &gt; &gt;&gt; export<br>
&gt; &gt;&gt; QML2_IMPORT_PATH=/usr/local/lib/x86_64-linux-gnu/qml:$QML2_IMPORT_PATH<br>
 &gt; &gt;&gt; &#39;&#39;&#39;<br>
&gt; &gt;&gt; The output of<br>
&gt; &gt;&gt; which rocs: &quot;/usr/local/bin/rocs&quot;<br>
&gt; &gt;&gt; whereis rocs: &quot;rocs: /usr/bin/rocs /usr/local/bin/rocs \
/usr/include/rocs<br> &gt; &gt;&gt; /usr/share/rocs&quot;<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; also when i run rocs on the terminal following output shows:<br>
&gt; &gt;&gt; &#39;&#39;&#39;<br>
&gt; &gt;&gt; No text-to-speech plug-ins were found.<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; Invalid Context= &quot;Apps&quot; line for icon theme:<br>
&gt; &gt;&gt;   &quot;/usr/share/icons/Yaru/256x256@2x/apps//usr/local/bin/rocs&quot;<br>
 &gt; &gt;&gt; <br>
&gt; &gt;&gt; Invalid Context= &quot;Mimetypes&quot; line for icon theme:<br>
&gt; &gt;&gt;   &quot;/usr/share/icons/Yaru/256x256@2x/mimetypes/&quot;<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; Invalid Context= &quot;Mimetypes&quot; line for icon theme:<br>
&gt; &gt;&gt;   &quot;/usr/share/icons/Yaru/scalable/mimetypes/&quot;<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; org.kde.rocs.graphtheory.general: \
&quot;qrc:/libgraphtheory/qml/Scene.qml:25<br> &gt; &gt;&gt; module \
\&quot;QtQml.StateMachine\&quot; is not installed\n&quot;<br> &gt; &gt;&gt; \
&#39;&#39;&#39;<br> &gt; &gt;&gt; is QtQml.statemachine the reason for not showing \
graph editor toolbar and<br> &gt; &gt;&gt; generating random graphs.<br>
&gt; &gt;&gt; Thanks :)<br>
<br>
<br>
<br>
<br>
</blockquote></div></div>
</blockquote></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic