[00:51:51] <NelleV>  hello erich_
 [00:51:54]  #markus: mode change '-o NelleV' by NelleV!~Nelle@unaffiliated/nellev
 [00:52:37] <NelleV>  erich_: so I've never deployed markus in prod. The one thing that could go wrong is the login system
 [00:52:53] <NelleV>  erich_: have you made sure the login script is configured properly ?
 [00:53:03] <NelleV>  I think it is done through a bash script
 [01:05:16] <erich_>  I've left the login script untouched
 [01:05:28] <erich_>  so, it exits with 0 for any login used
 [01:05:55] <NelleV>  ok, so that's not the problem
 [01:06:06] <NelleV>  do you have any logging information ?
 [01:06:16] <erich_>  I'm thinking that mongrel_cluster might be part of the issue
 [01:06:16] <NelleV>  that's very strange: it's the first time I hear about such a thing
 [01:06:33] <NelleV>  (btw, you are in the "wrong" timezone for most markus developpers :) )
 [01:07:01] <erich_>  oh, well, i'll just stay up extra late
 [01:08:22] <erich_>  right now, i'm running it with "RAILS_ENV=production bundle exec script/server"
 [01:08:24] <NelleV>  which timezone are you ine ?
 [01:08:35] <erich_>  Los Angeles, CA
 [01:08:37] <NelleV>  seattle's ?
 [01:08:43] <erich_>  yup, same one
 [01:08:48] <NelleV>  oh, yeah, so you are 3 hours ahead on the Toronto one
 [01:08:58] <NelleV>  I'm in europe, so +9 from yours
 [01:09:04] <erich_>  some distance
 [01:09:17] <NelleV>  let me checkout the documentation
 [01:09:32] <erich_>  running with script/server removed the redirection problem
 [01:09:34] <NelleV>  Benjamin_V would be more suited than me to answer deployment questions
 [01:09:39] <erich_>  but i'm still not able to log in
 [01:10:10] <NelleV>  do you have any logging information ?
 [01:10:30] <NelleV>  and just to make sure: you are running the stable version and not the master version from github ?
 [01:10:36] <erich_>  stable
 [01:10:44] <erich_>  which log would you like?
 [01:11:16] <NelleV>  all of them, just to see what's going on
 [01:11:47] <erich_>  well, info_production.log gives me
 [01:11:50] <erich_>  I, [2012-08-25 05:05:43 #17893] INFO -- : User 'thingy' logged in.
 [01:11:52] <erich_>  I, [2012-08-25 05:08:24 #17893] INFO -- : User 'thing' logged in.
 [01:12:01] <erich_>  so, that appears to be ok
 [01:12:27] <NelleV>  mmh, interesting...
 [01:12:59] <erich_>  but, i stay on the login prompt with 'Login failed'
 [01:13:54] <NelleV>  sorry, I have no idea what's going on
 [01:14:08] <NelleV>  you should maybe send an email on the mailing list
 [01:14:23] <NelleV>  I'd have to chime in the code to help you, which I don't have time right now (I'm at a conference)
 [01:14:45] <erich_>  ok. i can paste much more log info in an email
 [01:15:15] <erich_>  one thing that concerns me greatly, is that mongrel reports of a deprecation
 [01:15:37] <NelleV>  mmh, that wouldn't be so surprising
 [01:16:05] <NelleV>  we're currently doing a lot of upgrades in our dependencies in the code, and we're behind the rails schedule
 [01:16:14] <erich_>  is there a specific version of gems that I should be using?
 [01:16:35] <NelleV>  the one specified in the gemfiles, so you shouldn't have to bother about that
 [01:16:37] <erich_>  or maybe an older rails?
 [01:16:40] <NelleV>  it should be using the correct one
 [01:16:46] <NelleV>  which rails are you running the code on ?
 [01:17:38] <erich_>  depends
 [01:17:47] <erich_>  markus@ip-10-244-34-146:~/markus-0.11.0$ rails --version
 [01:17:48] <erich_>  Rails 3.2.8
 [01:17:50] <erich_>  markus@ip-10-244-34-146:~/markus-0.11.0$ RAILS_ENV=production bundle exec rails --version
 [01:17:51] <erich_>  Rails 2.3.10
 [01:18:06] <NelleV>  it wouldn't work on rails 3.2, so you must be running on 2.3
 [01:18:11] <NelleV>  sounds good to me...
 [01:18:34] <NelleV>  (it should also bespecified in the gemfile so you shouldn't have trouble with that)
 [01:20:52] <erich_>  I do get some problem in the mongrel logs:
 [01:20:55] <erich_>  Sat Aug 25 05:22:03 +0000 2012: Error calling Dispatcher.dispatch #<NoMethodError: You have a nil object when you didn't expect it!
 [01:20:57] <erich_>  You might have expected an instance of ActiveRecord::Base.
 [01:20:58] <erich_>  The error occurred while evaluating nil.[]>
 [01:21:00] <erich_>  /home/markus/markus-0.11.0/vendor/bundle/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/cgi.rb:108:in `send_cookies'
 [01:21:01] <erich_>  /home/markus/markus-0.11.0/vendor/bundle/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/cgi.rb:136:in `out'
 [01:21:25] <NelleV>  oh, ok so the problem must come from there
 [01:21:35] <NelleV>  I've never used mongrel_cluster
 [01:21:57] <erich_>  I can use something, else. i'm not particular
 [01:22:18] <erich_>  shall i just say: "bundle exec mongrel start" ?
 [01:22:59] <NelleV>  I think it is best to use passenger
 [01:23:17] <erich_>  ok, i'll read up on configuring it
 [01:23:23] <NelleV>  I've never deployed markus for production, so I'm really not the best person to give you advice
 [01:23:26] <NelleV>  https://github.com/MarkUsProject/Markus/wiki/ApachePassenger
 [01:25:20]  tobioboye (~drone@CPE00222d6f257f-CM00222d6f257b.cpe.net.cable.rogers.com) joined #markus.
 [01:25:21]  #markus: mode change '+o tobioboye' by ChanServ!ChanServ@services.
 [01:25:51] <erich_>  I'm running a compiler class starting at the end of Sept
 [01:26:08] <erich_>  and wanted to have some place where students could submit their projects for testing
 [01:26:18] <erich_>  before actually turning them in
 [01:27:14] <NelleV>  tobioboye: hey
 [01:27:21] <NelleV>  tobioboye: have you ever deployed markus in production ?
 [01:27:28] <NelleV>  tobioboye: I guess Allan does it at UofT
 [01:29:17] <tobioboye>  hey NelleV no I haven't yeah Allan does it (&if I'm right)
 [01:29:38] <tobioboye>  NelleV: why do you ask :)
 [01:30:03] <NelleV>  tobioboye: erich_ is having problem with mongrel
 [01:30:12] <NelleV>  I've never tackled these things
 [01:30:19] <tobioboye>  yikes
 [01:30:25] <erich_>  I'm evaluating using MarkUs for my compiler class
 [01:30:32] <NelleV>  my guess is that severin and Benjamin_V are the best person to ask, but it's still very early in our timezone
 [01:30:41] <tobioboye>  I haven't tried deploying in production
 [01:31:14] <erich_>  actually, now that you guys are here: I would like to know
 [01:31:25] <erich_>  is it possible for students to submit their own test cases?
 [01:31:43] <erich_>  and for those to be collected, and auto-run on everyone's code?
 [01:31:58] <erich_>  baiscally, just pool all test cases
 [01:32:10] <NelleV>  no, not yet
 [01:32:21] <NelleV>  we're working on such a feature, but it's not production ready yet
 [01:32:29] <NelleV>  erich_: what programming language is this ?
 [01:32:33] <NelleV>  C/C++ ?
 [01:32:43] <erich_>  Students will be creating their stuff in Java
 [01:33:23] <NelleV>  so the problem with that is that you have to sandbox everything in order not to run unsecure code on your computer
 [01:33:36] <erich_>  in the past we've done end-to-end testing. That is each test case consists of an input text and output text files.
 [01:33:43] <NelleV>  we have a script that allows graders to clone all the repositories at once
 [01:33:53] <NelleV>  but nothing goes beyond that yet
 [01:34:04] <erich_>  yeah, i'm running on an ec2 instance, so i'm not that worried about security
 [01:34:28] <NelleV>  we are working on a test framework that will allow to build the code in a sandbox and run tests against it, but as I said, it's not production ready yet
 [01:34:39] <erich_>  hmm
 [01:34:41] <NelleV>  we'll have a student working on that fulltime next term in fact :)
 [01:35:09] <erich_>  cool
 [01:35:53] <erich_>  right now, the testing is only with ant ?
 [01:36:28] <NelleV>  yep, we're using ant for that
 [01:37:40] <erich_>  So it seems that, although MarkUs is the closest thing to what I want, some of the features won't be available in time for my class
 [01:38:48] <NelleV>  sorry :(
 [01:39:07] <NelleV>  but I'm happy to see people are hearing about markus around the world
 [01:39:42] <erich_>  I found it through google
 [01:40:21] <erich_>  actually, it was the only one i was able to find
 [01:41:21] <NelleV>  Professors at UofT started the projects because nothing was existing yet
 [01:41:44] <NelleV>  they spend a lot of time testing and understanding the requirements they needed for markus to be widely used
 [01:41:52] <erich_>  It's definitely worth having
 [01:41:53] <NelleV>  I think this is one of the key success to markus :)
 [01:42:24] <erich_>  I wanted this: http://cogitolingua.com/autograder.html
 [01:43:37] <NelleV>  interesting... I don't know this project
 [01:43:45] <NelleV>  it's definitely worth checking out
 [01:44:02] <erich_>  Well, i only wrote that spec up last week
 [01:44:09] <erich_>  so, the project doesn't exist
 [01:44:15] <NelleV>  oh
 [01:44:37] <erich_>  i went browsing around after i knew what i wanted, and came across MarkUs
 [01:44:44] <erich_>  it was pretty close to what I wanted
 [01:45:06] <NelleV>  well, hopefully the student working on it full time will manage to fix the little things that we are not happy about
 [01:45:19] <NelleV>  it's mostly a question of displaying results now
 [01:45:25] <erich_>  And with a UI i would never match (because I'm not a webdev, and wouldn't put in the time)
 [01:45:36] <NelleV>  the core part of the code is done and working
 [01:48:43] <erich_>  if you were to add the ability to run a Java program, and record it's output...
 [01:49:00] <erich_>  students are liable to put in infinite loops
 [01:49:09] <erich_>  that create quite much output in very little time
 [01:50:43] <NelleV>  it's noted
 [01:54:59] <erich_>  well, i have passenger going, but there must be something wrong with my virtual host config, because it just lists the files in the markus directory
 [01:55:43] <NelleV>  I need to go for breakfast
 [01:55:51] <NelleV>  my recommendation would be to send an email on the mailing list
 [01:55:57] <NelleV>  it's where the deployment gurus are
 [01:56:15] <NelleV>  or come here a bit later (/in the morning for you)
 [01:56:23] <erich_>  alright, the information i got here was pretty useful already
 [01:56:26] <erich_>  thank you much
 [01:57:06]  tobioboye (~drone@CPE00222d6f257f-CM00222d6f257b.cpe.net.cable.rogers.com) left irc: Quit: tobioboye
 [01:57:34] <NelleV>  you're welcome
 [02:06:17]  erich_ (~erich@pv132036.reshsg.uci.edu) left irc: Quit: Konversation terminated!
 [13:29:31]  tobioboye (~drone@CPE00222d6f257f-CM00222d6f257b.cpe.net.cable.rogers.com) joined #markus.
 [13:29:32]  #markus: mode change '+o tobioboye' by ChanServ!ChanServ@services.
 [13:31:34]  tobioboye (~drone@CPE00222d6f257f-CM00222d6f257b.cpe.net.cable.rogers.com) left irc: Client Quit
 [13:33:28]  tobioboye (~drone@CPE00222d6f257f-CM00222d6f257b.cpe.net.cable.rogers.com) joined #markus.
 [13:33:39]  #markus: mode change '+o tobioboye' by ChanServ!ChanServ@services.
 [13:39:34]  Nick change: m_conley_away -> m_conley
 [13:41:56]  tobioboye (~drone@CPE00222d6f257f-CM00222d6f257b.cpe.net.cable.rogers.com) left irc: Ping timeout: 272 seconds
 [14:38:57]  tobioboye (~drone@CPE00222d6f257f-CM00222d6f257b.cpe.net.cable.rogers.com) joined #markus.
 [14:45:05]  tobioboye (~drone@CPE00222d6f257f-CM00222d6f257b.cpe.net.cable.rogers.com) left irc: Ping timeout: 245 seconds
 [15:37:52]  Nick change: m_conley -> m_conley_away