[edx-code] Move open edx to a another server

2016-12-13 Thread Levani Melikishvili
Right now I'm using Azure to host my open edx installation but in near 
future I'll probably have to move it to a in-house server. What is the best 
way to move entire edx installation to another server? Is that possible at 
all?

-- 
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/ba0557ba-873a-4bb6-a175-2d9ed2116bd2%40googlegroups.com.


[edx-code] Released: Upgrade to Node 6 and NPM 3

2016-12-13 Thread Brian Jacobel
Hi all,

We’ve just merged changes that upgrade the Node version in all of our 
environments to Node 6.9, the current LTS version. (We were previously using 
0.10, which was EOLed earlier this year.)

There should be no changes necessary to your environments. All JS code and 
tools are currently and will continue to be backwards compatible with 0.10 for 
the foreseeable future. (When Ficus is released, many people will rebuild their 
environments — at that point we’ll evaluate whether we can begin working with 
tools that do not support Node 0.10, such as Webpack.)

If you do want to get Node 6 in your environment right now (again, this is not 
necessary for the vast majority of devstack users, or current OpenedX 
installations), I’ve created a doc to help you upgrade here.

Best,







—

Brian Jacobel
Software Engineer @ edX
141 Portland Street, 9th Floor
Cambridge, MA 02139
Cell: 5072103812
bjaco...@edx.org
edx.org



-- 
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/etPan.58502c71.45af1d4d.118d3%40edx.org.


signature.asc
Description: Message signed with OpenPGP using AMPGpg


[edx-code] Course API v1 blocks (student_view_data)

2016-12-13 Thread Siavash Kavousi
Hi,

I want to write native views for xblocks in android app and I've found out 
that I should use student_view_data in course api which is a json object. 
so far so good ha :D

Let's see what the problem is...
I have a button in my custom-block which in desktop mode sends ajax request 
with url that runtime provides it. How should I do the same thing in 
mobile? (I was thinking about sending the provided url with 
student_view_data)

Thanks,
Siavash Kavousi

-- 
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/b07cb4e3-ec64-4b81-b740-86faf3389478%40googlegroups.com.


[edx-code] Re: Dogwood.3: Error while exporting library imported from edx.org

2016-12-13 Thread Nacho Diaz Asenjo
Did you find any solution? I need to export my libraries from Dogwood.3 and 
I have same error ;-(

El viernes, 1 de julio de 2016, 12:11:56 (UTC+2), Aparna P escribió:
>
> Hi!
>
> On exporting a library(that was imported from edx.org) onto Dogwood.3, 
> following error was seen in /edx/var/log/cms/edx.log: 
>
> Traceback (most recent call last):
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py",
>  
> line 132, in get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py",
>  
> line 145, in inner
> return func(*args, **kwargs)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py",
>  
> line 145, in inner
> return func(*args, **kwargs)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py",
>  
> line 110, in _wrapped_view
> response = view_func(request, *args, **kwargs)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py",
>  
> line 22, in _wrapped_view
> return view_func(request, *args, **kwargs)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/http.py",
>  
> line 45, in inner
> return func(request, *args, **kwargs)
>   File "/edx/app/edxapp/edx-platform/common/djangoapps/util/views.py", 
> line 41, in inner
> response = view_func(request, *args, **kwargs)
>   File 
> "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py",
>  
> line 505, in export_handler
> tarball = create_export_tarball(courselike_module, course_key, context)
>   File 
> "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py",
>  
> line 402, in create_export_tarball
> export_library_to_xml(modulestore(), contentstore(), course_key, 
> root_dir, name)
>   File 
> "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml_exporter.py",
>  
> line 355, in export_library_to_xml
> LibraryExportManager(modulestore, contentstore, library_key, root_dir, 
> library_dir).export()
>   File 
> "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml_exporter.py",
>  
> line 170, in export
> courselike.add_xml_to_node(root)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/mixins.py",
>  
> line 484, in add_xml_to_node
> self._add_field(node, field_name, field)
>   File 
> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/mixins.py",
>  
> line 531, in _add_field
> node.set(field_name, value)
>   File "lxml.etree.pyx", line 744, in lxml.etree._Element.set 
> (src/lxml/lxml.etree.c:44335)
>   File "apihelpers.pxi", line 554, in lxml.etree._setAttributeValue 
> (src/lxml/lxml.etree.c:19531)
>   File "apihelpers.pxi", line 1391, in lxml.etree._utf8 
> (src/lxml/lxml.etree.c:27100)
> TypeError: Argument must be bytes or unicode, got 'NoneType'
>
> Did anyone encounter this?
> Aparna
>
>

-- 
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/f1d10b39-5679-4734-b0c8-429fe6f2eb3b%40googlegroups.com.