Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 24 13:26
    darkyne synchronize #713
  • Sep 24 07:48
    darkyne commented #704
  • Sep 24 07:45
    darkyne commented #704
  • Sep 24 07:42
    darkyne commented #704
  • Sep 23 15:31
    nrybowski commented #704
  • Sep 23 15:30
    nrybowski commented #704
  • Sep 23 14:38
    darkyne synchronize #700
  • Sep 23 09:47
    darkyne synchronize #700
  • Sep 23 07:57
    Drumor commented #708
  • Sep 23 07:57
    Drumor synchronize #708
  • Sep 23 07:57

    Drumor on patch-issue-702

    update minified file (compare)

  • Sep 23 07:54
    Drumor commented #712
  • Sep 23 07:53
    Drumor synchronize #712
  • Sep 23 07:53

    Drumor on feature_request_710

    removing too recent JS and upda… (compare)

  • Sep 23 07:24
    anthonygego commented #708
  • Sep 23 07:09
    anthonygego commented #712
  • Sep 23 06:58

    anthonygego on master

    Fix #711 - Make request case in… (compare)

  • Sep 23 06:58

    anthonygego on search-user-case-insensitive

    (compare)

  • Sep 23 06:58
    anthonygego closed #719
  • Sep 23 06:58
    anthonygego closed #711
James Robb
@jamesrobb
@GuillaumeDerval this works perfectly. Thanks for the help! Looking forward to the next release too.
James Robb
@jamesrobb

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
@jamesrobb
@anthonygego any idea how I might do this?
Benoît Legat
@blegat
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
@blegat
I have just tried with another computer and I have the same error
Benoît Legat
@blegat
I just archived the course but the old submissions are still present
How do you delete the old submissions of a course ?
nlarranagac
@larranaga
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
@blegat
@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
@amicis31
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
@shlomihod
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
@HKH515
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
@anthonygego
@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
@anthonygego
@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
@anthonygego
@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
@anthonygego
@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.
nlarranagac
@larranaga
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
@srp33
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!
tibousow
@tibousow
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
hamacekh
@hamacekh

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
@amrondonp

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 0.0.0.0 --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
@amrondonp

@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
https://www.raspberrypi.org/forums/viewtopic.php?t=65257
https://stackoverflow.com/questions/9322410/set-encoding-in-python-3-cgi-scripts

hamacekh
@hamacekh
@amrondonp Thanks a lot! Yes, i am using apache and problem was exactly as you said. Problem solved :-)
Andres Mauricio Rondon Patiño
@amrondonp
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
@mmoelle1
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
@truls
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?
Chaow Porkaew
@pchaow
Hello, Does anyone install INGInious behind reverse proxy server? I've problem about URLRewrite rule for Google authentication.
Ludovic Taffin
@Drumor
Hi guys, we are sorry for not replying on this channel. We will now focus on github's discussion tab. Feel free to contact us here : https://github.com/UCL-INGI/INGInious/discussions
dabrowskiw
@dabrowskiw
Hi everyone! I have a curious problem that I wasn't able to find anything on, so I'm trying my luck here. I have just installed Inginious on a debian 10.10 machine with apache2 following the instructions (roughly - docker and mongodb installations are slightly different on debian than on ubuntu, and I had to add www-data to the docker group, otherwise I got "Service not available" errors when submitting tasks because the web server process could not start docker images). However, I still am not able to successfully submit even the first "Getting started" task: I always get "Your submission timed out. Your score is 0.0%". /var/log/apache2/error.log only days that the job was started, and then after the timeout it says that it's killing the job. I tried increasing the timeout to 30 seconds, no dice. When I watch top after submitting the job, I can see dockerd flash up for a moment, but then it just sits there at 0% CPU until it gets killed due to timeout. I unfortunately have no experience with docker, so I have no idea where to look to find out what might be causing that. Any tips would be greatly appreciated!
dabrowskiw
@dabrowskiw
Just one quick update (no idea if this is relevant): This is what happens in /var/log/daemon.log (the dockerd log on debian) when I do the submission:
Aug 15 08:02:48 inginious-ikg dockerd[427]: time="2021-08-15T08:02:48.332563322Z" level=warning msg="Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap."
Aug 15 08:02:48 inginious-ikg systemd[1]: var-lib-docker-overlay2-8b8ad0557504b708968c89d99e8535e684d45b134cdeb90c6fef804e0dc65e1c\x2dinit-merged.mount: Succeeded.
Aug 15 08:02:48 inginious-ikg containerd[347]: time="2021-08-15T08:02:48.446994151Z" level=info msg="starting signal loop" namespace=moby path=/run/containerd/io.containerd.runtime.v2.task/moby/0c3c6eeb557ee9f3656a80ee2cc29aab3afde1fe65b4330161be3d5e47aba622 pid=1488
Aug 15 08:03:18 inginious-ikg dockerd[427]: time="2021-08-15T08:03:18.807622852Z" level=info msg="ignoring event" container=0c3c6eeb557ee9f3656a80ee2cc29aab3afde1fe65b4330161be3d5e47aba622 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 15 08:03:18 inginious-ikg containerd[347]: time="2021-08-15T08:03:18.807807045Z" level=info msg="shim disconnected" id=0c3c6eeb557ee9f3656a80ee2cc29aab3afde1fe65b4330161be3d5e47aba622
Aug 15 08:03:18 inginious-ikg containerd[347]: time="2021-08-15T08:03:18.807867082Z" level=error msg="copy shim log" error="read /proc/self/fd/12: file already closed"
Aug 15 08:03:18 inginious-ikg systemd[1]: run-docker-netns-3808aacb17ba.mount: Succeeded.
Aug 15 08:03:18 inginious-ikg systemd[1]: var-lib-docker-overlay2-8b8ad0557504b708968c89d99e8535e684d45b134cdeb90c6fef804e0dc65e1c-merged.mount: Succeeded.