tag:blogger.com,1999:blog-9007601562606157016.post3014439025016785571..comments2023-05-11T16:21:37.725+01:00Comments on <Stuff about="code" />: Minecraft - QR CodesMartin O'Hanlonhttp://www.blogger.com/profile/03047799173301971515noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-9007601562606157016.post-45405473500591516272015-04-20T21:48:50.834+01:002015-04-20T21:48:50.834+01:00I think its because you have saved your program as...I think its because you have saved your program as qrcode.py, python is getting confused because you are trying to import a module which is also called qrcode...<br /><br />You should save you program as something else and delete the qrcode.py and qrcode.pyc files.Martin O'Hanlonhttps://www.blogger.com/profile/03047799173301971515noreply@blogger.comtag:blogger.com,1999:blog-9007601562606157016.post-46896766302069355082015-04-20T21:13:18.977+01:002015-04-20T21:13:18.977+01:00Hi Martin,
I've written the code exactly as a...Hi Martin,<br /><br />I've written the code exactly as above, but keep getting the error:<br /><br />Traceback (most recent call last):<br /> File "/home/pi/qrcode.py", line 1, in <br /> from qrcode import *<br /> File "/home/pi/qrcode.py", line 14, in <br /> qrMatrix = getQR("Minecraft is Awesome!")<br /> File "/home/pi/qrcode.py", line 6, in getQR<br /> qr = QRCode(version=1, error_correction=ERROR_CORRECT_L, border=1)<br />NameError: global name 'QRCode' is not defined<br /><br />Any idea why? Anonymoushttps://www.blogger.com/profile/09137697536795766507noreply@blogger.comtag:blogger.com,1999:blog-9007601562606157016.post-84966847272091136992014-12-24T09:16:49.557+00:002014-12-24T09:16:49.557+00:00Thanks a lot Stephen. Of course you have my permi...Thanks a lot Stephen. Of course you have my permission, its very nice of you to ask. <br /><br />I originally thought Dougie Lawson was being sarcastic, such is my generally positive view of people and their attitudes, clearly wrong this time though!<br /><br />Perhaps Dougie should be asking for your attribution?Martin O'Hanlonhttps://www.blogger.com/profile/03047799173301971515noreply@blogger.comtag:blogger.com,1999:blog-9007601562606157016.post-19619454449388515562014-12-23T21:36:00.646+00:002014-12-23T21:36:00.646+00:00Hi Martin, I love what you've done with this.....Hi Martin, I love what you've done with this...permission to use this in schools?<br /><br />Also, I too have received the 'copyright infringement' message from Dougie Lawson. I have since sent him proof of my work making QR Codes in Minecraft from over two years ago as well as a video showcasing that work and published in mid 2013. What disturbs and disappoints me most is the method in which he has chosen to challenge us. Commenting directly onto a blog post can be damaging and shake the trust of our readers. I asked him kindly to send a mail or make a phone call should he require any more contact.<br /><br />Should you yourself require the evidence of my work in this area, going back two years, please just ask. Since your work is inspired by my work and while my permission is not necessary, please be assured you have my full permission and support.<br /><br />Stephen Reid - ImmersiveMindAnonymoushttps://www.blogger.com/profile/04429792367956070441noreply@blogger.comtag:blogger.com,1999:blog-9007601562606157016.post-18675879948796061582014-12-22T18:14:38.155+00:002014-12-22T18:14:38.155+00:00Like I say not new or original. A very different i...Like I say not new or original. A very different implementation from the one in the magpi tho.Martin O'Hanlonhttps://www.blogger.com/profile/03047799173301971515noreply@blogger.comtag:blogger.com,1999:blog-9007601562606157016.post-70627712555183724632014-12-22T10:14:34.007+00:002014-12-22T10:14:34.007+00:00You appear to have infringed my copyright without ...You appear to have infringed my copyright without giving proper attribution.<br /><br />Please see http://www.themagpi.com/issue/issue-27/ based on code I wrote in August 2014.Dougie Lawsonhttps://www.blogger.com/profile/17896394406742250421noreply@blogger.com