----BEGIN CLASS---- [13:29] #startclass [13:29] skat_sd: :) [13:29] skat_sd: :) [13:29] Roll Call [13:29] Rahul Bhattacharjee [13:29] Abhishek Singh [13:29] Deepak Chethan [13:29] <_Richard_> Mayank gupta [13:29] Mohit [13:29] Priyanka Sharma [13:29] Pradhvan Bisht [13:30] Saikat Dey [13:30] Atul kumar [13:30] Sakshi Saraswat [13:30] Robin Schubert [13:30] Abhinav Shirur [13:30] Ashwani Kumar Gupta [13:30] pavan yejare [13:30] Samridhi Agarwal [13:30] kumar vipin yadav [13:30] Anu kumari Gupta [13:30] Rhitik Bhatt [13:30] Chiranjeev Gupta [13:30] Harsh Shah [13:30] Ranjeet kumar [13:30] Akshay Gaikwad [13:30] Santosh Kumar Shaw [13:30] Himanshu Awasthi [13:30] Ravindra Lakal [13:30] neha kandpal [13:30] Avik Mukherjee [13:30] Soumam Banerjee [13:30] Messi Fc [13:31] murli manohar [13:31] Arush [13:31] Onyinye Madubuko [13:31] Roll Call: Nikita Kotak [13:32] Abhishek Das [13:32] Jason Braganza [13:32] Balaji [13:32] priyansh [13:32] Akash pathak [13:32] yurii pylypchuk [13:32] I have mentioned two packages in the topic of the channel, please install those two. [13:32] Gaurav Sitlani [13:33] Roll Call: Kshitij [13:35] Ganesh Nomula [13:35] Shashank Shekhar [13:35] Gaurav Sitlani [13:36] Bhavin Gandhi [13:36] Suraj Ghimire [13:36] done [13:37] Kshithij Iyer [13:38] Mohsin Mumtaz [13:38] devendra bhat [13:38] Atul Krishna [13:38] ! [13:38] done [13:38] sayan, done. [13:38] done [13:38] next [13:39] next [13:39] oops [13:39] next [13:39] yurii, anyway, ask [13:39] ! [13:40] i have problem with instalation [13:40] i will fpaste in moment [13:41] Shivam Singhal [13:41] Roll call: Shankar Jha [13:41] ! [13:41] Amol [13:42] Done [13:42] Done [13:42] Done [13:42] next [13:42] can you please check " sudo pip install docutils "? [13:43] soumam007_, Install the packages from your system package. [13:43] dnf or apt-get [13:43] next [13:43] apt-get [13:43] Are these Python 2.X packages ? [13:44] ! [13:44] ahole[m], Yes, that is why I typed python- [13:44] next [13:44] sudo apt-get install docutils?kushal [13:45] ! [13:45] soumam007, I guess sphinx has dependency on docutils. So first install sphinx [13:45] i have this result https://paste.fedoraproject.org/paste/8rsWjZvua8j0rcqBwVY3Kw [13:46] I should install using pip or pip3 ? What we will be using in the session ? [13:46] yurii, checking [13:46] Roll call: Vamsi Krishna. [13:46] Cyber_freak, Use dnf [13:46] Cyber_freak, type `which pip` and tell the result. [13:48] rahuldecoded : I install using pip [13:48] Cyber_freak, who told you to use pip? [13:49] yurii, the package must be python-sphinx [13:49] next [13:49] I installed python-docutils using apt get and the output is this: https://pastebin.com/33ugSDeA Does it means its installed correctly? [13:50] im_mohsin, Seems like you already had python-docutils [13:50] im_mohsin, you already have the package [13:50] im_mohsin: Yes [13:50] bhavin192, ashwanig, cran-cg_ ubuntu has it by default? [13:51] im_mohsin, I am on ubuntu but I had to install it [13:51] ashwanig, bhavin192 cran-cg_ Thank you :) [13:51] im_mohsin: you already had package ! Package manager ran update only [13:51] Cyber_freak: [19:15] <@kushal> soumam007_, Install the packages from your system package. [19:15] <@kushal> dnf or apt-get [13:52] ikshitij, Thanks [13:52] Roll Call : Deepika Upadhyay [13:52] okay doing that cran-cg_ [13:52] ! [13:53] next [13:53] how can i check if it has downloaded properly? [13:53] soumam007_, apt-get command should tell you that. [13:53] soumam007, You never used apt-get before? [13:53] ! [13:53] is it ok this result ----https://paste.fedoraproject.org/paste/KUy3YiAPU6Rb5TTKnjQYJg [13:53] yes used but its saying error at the last line [13:54] though it gave downloading %tages [13:54] https://paste.fedoraproject.org/paste/X2C4NdEZwgkoRSEWITSl7w [13:54] soumam007_, what is %tages? [13:55] ashwanig, i meant percentages sorry for inconvenience [13:55] soumam007: try apt-cache policy python-docutils [13:56] ! [13:56] yurii, Did it actually installed? [13:56] sandeepK, its done :) thanks [13:56] next [13:56] What would be the difference if we install via pip or system package? [13:56] next [13:56] soumam007: welcome [13:57] While installing python 2 packages while using python 3 is it necessary to always have python- in command line? [13:57] soumam007_: By the way copy 'error or error code' and Google ! It will help you and you will get the reason also. [13:57] Phi_mb, system package means it will be installed system-wide, and that is supposed to be well tested along with the other packages in the distribution. We never told anything about pip to people here, so some people are just trying to act smart. [13:58] NikitaK3, you have to give the right package name. [13:58] kushal: Agreed! it was really quick in fedora. And I even got time to update my pip and install pandas for my Data mining class tomorrow,. [13:58] NikitaK3, Which distribution are you using? [13:58] yurii: https://askubuntu.com/questions/829370/n-ignoring-file-50unattended-upgrades-ucf-dist-in-directory-etc-apt-apt-con [13:58] yurii, https://askubuntu.com/questions/882251/apt-get-update-errors-50unattended-upgrades-ucf-dist [13:58] ikshitij, thanks i will :) [13:58] skat_sd: ;) [13:58] kushal: Ok, got it. [13:59] Anyone still waiting for the install? [13:59] kushal, Ubuntu 16.04 [13:59] yes [13:59] yes [14:00] cran-cg, :) [14:00] ! [14:01] next [14:01] Is there any difference between sudo dnf install and sudo dnf -y install ? I searched but could not find it. [14:01] NikitaK3, search by using "apt-cache search docutils" [14:01] and see what are the actual package names. [14:01] anuGupta, try it once [14:01] anuGupta, you don't need to confirm with Yes with -y [14:02] anuGupta, Yes, if you provide -y, then you don't have to type yes :) [14:02] anuGupta, -y basically means you are already saying yes to download [14:03] Yes I did sudo dnf install but it gave failed to synchronize repo updates whereas sudo dnf -y install perfectly installedl [14:03] on Ubuntu this should work: "sudo apt-get install python-docutils python-sphinx" [14:04] Thanks everyone :) [14:04] kushal, okay thank you [14:05] anuGupta, Sometimes it may fail [14:05] anuGupta, also see this: https://ask.fedoraproject.org/en/question/88086/error-failed-to-synchronize-cache-for-repo-fedora/ [14:06] Oh [14:07] ! [14:07] next [14:08] I tried installing python-docutils on ubuntu 16.04 and got this error https://pastebin.com/7MTduTS2 [14:10] mdbk, You are installing something else in another terminal? [14:10] mdbk you have processes running which are already installing some software..just finish it and retry installing [14:10] Okay [14:11] next [14:12] mdbk, reboot your machine [14:12] Now, every start following https://dgplug.org/irclogs/2012/rst-primer/ if you are done, type done here, if you have any queries feel to raise your hand. [14:13] bhavin192: Alright [14:17] is there a session [14:18] yes [14:19] ! [14:19] yurii, we are instructed to read https://dgplug.org/irclogs/2012/rst-primer/ for now [14:19] vishami3 --thanks [14:19] next [14:20] I can't understand the comments slide. Comments start with .. right? [14:20] [14:20] yes [14:20] those are different ways to write comments [14:20] which will not be rendered into HTML [14:21] ! [14:21] next [14:21] ! [14:21] next [14:21] I did not understand doctest blocks. [14:22] please can you elaborate? [14:22] Why is rst important? when we already have markdown? [14:22] gauravsitlani, skip that, we are yet to do Python. [14:22] jiteshpabla, because it has way more things to do proper technical documentations. [14:23] ! [14:23] jiteshpabla, and we will learn more about why in the coming weeks. [14:23] next [14:23] kushal, section title are centered. can we change it? [14:23] im_mohsin, Yes, you will have to pass CSS to the command [14:24] im_mohsin, search about it, I never did it [14:24] oh okay. so after we convert that to html and we can design more with css. Thanks [14:24] jiteshpabla, At least one thing we will learn at the end today. [14:27] looks like the man pages :) [14:28] next [14:28] soumam007, hehe [14:29] ! [14:29] ! [14:30] ! [14:32] There is a small error in the document: it says "1. item 1 text" but if you write like "1. item 1 pizza" the output comes like "1. item 1 pizza" instead it should be "1. text" and so the output will be "1. pizza"... [14:32] [14:32] next [14:33] Some section titles are smaller than sub section title. Why? [14:33] ashwanig, paste the .rst file please [14:34] ahole[m], "1. item 1 pizza" should show 1. item 1 pizza [14:34] ! [14:35] next [14:35] where we will be using it? [14:35] lucifer, what rst? In documentation, and also in code in Python. [14:35] ! [14:35] next [14:35] kushal, for ordered list shows a error for me "Bullet list ends without a blank line" [14:35] lucifer, and some other fancy place [14:35] sorry [14:35] kushal, I made a mistake. Sorry for that. [14:36] im_mohsin, Correct, if you read it again, it is telling you to give a blank line :) [14:36] next [14:36] next [14:36] kushal, got this error https://pastebin.com/brYsv0yU [14:36] sandeepK, show the actual command and full error message and also paste the file somewhere [14:37] kushal, ok wait [14:39] kushal, https://pastebin.com/c86hE85c [14:40] ! [14:40] sandeepK, You have space in front in line 28-29 there on the paste [14:40] ! [14:40] remove those [14:40] next [14:40] Cannot understand lists and literal blocks slides [14:41] ashwanig, literal blocks just shows you whatever you wrote. [14:41] ashwanig, lists are lists of items. [14:41] next [14:41] I can not understand what is the use of footnotes? [14:42] ! [14:43] samridhia, Have you seen footnotes in books or research papers? [14:44] kushal, now got this "test.rst:9: (ERROR/3) Unexpected indentation." [14:44] no! actually i don't know what footnotes are? [14:44] I will google it [14:44] sandeepK, means you have wrong indentation on that line [14:45] samridhia, https://eng244.files.wordpress.com/2012/11/footnote1.jpg [14:45] next [14:45] i do not know how and where to execute option list commands. [14:46] kushal, got it. [14:46] mrlmachine, you don't, just an example. [14:46] next [14:47] mrlmachine, i guess like in you write only ¨git¨ there in the terminal you get a lot of option ; similar type [14:48] soumam007: thanks. got it [14:48] done [14:48] done [14:49] done [14:49] done [14:50] done [14:50] done [14:51] ! [14:51] next [14:52] soumam007, mrlmachine here you are only displaying the content, nothing is executed [14:52] The doctest block should give me an output without the print statement ? [14:52] done [14:53] I am ending the session now. [14:53] I will send out more instructions over mail. [14:53] #endsession [14:53] done ----END CLASS----