<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Trick or Trivia Halloween Candy Dispenser #002 - Building The Trivia Interface</title><link>/products/raspberry-pi/raspberrypi_projects/b/blog/posts/trick-or-trivia-halloween-candy-dispenser-002---building-the-trivia-interface</link><description>Hello everyone! It’s been a week and I have been working hard at designing and writing the trivia interface for this project, and I am proud to say that after an absence of more than five years from Python, I was successful in getting a decent ...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Trick or Trivia Halloween Candy Dispenser #002 - Building The Trivia Interface</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/trick-or-trivia-halloween-candy-dispenser-002---building-the-trivia-interface</link><pubDate>Sun, 25 Oct 2015 03:54:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a6fd2b76-2a59-446e-a9f4-60271ec22603</guid><dc:creator>cmelement14</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Charles,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;First of all, thank you very much for this great series of blogs. I am following this blog, but a few things came up:&lt;/p&gt;&lt;p&gt;1. GPIO.setup(26, GPIO.OUT) statement failed if I don&amp;#39;t start Python with root privilege. I have to start Python interpreter using &lt;em&gt;&lt;strong&gt;sudo python&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;2. If I started python in privilege, root=Tk() statement would fail. Therefore, I cannot successfully run the whole TrickorTriviaQuiz.py with or without privileged Python interpreter.&lt;/p&gt;&lt;p&gt;3. The command run quiz program should not be &lt;span&gt;&lt;strong&gt;sudo nano TrickorTrivia.py&lt;/strong&gt;&lt;/span&gt;&lt;span&gt;, instead, it should be &lt;strong&gt;python TrickorTriviaQuiz.py&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;I have to mention that I am doing things a little bit different. Since I don&amp;#39;t have keyboard to connect Pi directly, so I am using VNC remote desktop. Could this be the reason giving me troubles?&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=461&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Trick or Trivia Halloween Candy Dispenser #002 - Building The Trivia Interface</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/trick-or-trivia-halloween-candy-dispenser-002---building-the-trivia-interface</link><pubDate>Tue, 15 Sep 2015 18:53:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a6fd2b76-2a59-446e-a9f4-60271ec22603</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Very interesting Blog.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I like the 7 inch display and your UI for the trivia questions.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Nice simple and clean design.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=461&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>