Hi, Is this still the definitive way of deleting courses in EDX Studio?
https://openedx.atlassian.net/wiki/display/PLAT/How+to+Delete+a+Course also seems to suggest CLI commands. It seems a bit weird that you can create courses via the EDX Web UI - but you can't delete them, and need to run arcane CLI on the server itself to delete them... I just setup an EDX instance for my wife to play around with and she was completely stumped on how to delete courses, and Google pointed me here. Does anybody know if we added proper functionality to delete courses in EDX Studio yet since 2014? Regards, Victor On Wednesday, 5 February 2014 08:27:10 UTC+8, Sean Murray wrote: > > Does "University" in this case equate to the "Organization"? > > So for instance, if this is the what the settings & details page looks > like: > > > <https://s3.amazonaws.com/f.cl.ly/items/1B2x2S252i150z2o2T1D/Screen%20Shot%202014-02-04%20at%204.03.45%20PM.png> > > *THEN:* > > My command should look like the following:* rake cms:delete_course > LOC=NA/T1/2014_T1 COMMIT=commit* > > When I run this, I get the following error (...which may be an environment > issue?) > > > ./bin/rake cms:delete_course LOC=NA/T1/2014_T1 COMMIT=commit >> >> ./manage.py cms --settings dev delete_course --traceback NA/T1/2014_T1 >>> commit >> >> Traceback (most recent call last): >> >> File "./manage.py", line 90, in <module> >> >> startup = importlib.import_module(edx_args.startup) >> >> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in >>> import_module >> >> __import__(name) >> >> File "/edx/app/edxapp/edx-platform/cms/startup.py", line 4, in <module> >> >> from django.conf import settings >> >> ImportError: No module named django.conf >> >> rake aborted! >> >> Command failed with status (1): [./manage.py cms --settings dev >>> delete_cour...] >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block >>> in create_shell_runner' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in >>> `sh' >> >> /edx/app/edxapp/edx-platform/rakelib/django.rake:92:in `block (2 levels) >>> in <top (required)>' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:246:in `call' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in >>> execute' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:241:in `each' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in >>> invoke_with_call_chain' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:177:in >>> `invoke_with_call_chain' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/application.rb:143:in >>> `invoke_task' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/application.rb:101:in >>> `block (2 levels) in top_level' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/application.rb:101:in >>> `each' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/application.rb:101:in >>> `block in top_level' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/application.rb:110:in >>> `run_with_threads' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/application.rb:95:in >>> `top_level' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/application.rb:73:in >>> `block in run' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/application.rb:160:in >>> `standard_exception_handling' >> >> /edx/app/edxapp/.gem/gems/rake-10.0.4/lib/rake/application.rb:70:in `run' >> >> Tasks: TOP => cms:delete_course >> >> (See full trace by running task with --trace) >> >> > > > Thanks for the halp! > > > > On Wednesday, July 24, 2013 4:56:48 AM UTC-7, Florian D. wrote: >> >> Le lundi 22 juillet 2013 13:50:58 UTC+2, Patrick Shan a écrit : >> >>> By the way, I use 'edx' as the <University> part in the command. This is >>> the whole command: >>> >>> root@online:/opt/wwc/edx-platform# rake cms:delete_course >>> LOC=edx/8390/edx-platform COMMIT=commit >>> >>> I used edx-configuration to install the whole edx-platform on an ec2 >>> instance. Is the University part right ? >>> >> >> Of you're unsure, just log into Studio, choose the course you want to >> delete, Settings -> Schedule & Details : University, Course Number and >> Course Name will be displayed. >> >> Then you just have to type 'rake cms:delete_course >> LOC=UNIVERSITY/COURSENUMBER/COURSENAME'. >> > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/bafd88ac-10a7-4692-b7a8-0db911b512a2%40googlegroups.com.