Giter Site home page Giter Site logo

moodle-sync's People

Contributors

anilshanbhag avatar manishearth avatar sksavant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

moodle-sync's Issues

Uploaded Folders

Some teachers upload stuff in folders-- basically, clicking on the folder gets you to a directory tree structure, with all the files listed. Currently, these are just ignored--maybe these can be downloaded as well, preserving the structure?

I'll probably look into this myself, along with Kamal.

Interface and terminal cleanup

Few issues:

  • Interface still says "Syncing..." even when sync completes
  • Terminal displays "No Login button" a lot
  • Terminal displays password on login

Not too earth-shattering, but I can't fix them now, so I'll post them here in the interim.

Non-Blocking UI

Currently UI hangs when request sent as it is single threaded.
To remove this thread try firing the requests on another thread ?

urlopen error [Errno 111] Connection refused

On running python gui.py I get the following error.

Trying to load credentials from past
Loading Main Frame
Traceback (most recent call last):
File "gui.py", line 210, in
form = AppForm()
File "gui.py", line 16, in__init__
self.create_main_frame()
File "gui.py", line 96, in create_main_frame
self.sync_handler = Sync(self.u,self.p)
File "/home/savant/Moodle-Sync/main.py", line 17, in init
self.login()
File "/home/savant/Moodle-Sync/main.py", line 20, in login
self.br.open("http://moodle.iitb.ac.in")
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 203, in open
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 230, in _mech_open
File "build/bdist.linux-i686/egg/mechanize/_opener.py", line 193, in open
File "build/bdist.linux-i686/egg/mechanize/_urllib2_fork.py", line 344, in _open
File "build/bdist.linux-i686/egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
File "build/bdist.linux-i686/egg/mechanize/_urllib2_fork.py", line 1142, in http_open
File "build/bdist.linux-i686/egg/mechanize/_urllib2_fork.py", line 1118, in do_open
urllib2.URLError: <urlopen error [Errno 111] Connection refused>

@anilshanbhag

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.