Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Sep 12 19:23
    AugustH synchronize #423
  • Sep 12 13:36
    kimmens opened #433
  • Sep 12 07:40
    GuillaumeDerval opened #432
  • Sep 12 07:39

    GuillaumeDerval on fix_undefined

    Fix possible undefined var Fix 500 error when a non-fatal … Remove mutable arg and 1 more (compare)

  • Sep 12 07:08

    GuillaumeDerval on master

    Fix typos (compare)

  • Sep 12 06:40

    GuillaumeDerval on master

    Fix regression introduced in 6c… (compare)

  • Sep 11 20:02
    AugustH commented #424
  • Sep 11 19:58
    AugustH synchronize #424
  • Sep 11 18:38
    GuillaumeDerval commented #397
  • Sep 11 18:19
    GuillaumeDerval commented #397
  • Sep 11 17:50
    GuillaumeDerval opened #431
  • Sep 11 17:49
    GuillaumeDerval closed #430
  • Sep 11 17:49

    GuillaumeDerval on improve_submission_js_handling

    Refactor submission reloading. … (compare)

  • Sep 11 17:47

    GuillaumeDerval on master

    Fix regression introduced by 1f… (compare)

  • Sep 11 06:29
    GuillaumeDerval edited #430
  • Sep 11 06:29
    GuillaumeDerval edited #430
  • Sep 11 06:26

    anthonygego on master

    Attempt to fix a Docutils warni… (compare)

  • Sep 11 06:26
    anthonygego closed #417
  • Sep 10 13:41
    anthonygego commented #430
  • Sep 10 13:35
    anthonygego closed #392
James Robb
@GuillaumeDerval this works perfectly. Thanks for the help! Looking forward to the next release too.
James Robb

I'd like to automate some testing for my deployment of INGInious. In particular, we had the system crash last year during a class where lots of students were using the system at the same time .

I can pull the submissions out of the mongo database, but I am wondering if there is some sort of API call (or something similar) that I can make against INGInious to run these submissions. My idea is to use some testing software to keep asking INGInious to run these various submissions to see where and how things broke down.

Any idea @GuillaumeDerval how I can do this?

James Robb
@anthonygego any idea how I might do this?
Benoît Legat
I have got the error
ssh_exchange_identification: read: Connection reset by peer
when trying to do the ssh debugging
It was working last year, any idea what changed ?
Benoît Legat
I have just tried with another computer and I have the same error
Benoît Legat
I just archived the course but the old submissions are still present
How do you delete the old submissions of a course ?
Hi, I recently added ssl certificates to my lighttpd server which is hosting INGInious, however I can't seem to make them work with INGInious itself, any idea of what I might be missing?
Benoît Legat
@anthonygego Have you modified the mpi container ? I get "mpi.h: No such file or directory" now when I do "#include <mpi.h>" :(
Juan David Valencia
Hi, when creating a task in superadmin, It goes to edit task. The problem is that you can't delete the task without saving first, and also you can't upload a image also without saving the tasks.
My question is, do you plan to create a "create task" component or there is a way to avoid this bug?
And in v0.4, we write a possible solution that creates a tasks with a file with a default configuration for this task. So that the application is not broken when the user tries to delete a task that wasn't save
Shlomi Hod
Collecting git+https://github.com/UCL-INGI/INGInious.git
  Cloning https://github.com/UCL-INGI/INGInious.git to /tmp/pip-req-build-bn7e7jp7
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-bn7e7jp7/setup.py", line 85, in <module>
        long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
      File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 637: ordinal not in range(128)
When i'm running:
pip3.5 install --upgrade git+https://github.com/UCL-INGI/INGInious.git
any idea?
Hannes Kristján Hannesson
I'm a colleague of @jamesrobb , and was wondering if either of you, @GuillaumeDerval and @anthonygego have looked our latest problem, we are looking to re-submit submission in a chronological order and by timestamps, is there some API available for this? or would we need to implement a plugin?
Anthony Gégo
@jamesrobb We used to have a tool to perform task tests and ensure that the result will remain the same. It's still available in the v0.4 branch. However, those were removed with the introduction of tags and were planned to be re-integrated directly in the frontend instead of requiring to run it with a local INGInious install.
@blegat You need to be on the UCL network to access the inginious.info.ucl.ac.be instance via ssh, whatever the port is...
Anthony Gégo
@larranaga do you get any error from lighttpd or anything else concerning the certificates ? There should not be any particular setup relative to INGInious
@blegat Concerning the mpi container, If I remember well the mpi binairies and librairies were not included in the PATH by default anymore
@amicis31 Indeed, the task edit page was historically designed such that it would create the file if it does not exist. I'll put an issue about that on Github to remember to look at, because there may have been a reason for making such a choice...
Anthony Gégo
@shlomihod I'm wondering what it tries to use the ascii codecand not the utf-8 one. The issue should come from there. Does it work simply by removing the README file ?
Anthony Gégo
@HKH515 As MongoDB ids are incremental and are typically returned sorted this way after a request, there is a high probability that replaying a set of selected submissions should be performed in a chronological order. I don't exactly know your needs, maybe writing a plugin should be more convenient.
hi @anthonygego we moved to apache as its support is better, however we are experiencing some odd behaviors from the server, mainly that on each connection the whole inginious-webapp restarts, making it really slow. Any Ideas of what might be wrong? here's a pastebin with our configuration https://pastebin.com/tDiudya6
Stephen Piccolo
I was cleaning some things up and prematurely unregistered a student from one of my courses. Is there any way to re-register this student and get her code submissions back? Thanks!
hello, i am a beginner of inginious and would like to understand the operation of the system.
currently i am in the deployment phase of the inginious aplication.
I am stuck at the level of the agent-docker. there is an error.
"Task unavailable on agent"
can someone give me an idea of ​​the path to use at the "run" level of the container
what is the difference between the two errors: "Task unavailable on agent" et "'/task/run' could not be found" ? i need help

hello, i have trouble with accessing student submissions from single task. Specifically it is page /admin/6m/submissions?user=studentname&task=posloupnost-max-rust . Page says "internal server error". Log says:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 22233: ordinal not in range(128), referer: https://inginious.hamiweb.cz/admin/6m/task/posloupnost-max-rust

This error occours with every student on any task even if they dont have any submissions for the task yet. I can download submissions without problem, i just cannot view them. I am on the latest 0.5 inginious. Should i open new issue? I just wanted to make sure here i am not doing something stupid.

Andres Mauricio Rondon Patiño

Hello @hamacekh are you using apache?

I am seeing UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 22233: ordinal not in range(128) which prevents a plugin from being loaded. This DOES NOT HAPPEN on the development version. i.e. I stop the apache service and run inginious in debug mode (inginious-webap --host --port 80) and the issue does not happen and the plugin is loaded correctly

I haven't found any solution yet but I think it is related to apache and python integration because it does not happen on development mode (not using apache).

Andres Mauricio Rondon Patiño

@hamacekh I have found the error, I don't know if it would work for your case but I might be worth a look.

What happened is that for some reason we had and environment variable called LANG set to C (ascii) default encoding for apache. The solution is simply to eliminate it so that it will use default setting form the OS.

If you don't have that variable you might need to set it to the encoding you want or edit the locales of your server

On CentOS they are located on /etc/sysconfig/http
On Ubuntu they are located on /etc/apache2/envvars

Here are some useful links that explain the issue

@amrondonp Thanks a lot! Yes, i am using apache and problem was exactly as you said. Problem solved :-)
Andres Mauricio Rondon Patiño
Hello everyone. We have deployed a production version of INGInious on our university, we have separated the agents from the web app. However, the inginious-backend process is using 1.1GB of memory. Is it expected for this process to be using so much ram?
Matthias Möller
Hello everyone. I am using INGInious as web-based code development and testing system in a C++ programming course that is currently running at our university (also see UCL-INGI/INGInious#371). Is there a way to set a default value for multiple choice questions?
Truls Asheim
I'm getting "'/task/run' could not be found" when trying to submit to the first tutorial task. Any quick ideas as to what the problem might be?