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

List:       pywikipediabot-users
Subject:    Re: [pywikibot] Regarding contribution to pywikibot
From:       Tanu Hari Dixit <tokencolour () gmail ! com>
Date:       2015-10-06 8:36:10
Message-ID: CALSj5vyfO3a0do9jc84KwzxB28Z0R8QX1p+CvFfzitkGi=7giw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you Mpaa and jayvdb for your instant help.
I have installed libmysqlcppconn-dev but it hasn't solved the problem. I'm
leaving oursql uninstalled for now. Sorry for the bad font in the last
mail. Thank you so much.

On Tue, Oct 6, 2015 at 12:04 PM, Tanu Hari Dixit <tokencolour@gmail.com>
wrote:

> Thank you Mpaa and jayvdb for your instant help.
> I have installed libmysqlcppconn-dev but it hasn't solved the problem.
> I'm leaving oursql uninstalled for the now.
> Thank you so much.
> Tanu.
>
> On Tue, Oct 6, 2015 at 4:26 AM, <jayvdb@gmail.com> wrote:
>
>> You can remove oursql from requirements.txt.
>>
>> It is an optional dependency, and not frequently used.
>>
>> On Tue, 6 Oct 2015 06:05 Tanu Hari Dixit <tokencolour@gmail.com> wrote:
>>
>>> Hi Andre,
>>> Thank you for the link.
>>> I have been experiencing a lot of trouble while setting up dependencies
>>> for pywikibot.  While installing 'oursql' the terminal shows the following
>>> error:
>>> -----------------------------------------------------------
>>> mysql.h: No such file or directory
>>>      #include "mysql.h"
>>>                        ^
>>>     compilation terminated.
>>>     error: command 'gcc' failed with exit status 1
>>>
>>> --------------------------------------------------------------------
>>> This was probably because i didn't have mysql-c++ connector installed.
>>> Hence, I installed the mysql-server. It automatically installed
>>> mysql-client. Further, I downloaded the tar ball for my 64 bit ubuntu 14.04
>>> system for mysql-c++ connector. I read the INSTALL file and it directed me
>>> to download CMake and Boost. I did so and as the INSTALL file says:
>>> "Run CMake to build a Makefile
>>> me@host:/path/to/mysql-connector-cpp> cmake ."
>>> So I change directory into the untarred folder ( of mysql-c++ connector
>>> tarball ) and run the 'cmake .' command. However, my terminal shows that it
>>> can't find any CMakeLists.txt files in the folder. When I searched for a
>>> file with this name, I found that there are four of them in the 'boost'
>>> folder at different levels (such as :
>>>
>>> /home/thd/Downloads/boost_1_59_0/libs/test/test/CMakeLists.txt
>>>
>>> /home/thd/Downloads/boost_1_59_0/libs/serialization/CMake/CMakeLists.txt
>>> etc)
>>> While this link (
>>> http://dev.mysql.com/doc/connector-cpp/en/connector-cpp-installation-source.html
>>> ) suggests that I do the following:
>>>
>>> cmake . -DBOOST_ROOT:STRING=/usr/local/boost_1_40_0
>>>
>>> but I can't seem to locate a folder named boost in /usr/local. Though, I
>>> do find lots of .a and .so file with their names starting from libboost in
>>> /usr/local/lib. Though, again it has no CMakeLists.txt file in it.
>>> I'm unable to make this dependency work for me. It would be great if you
>>> helped me in configuring this. I so want to contribute to pywikibot, and
>>> learn in the process.
>>> Thank you for bearing with me.
>>> Tanu.
>>>
>>>
>>>
>>> On Thu, Sep 24, 2015 at 12:53 AM, Andre Klapper <aklapper@wikimedia.org>
>>> wrote:
>>>
>>>> Hi Tanu,
>>>>
>>>> thanks for your interest!
>>>>
>>>> On Thu, 2015-09-24 at 00:22 +0530, Tanu Hari Dixit wrote:
>>>> > I am Tanu, a third year undergraduate from Indian Institute of
>>>> > Technology, BHU, Varanasi, India. I have had prior experience
>>>> > designing a REST API in Python for which I collaborated to use
>>>> > various APIs available and Beautiful Soup as well as Flask. I want to
>>>> > contribute to pywikibot and am aiming at GSoC'16. Where should I
>>>> > start? What should I do?
>>>>
>>>> Have you checked out
>>>> https://www.mediawiki.org/wiki/Annoying_little_bugs already?
>>>> That page links to guides how to get started with development and it
>>>> also links to Pywikibot tasks suited for new contributors.
>>>>
>>>> If something is unclear, please ask. Happy to help! :)
>>>>
>>>> Cheers,
>>>> andre
>>>> --
>>>> Andre Klapper | Wikimedia Bugwrangler
>>>> http://blogs.gnome.org/aklapper/
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> pywikibot mailing list
>>>> pywikibot@lists.wikimedia.org
>>>> https://lists.wikimedia.org/mailman/listinfo/pywikibot
>>>>
>>>
>>> _______________________________________________
>>> pywikibot mailing list
>>> pywikibot@lists.wikimedia.org
>>> https://lists.wikimedia.org/mailman/listinfo/pywikibot
>>>
>>
>> _______________________________________________
>> pywikibot mailing list
>> pywikibot@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/pywikibot
>>
>>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><span style="font-family:monospace,monospace">Thank you \
Mpaa and jayvdb for your instant help.<br></span></div><span \
style="font-family:monospace,monospace">I have installed<code> libmysqlcppconn-dev \
but it hasn&#39;t solved the problem. I&#39;m leaving oursql uninstalled for now. \
Sorry for the bad font in the last mail. Thank you so much.</code></span><span \
style="font-family:arial,helvetica,sans-serif"><code><font \
face="arial,helvetica,sans-serif"><span class=""><font \
color="#888888"><br></font></span></font></code></span></div></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 12:04 PM, \
Tanu Hari Dixit <span dir="ltr">&lt;<a href="mailto:tokencolour@gmail.com" \
target="_blank">tokencolour@gmail.com</a>&gt;</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>Thank you Mpaa and jayvdb for \
your instant help.<br></div>I have installed <span \
style="font-family:arial,helvetica,sans-serif"><code>libmysqlcppconn-dev<font \
face="arial,helvetica,sans-serif"> but it hasn&#39;t solved the problem</font>.<span \
style="font-family:arial,helvetica,sans-serif"> I&#39;m leaving oursql \
uninstalled</span><font face="arial,helvetica,sans-serif"> for the \
now.<br></font></code></span></div><span \
style="font-family:arial,helvetica,sans-serif"><code><font \
face="arial,helvetica,sans-serif">Thank you so much.<span class="HOEnZb"><font \
color="#888888"><br></font></span></font></code></span></div><span \
class="HOEnZb"><font color="#888888"><span \
style="font-family:arial,helvetica,sans-serif"><code><font \
face="arial,helvetica,sans-serif">Tanu.<br></font></code></span></font></span></div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">On Tue, Oct 6, 2015 at 4:26 AM,  <span dir="ltr">&lt;<a \
href="mailto:jayvdb@gmail.com" target="_blank">jayvdb@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><p dir="ltr">You can remove oursql from \
requirements.txt.</p> <p dir="ltr">It is an optional dependency, and not frequently \
used.</p><div><div> <br><div class="gmail_quote"><div dir="ltr">On Tue, 6 Oct 2015 \
06:05  Tanu Hari Dixit &lt;<a href="mailto:tokencolour@gmail.com" \
target="_blank">tokencolour@gmail.com</a>&gt; 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><div><div><div><div><div><div>Hi \
Andre,<br></div>Thank you for the link. <br></div>I have been experiencing a lot of \
trouble while setting up dependencies for pywikibot.   While installing \
&#39;oursql&#39; the terminal shows the following \
error:<br>-----------------------------------------------------------<br><span \
style="color:rgb(153,0,255)">mysql.h: No such file or directory<br>         #include \
&quot;mysql.h&quot;<br>                                             ^<br>       \
compilation terminated.<br>       error: command &#39;gcc&#39; failed with exit \
status 1</span><br><br>--------------------------------------------------------------------<br></div>This \
was probably because i didn&#39;t have mysql-c++ connector installed. Hence, I \
installed the mysql-server. It automatically installed mysql-client. Further, I \
downloaded the tar ball for my 64 bit ubuntu 14.04 system for mysql-c++ connector. I \
read the INSTALL file and it directed me to download CMake and Boost. I did so and as \
the INSTALL file says:<br>&quot;Run CMake to build a \
Makefile<br>me@host:/path/to/mysql-connector-cpp&gt; cmake .&quot;<br></div>So I \
change directory into the untarred folder ( of mysql-c++ connector tarball ) and run \
the &#39;cmake .&#39; command. However, my terminal shows that it can&#39;t find any \
CMakeLists.txt files in the folder. When I searched for a file with this name, I \
found that there are four of them in the &#39;boost&#39; folder at different levels \
(such as :<br>                                                                        \
/home/thd/Downloads/boost_1_59_0/libs/test/test/CMakeLists.txt<br>                    \
/home/thd/Downloads/boost_1_59_0/libs/serialization/CMake/CMakeLists.txt \
etc)<br></div>While this link ( <a \
href="http://dev.mysql.com/doc/connector-cpp/en/connector-cpp-installation-source.html" \
target="_blank">http://dev.mysql.com/doc/connector-cpp/en/connector-cpp-installation-source.html</a> \
) suggests that I do the following:<br><pre><span \
style="color:rgb(153,0,255)"><span><code>cmake . \
-DBOOST_ROOT:STRING=/usr/local/boost_1_40_0<br><br></code></span></span></pre><font \
color="#000000"><code></code></font>but I can&#39;t seem to locate a folder named \
boost in /usr/local. Though, I do find lots of .a and .so file with their names \
starting from libboost in /usr/local/lib. Though, again it has no CMakeLists.txt file \
in it. <br>I&#39;m unable to make this dependency work for me. It would be great if \
you helped me in configuring this. I so want to contribute to pywikibot, and learn in \
the process.<br></div>Thank you for bearing with me.<br></div></div><div \
dir="ltr">Tanu.</div><div \
dir="ltr"><br><div><div><div><div><div><div><br><div><div><div><div><div \
class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 12:53 AM, \
Andre Klapper <span dir="ltr">&lt;<a href="mailto:aklapper@wikimedia.org" \
target="_blank">aklapper@wikimedia.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Hi Tanu,<br> <br>
thanks for your interest!<br>
<span><br>
On Thu, 2015-09-24 at 00:22 +0530, Tanu Hari Dixit wrote:<br>
&gt; I am Tanu, a third year undergraduate from Indian Institute of<br>
&gt; Technology, BHU, Varanasi, India. I have had prior experience<br>
&gt; designing a REST API in Python for which I collaborated to use<br>
&gt; various APIs available and Beautiful Soup as well as Flask. I want to<br>
&gt; contribute to pywikibot and am aiming at GSoC&#39;16. Where should I<br>
&gt; start? What should I do?<br>
<br>
</span>Have you checked out<br>
<a href="https://www.mediawiki.org/wiki/Annoying_little_bugs" rel="noreferrer" \
target="_blank">https://www.mediawiki.org/wiki/Annoying_little_bugs</a> already?<br> \
That page links to guides how to get started with development and it<br> also links \
to Pywikibot tasks suited for new contributors.<br> <br>
If something is unclear, please ask. Happy to help! :)<br>
<br>
Cheers,<br>
andre<br>
<span><font color="#888888">--<br>
Andre Klapper | Wikimedia Bugwrangler<br>
<a href="http://blogs.gnome.org/aklapper/" rel="noreferrer" \
target="_blank">http://blogs.gnome.org/aklapper/</a><br> <br>
<br>
<br>
_______________________________________________<br>
pywikibot mailing list<br>
<a href="mailto:pywikibot@lists.wikimedia.org" \
target="_blank">pywikibot@lists.wikimedia.org</a><br> <a \
href="https://lists.wikimedia.org/mailman/listinfo/pywikibot" rel="noreferrer" \
target="_blank">https://lists.wikimedia.org/mailman/listinfo/pywikibot</a><br> \
</font></span></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div></div>
 _______________________________________________<br>
pywikibot mailing list<br>
<a href="mailto:pywikibot@lists.wikimedia.org" \
target="_blank">pywikibot@lists.wikimedia.org</a><br> <a \
href="https://lists.wikimedia.org/mailman/listinfo/pywikibot" rel="noreferrer" \
target="_blank">https://lists.wikimedia.org/mailman/listinfo/pywikibot</a><br> \
</blockquote></div> </div></div><br>_______________________________________________<br>
 pywikibot mailing list<br>
<a href="mailto:pywikibot@lists.wikimedia.org" \
target="_blank">pywikibot@lists.wikimedia.org</a><br> <a \
href="https://lists.wikimedia.org/mailman/listinfo/pywikibot" rel="noreferrer" \
target="_blank">https://lists.wikimedia.org/mailman/listinfo/pywikibot</a><br> \
<br></blockquote></div><br></div> </div></div></blockquote></div><br></div>


[Attachment #6 (text/plain)]

_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot


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

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