Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,824 members, 7,820,901 topics. Date: Wednesday, 08 May 2024 at 01:12 AM

Build A JAMB Result Checking Website To Win 150,000 Naira - Programming (6) - Nairaland

Nairaland Forum / Science/Technology / Programming / Build A JAMB Result Checking Website To Win 150,000 Naira (63411 Views)

President Buhari Voice Recognition Program - Contest For 50,000 Naira / Build A Mobile App Without Knowing Any Programming Language or line of code. / Convert Existing Website To Phone App? (2) (3) (4)

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) ... (12) (Reply) (Go Down)

Re: Build A JAMB Result Checking Website To Win 150,000 Naira by techytom(m): 4:22pm On Apr 02, 2012
@seun, thanks, Its good to know that I'm on point. I just checked out Mercurial. I'm checking how o work between the two code versioning systems.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Fayimora(m): 4:58pm On Apr 02, 2012
@Seun is it legal to help a contestant by submitting issues?
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Fayimora(m): 5:01pm On Apr 02, 2012
techytom: @seun, thanks, Its good to know that I'm on point. I just checked out Mercurial. I'm checking how o work between the two code versioning systems.
Mercurial is an easy switch if you use something as complex as git. Just use the same commands but replace git with hg. For instance, instead of `git commit -m "my brief commit message"` you would use `hg commit -m "my brief commit message"`. Beware, it doesn't work that way in more complex cases!

1 Like

Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 5:22pm On Apr 02, 2012
Fayimora: @Seun is it legal to help a contestant by submitting issues?
Yes. As long as you don't submit code or provide assistance with solutions to issues raised.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 8:50pm On Apr 02, 2012
One of the contestants encountered this error with CherryPy and Python3.2:
http://python.6.n6.nabble.com/CherryPy-3-2-2-No-module-named-Cookie-td4335625.html
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by techytom(m): 9:25pm On Apr 02, 2012
Seun: One of the contestants encountered this error with CherryPy and Python3.2:
http://python.6.n6.nabble.com/CherryPy-3-2-2-No-module-named-Cookie-td4335625.html
I have no Idea, I started cherrypy two nights ago, but I'll look into it
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by doncigalo: 9:58pm On Apr 02, 2012
@techytom Is there a way you could host ur app online so that those of us dat dont have a python enabled enviroment can have a look. smiley

1 Like

Re: Build A JAMB Result Checking Website To Win 150,000 Naira by DARA1234: 10:01pm On Apr 02, 2012
Seun-----KUDOS
I am impressed.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by pystar: 10:06pm On Apr 02, 2012
if you are having issues as pointed out by seun with running python 3.2.3 with cherrypy 3.2.2, do this to resolve the tracebacks

on a Unix box
1. sudo apt-get install libssl0.9.8
2. sudo apt-get install libssl-dev
3. Go to your downloaded unzipped Python directory
and do this:
./configure
make
make altinstall (Please note: Do not do "make install" as this would mess up your default python installation especially on Ubuntu machines)

After that, you can import cherrypy within Python3.2.3 without getting tracebacks.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 10:45pm On Apr 02, 2012
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by techytom(m): 12:49am On Apr 03, 2012
doncigalo: @techytom Is there a way you could host ur app online so that those of us dat dont have a python enabled enviroment can have a look. smiley
I'll check for a way to host the app online @pystar, @seun, any ideas??
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by techytom(m): 12:50am On Apr 03, 2012
Fayimora:
Mercurial is an easy switch if you use something as complex as git. Just use the same commands but replace git with hg. For instance, instead of `git commit -m "my brief commit message"` you would use `hg commit -m "my brief commit message"`. Beware, it doesn't work that way in more complex cases!
Code Finally Up On mercurial...
it is still http://code.google.com/p/emergency-jamb-result-checker/
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by pystar: 1:48am On Apr 03, 2012
you can try Google app engine, its free

1 Like

Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 1:57am On Apr 03, 2012
@techytom: I love fast learners. Kudos. Please commit to mercurial frequently, and push regularly.

How do I install Jinja? Can't figure it out.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Fayimora(m): 1:59am On Apr 03, 2012
Seun: @techytom: I love fast learners. Kudos. Please commit to mercurial frequently, and push regularly.

How do I install Jinja? Can't figure it out.
http://jinja.pocoo.org/docs/intro/#installation
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 2:03am On Apr 03, 2012
Thanks. How did you install yours?
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 3:36am On Apr 03, 2012
File "c:\program files\Py3\lib\site-packages\pymysql3-0.5-py3.2.egg\pymysql\cursors.py", line 112, in execute
result = self._query(query)
File "c:\program files\Py3\lib\site-packages\pymysql3-0.5-py3.2.egg\pymysql\cursors.py", line 230, in _query
conn.query(q)
File "c:\program files\Py3\lib\site-packages\pymysql3-0.5-py3.2.egg\pymysql\connections.py", line 607, in query
self._affected_rows = self._read_query_result()
File "c:\program files\Py3\lib\site-packages\pymysql3-0.5-py3.2.egg\pymysql\connections.py", line 691, in _read_query_result
result.read()
File "c:\program files\Py3\lib\site-packages\pymysql3-0.5-py3.2.egg\pymysql\connections.py", line 869, in read
self.first_packet = self.connection.read_packet()
File "c:\program files\Py3\lib\site-packages\pymysql3-0.5-py3.2.egg\pymysql\connections.py", line 686, in read_packet
packet.check_error()
File "c:\program files\Py3\lib\site-packages\pymysql3-0.5-py3.2.egg\pymysql\connections.py", line 328, in check_error
raise_mysql_exception(self.__data)
File "c:\program files\Py3\lib\site-packages\pymysql3-0.5-py3.2.egg\pymysql\err.py", line 142, in raise_mysql_exception
_check_mysql_exception(errinfo)
File "c:\program files\Py3\lib\site-packages\pymysql3-0.5-py3.2.egg\pymysql\err.py", line 135, in _check_mysql_exception
raise errorclass(errno,errorvalue)
ymysql.err.ProgrammingError: (1146, "Table 'orchard.results' doesn't exist"wink
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 3:44am On Apr 03, 2012
Please switch to MySQL Connector/Python and abandon PyMySQL. It has certain bugs.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Bertbert: 6:01am On Apr 03, 2012
;DPoster a nice one there,now those who are not familiar with programming just open an email for JAMB using at yahoo.com and u stand a chance of winning 150 naira from me.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by techytom(m): 7:22am On Apr 03, 2012
Seun: Thanks. How did you install yours?
I downloaded and extracted the tarball, Then installed distributehttp://pypi.python.org/pypi/distribute
then easy_install Jinja2==dev
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 8:51am On Apr 03, 2012
@techytom: Nice. Did you see the stack trace I posted? Your db.sql file has 2 candidates tables and no results table.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by techytom(m): 9:19am On Apr 03, 2012
Seun: Please switch to MySQL Connector/Python and abandon PyMySQL. It has certain bugs.
Thanks, I've performed the switch
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by techytom(m): 9:28am On Apr 03, 2012
Seun: @techytom: Nice. Did you see the stack trace I posted? Your db.sql file has 2 candidates tables and no results table.
Thanks for obserivng, I'll fix that make a commit
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by sarutobi: 10:54am On Apr 03, 2012
i'd love to participate, but why should i learn a language that relies heavily on code indentation. Python is cool but not cool enough. I should be able to do this with Java JSP in 3days or less.

But kudos to seun for this.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 11:00am On Apr 03, 2012
You need 3 tables:
- Students.
- Subjects.
- SubjectScores. primary key (student_key, subject_key, year), column score.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Seun(m): 11:34am On Apr 03, 2012
sarutobi: i'd love to participate, but why should I learn a language that relies heavily on code indentation? Python is cool but not cool enough.
Read Why Python? By Eric Raymond. That's the article that convinced me to learn Python.
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by maclatunji: 11:59am On Apr 03, 2012
I am not a programmer but I do think that if you are going to organise a competition, people should know who the 'other judges' are apart from you Seun. It is a nice idea!
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by Yorisb: 12:11pm On Apr 03, 2012
maclatunji: I am not a programmer but I do think that if you are going to organise a competition, people should know who the 'other judges' are apart from you Seun. It is a nice idea!

He who pays the piper calls the tune. NO?
Re: Build A JAMB Result Checking Website To Win 150,000 Naira by emsquare(m): 12:22pm On Apr 03, 2012
dcodesmith: Good Idea! What if we all make it a joint effort? Use github as our code repo n build it for fun and make it open source. We could have UI/UX, Javascript, Python guys n they can focus on those aspect of the site. I also agree with laidbacks points abt hardware n so on.

Nyc!

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) ... (12) (Reply)

Meet Dare Obasanjo Who Works With Microsoft / The Greatest Programmer On Nairaland / Funny Programming Memes. Just For Laughs

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 29
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.