<div dir="ltr"><div><div><div>As far as I can tell using Spyder, testdataobjects.py makes it into client=kst.Client("TestPlugins") as far as <br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<p style="margin:0px;text-indent:0px"> <span style="font-family:courier new,monospace">36: <a href="http://self.ls">self.ls</a>=QtNetwork.QLocalSocket()</span></p></blockquote><br></div>in pykst.py, and then dies without an error message - or at least one I know how to find with my limited knowledge of Python.<br>
<br></div>I've tried importing from both PyQt4 and PySide with the same results. I didn't have Kst running since I thought the Client class would start it for me.<br><br></div><div>Any suggestions?<br><br></div>
<div>
Thank-you<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 9:34 PM, Kevin Burr <span dir="ltr"><<a href="mailto:kburr@kylowave.com" target="_blank">kburr@kylowave.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div> Everything built fine. When I try testdataobjects.py Python dies, but I need to see if it is problem with my environment and try out your changes to the scripts before I can say it is really a problem.<br>
<br></div> I am using WinPython because it contains all the necessary math packages and will be easy to install when I pass this on to other people. It shouldn't be any different from installing all the pieces manually, but you never know.<br>
<br></div>Thank-you!<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 11:57 AM, Barth Netterfield <span dir="ltr"><<a href="mailto:netterfield@astro.utoronto.ca" target="_blank">netterfield@astro.utoronto.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry for the slow reply...<div><br></div><div>It is only in git. as far as I know, it is not packaged.</div>
<div><br></div><div><div>To get pykst working:</div><div>Install python 2 (>~2.7)</div><div>install numpy and scipy</div>
<div>install pyside or PyQt4</div><div><br></div><div>If you use PyQt4, then you need to edit pyKst/pykst.py to comment out the line</div><div><br></div><div> from PySide import QtCore, QtNetwork</div><div><br></div><div>
and uncomment the line</div><div><br></div><div> from PyQt4 import QtCore, QtNetwork<br></div><div><br></div><div>(I use PySide but both should be just fine).</div><div><br></div><div>Then you need to copy pykst.py to the python directory (in ubuntu, it is /usr/lib/python2.7).</div>
<div><br></div><div>Then it should "just work".</div><div><br></div><div>In pyKst/demo are some files, some of which work. You might try testdataobjects.py</div><div><br></div><div>Documentation is available in pyKst/html. But you have to build it. If you have the correct packages installed (and I don't remember what they are) then "make html" will create pyKst/html/_build/html/index.html.</div>
<div><br></div><div>This stuff is definitely alpha (which means some stuff might work... but might break... and might change... and might not match the documentation.) But I would really appreciate real world testing and am definitely open to suggestions on how to make the API better!</div>
</div><div><br></div><div>also: I'm developing in linux, and have no idea how to get python running in windows, or how to install packages in OsX or windows, or how to do almost anything in OsX or windows. It might be really easy. But everything here refers to linux....<br>
<div><br></div></div><div>cbn</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Jul 15, 2014 at 11:35 AM, Kevin Burr <span dir="ltr"><<a href="mailto:kburr@kylowave.com" target="_blank">kburr@kylowave.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div>Hi,<br><br></div> In the CMake GUI I turned on kst_python, kst_python_build but left kst_python_prefix blank, hoping cmake would use some sort of default path (I did try giving it a path but it make no difference to the error)<br>
<br></div> When I did a configure I received this error:<br><span style="color:rgb(255,0,0)"> CMake Error at CMakeLists.txt:362 (add_subdirectory):<br></span><span style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)"> </span>The source directory<br>
<br> </span><span style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)"> </span>E:/Work/kst/pyKst<br><br> </span><span style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)"> </span>does not contain a CMakeLists.txt file.<br>
</span><br></div> The pyKst directory doesn't contain a cmake file, but the cmake/pyKst directory does. <br><br> Is there something obvious I have done wrong?<br><br><br></div>Thank-you<br></div>
<br></div></div>_______________________________________________<br>
Kst mailing list<br>
<a href="mailto:Kst@kde.org" target="_blank">Kst@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kst" target="_blank">https://mail.kde.org/mailman/listinfo/kst</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)">C. Barth Netterfield<br>
University of Toronto<br>
<a href="tel:416-845-0946" value="+14168450946" target="_blank">416-845-0946</a></span><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)"><br></span></div>
</font></span></div>
<br>_______________________________________________<br>
Kst mailing list<br>
<a href="mailto:Kst@kde.org" target="_blank">Kst@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kst" target="_blank">https://mail.kde.org/mailman/listinfo/kst</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>