Giter Club home page Giter Club logo

Comments (8)

Michcioperz avatar Michcioperz commented on August 20, 2024

There's an upcoming change that we hope to merge today that removes task archive's dependency on the global portal https://gerrit.sio2project.mimuw.edu.pl/#/c/3235/

from oioioi.

nixenos avatar nixenos commented on August 20, 2024

That's great, can't wait to see this in mainline

from oioioi.

j4b6ski avatar j4b6ski commented on August 20, 2024

The change still needs some work and will not be merged today. For now you can enable oioioi.portals in settings.py to work around the issue.

from oioioi.

nixenos avatar nixenos commented on August 20, 2024

Ok, I can access problemset but when I try to add a test package I get following error:

HTTP/500: [Errno 2] No such file or directory: 'touch' Traceback (most recent call last): File "/home/nixen/sio2/venv/local/lib/python2.7/site-packages/filetracker/servers/base.py", line 43, in __call__ return handler(environ, start_response) File "/home/nixen/sio2/venv/local/lib/python2.7/site-packages/filetracker/servers/files.py", line 77, in handle_PUT logical_size=logical_size) File "/home/nixen/sio2/venv/local/lib/python2.7/site-packages/filetracker/servers/storage.py", line 217, in store lutime(link_path, version) File "/home/nixen/sio2/venv/local/lib/python2.7/site-packages/filetracker/servers/storage.py", line 485, in lutime if subprocess.call(['touch', '-c', '-h', '-d', t, path]) != 0: File "/home/nixen/sio2/venv/local/lib/python2.7/site-packages/gevent/subprocess.py", line 240, in call with Popen(*popenargs, **kwargs) as p: File "/home/nixen/sio2/venv/local/lib/python2.7/site-packages/gevent/subprocess.py", line 635, in __init__ reraise(*exc_info) File "/home/nixen/sio2/venv/local/lib/python2.7/site-packages/gevent/subprocess.py", line 604, in __init__ restore_signals, start_new_session) File "/home/nixen/sio2/venv/local/lib/python2.7/site-packages/gevent/subprocess.py", line 1429, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory: 'touch'

I'm running with venv activated.

from oioioi.

Michcioperz avatar Michcioperz commented on August 20, 2024

I find your environment questionable. What operating system/distribution are you running?

from oioioi.

nixenos avatar nixenos commented on August 20, 2024

It's ubuntu 16.04 (VPS) with all updates done.

from oioioi.

Michcioperz avatar Michcioperz commented on August 20, 2024

If you'd like to get help troubleshooting this, I'd suggest switching to a more immediate form of communication such as IRC: http://webchat.freenode.net/?channels=%23sio2project

from oioioi.

Wolf480pl avatar Wolf480pl commented on August 20, 2024

Anyway, what is the result of running the following commands inside and outside of your venv?

  • echo $PATH
  • which touch
  • touch test.txt

(It'd still be more convenient if you could hop on IRC, then we could troubleshoot more interactively)

from oioioi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.