Skip to content

Instantly share code, notes, and snippets.

View natea's full-sized avatar

Nate Aune natea

View GitHub Profile
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<div id="wharf">
<iframe src="https://staging-avl.appsembler.com/isc/newdeploy/" style="visibility: hidden" width="0" height="0"></iframe>
<p>When you click the button below, a new REPLACE-THIS-WITH-PROJECT-FRIENDLY-NAME site will be started for you.</p>
<input type="button" value="Launch REPLACE-THIS-WITH-PROJECT-FRIENDLY-NAME site" style="margin-bottom: 20px;"> </div>
<script>
(function() {
var $wharf = $('#wharf'),
$launch_button = $wharf.find('input');
$launch_button.click(function() {
root@b0a1874e3acc:/edx/app/edxapp/edx-platform# /edx/bin/edxapp-migrate-lms figures --settings=devstack_docker
Traceback (most recent call last):
File "manage.py", line 121, in <module>
execute_from_command_line([sys.argv[0]] + django_args)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
"add-forum-admin",
"add-forum-community-TA",
"add-forum-mod",
"add-instructor",
"add-or-remove-user-group",
"book",
"delete-student-module-state",
"dump-answer-dist-csv",
"dump-graded-assignments-config",
"dump-grades",
-bash-4.1# bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.0.jar grep input output 'dfs[a-z.]+'
16/10/25 17:07:32 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
java.net.ConnectException: Call From 3a452aa05d49/172.24.0.4 to 3a452aa05d49:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:792)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:732)
at org.apache.hadoop.ipc.Client.call(Client.java:1480)

Keybase proof

I hereby claim:

  • I am natea on github.
  • I am natea (https://keybase.io/natea) on keybase.
  • I have a public key ASDsDzjTuDziP-o5VX1Ve5ruPyAQyLS56HbR3jX5j6oJrgo

To claim this, I am signing this object:

Command failed: /usr/local/bin/docker-machine -D start default,Docker Machine Version: 0.7.0, build a650a40,Found binary path at /usr/local/bin/docker-machine,Launching plugin server for driver virtualbox,Plugin server listening at address 127.0.0.1:49246,() Calling .GetVersion,Using API Version 1,() Calling .SetConfigRaw,() Calling .GetMachineName,command=start machine=default,(default) Calling .GetState,(default) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo default --machinereadable,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | name="default",(default) DBG | groups="/",(default) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)",(default) DBG | UUID="d0412f0c-9ed4-4666-afa4-94832005cf4f",(default) DBG | CfgFile="/Users/nateaune/.docker/machine/machines/default/default/default.vbox",(default) DBG | SnapFldr="/Users/nateaune/.docker/machine/machines/default/default/Snapshots",(default) DBG | LogFldr="/Users/nateaune/.docker/machine/machines/default/default/Logs",(default) DBG | hardwareuuid="d04
TASK: [rbenv | install ruby {{ edxapp_ruby_version }}] ************************
failed: [localhost] => {"changed": true, "cmd": "rbenv install 1.9.3-p374", "delta": "0:01:21.411520", "end": "2015-10-14 21:11:06.675532", "rc": 1, "start": "2015-10-14 21:09:45.264012", "warnings": []}
stderr: Downloading yaml-0.1.6.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
Installing yaml-0.1.6...
Installed yaml-0.1.6 to /edx/app/edxapp/.rbenv/versions/1.9.3-p374
Downloading ruby-1.9.3-p374.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574
Installing ruby-1.9.3-p374...
vagrant@precise64:/edx/app/edxapp/edx-platform$ paver devstack lms
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=devstack preprocess_assets
xmodule_assets common/static/xmodule
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
Preview the translation on a particular site: take URL and append ?preview-lang=LC
e.g. learning.nyif.com?preview-lang=zh-cn (for chinese)
Wrap all custom text in:
${_("text")}
Handle links:
2015-09-22 13:36:48,424 INFO 20505 [luigi-interface] worker.py:267 - Scheduled ImportEnrollmentsIntoMysql(source=('hdfs://localhost:9000/data/',), expand_interval=2 days, 0:00:00, pattern=('.*tracking.log.*',), warehouse_path=hdfs://localhost:9000/edx-analytics-pipeline/warehouse/, interval=None) (PENDING)
2015-09-22 13:36:48,427 INFO 20505 [luigi-interface] worker.py:267 - Scheduled EnrollmentDailyTask(source=('hdfs://localhost:9000/data/',), expand_interval=2 days, 0:00:00, pattern=('.*tracking.log.*',), database=reports, credentials=/edx/etc/edx-analytics-pipeline/output.json, warehouse_path=hdfs://localhost:9000/edx-analytics-pipeline/warehouse/, overwrite=True, hive_overwrite=False, interval=2013-11-01-2015-09-23) (PENDING)
2015-09-22 13:36:52,524 INFO 20505 [luigi-interface] worker.py:267 - Scheduled ImportAuthUserProfileTask(overwrite=False, destination=hdfs://localhost:9000/edx-analytics-pipeline/warehouse/, credentials=/edx/etc/edx-analytics-pipeline/input.json, import_date=None) (PENDING)
2015-09-22