[edx-code] XModule distribution not found

2017-05-31 Thread chemseddine zaafrane
I'm having a problem connection to edx Studio. When I run paver devstack 
studio I get this error

xmodule_assets common/static/xmodule
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/bin/xmodule_assets", line 5, in 

from pkg_resources import load_entry_point
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py"
, line 3084, in 
@_call_aside
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py"
, line 3070, in _call_aside
f(*args, **kwargs)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py"
, line 3097, in _initialize_master_working_set
working_set = WorkingSet._build_master()
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py"
, line 651, in _build_master
ws.require(__requires__)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py"
, line 952, in require
needed = self.resolve(parse_requirements(requirements))
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py"
, line 839, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'XModule==0.1.1' distribution was 
not found and is required by the application




Captured Task Output:
-


---> pavelib.assets.update_assets
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=devstack preprocess_assets 
lms/static/sass/*.scss 
lms/static/themed_sass
python manage.py cms --settings=devstack preprocess_assets 
cms/static/sass/*.scss cms/static/themed_sass
xmodule_assets common/static/xmodule


Build failed running pavelib.assets.update_assets: Subprocess return code: 1

-- 
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/77995296-e805-4f87-9d4c-d2a4422663da%40googlegroups.com.


Re: [edx-code] what front-end framework is used

2017-04-18 Thread chemseddine zaafrane
Thanks Andy for your anwser. so if i wanted to use another framework 
besides Backbone what should it be in your opinion

-- 
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/7dbf58ad-442b-4010-8331-16d0e0f636ec%40googlegroups.com.


[edx-code] get data about XBlocks with Django REST framweork

2017-04-04 Thread chemseddine zaafrane
I created a new model inside xblock-sdk/models.py file called scenarios 
with multiple fields and then serialized them so i can access them using 
django rest framwork, 

#models.py
class Scenarios(models.Model):
description = models.TextField()
XBlock_id = models.CharField(max_length=100)

def __repr__(self):
return 

[edx-code] Re: Paver error when running lms

2017-03-22 Thread chemseddine zaafrane


well for me the solution was updating the watchdog package

-- 
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/e896a9d0-66e7-46f9-88c5-0103f853bd81%40googlegroups.com.


[edx-code] Re: Openedx and Xblocks

2017-03-22 Thread chemseddine zaafrane
for the question about XBlock are independent or not, i can assure that 
they are, in fact youcan create an XBlock and run it without having to 
deploy them in edx-platform

-- 
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/e39a1676-02b3-4eb9-b0b3-ca5282a128f2%40googlegroups.com.


[edx-code] Re: Paver error when running lms

2017-03-21 Thread chemseddine zaafrane


Le mardi 21 mars 2017 12:42:07 UTC+1, אסתי וקסלר a écrit :
>
>
>
> I have the same problem,
> Any updates?
>

i updated the watchdog package and it worked 

-- 
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/964c71c4-de7f-4de9-9818-783676d23449%40googlegroups.com.


[edx-code] run python 3d model inside XBlock

2017-03-13 Thread chemseddine zaafrane
i have a python file that runs a 3d rubik's cube 
 in a window, i need to customize 
my XBlock so i can view the rubik's cube when i run the XBlock
how can i do that

-- 
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/39343f15-e76e-48ad-a402-9170d72fc2a6%40googlegroups.com.


[edx-code] lms problem after deploying XBlock into devstack

2017-03-02 Thread chemseddine zaafrane
i recently installed an XBlock named *blocktest* into Devstack but when i 
tried to run the LMS i got this error
File "/edx/app/edxapp/venvs/edxapp/bin/paver", line 11, in 
sys.exit(main())
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py"
, line 878, in main
_launch_pavement(args)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py"
, line 846, in _launch_pavement
exec(compile(source, environment.pavement_file, 'exec'), mod.__dict__)
  File "pavement.py", line 14, in 
from pavelib import *
  File "pavelib/__init__.py", line 4, in 
from . import assets, servers, docs, prereqs, quality, tests, js_test, 
i18n, bok_choy, acceptance_test
  File "pavelib/assets.py", line 15, in 
from watchdog.observers.polling import PollingObserver
ImportError: cannot import name PollingObserver

i couldn't find a proper answer to fix this so i decided to uninstall the 
XBlock, i checked with pip freeze and it was with the name *blocktest-xblock 
*then i uninstalled it withg the command *pip uninstall blocktest-xblock. *When 
i tried to run the lms after that, the previous error still pops out 

-- 
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/443df629-5cc8-4831-b3d8-00a69fdf4036%40googlegroups.com.


[edx-code] Re: Paver error when running lms

2017-03-01 Thread chemseddine zaafrane


Le mercredi 1 mars 2017 23:37:57 UTC+1, Susan a écrit :
>
> We are all getting errors in edx right now.  Probably a system glitch.
>
>
> How is that relevant ? i'm running edx in VM
 

-- 
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/a37ed134-106f-4a90-80c7-83c5a7593c32%40googlegroups.com.


[edx-code] Running XBlock within VM

2017-02-28 Thread chemseddine zaafrane
i've installed an XBlock within a VM running a Vagrant instance following 
this link 
,
 
it's properly installed but i can't run it in the browser.

-- 
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/258c4f76-4aca-4344-af66-353b9de3808a%40googlegroups.com.


Re: [edx-code] XBlock and RESTful architecture

2017-02-27 Thread chemseddine zaafrane
thanks for your quick reply Ned, however i found this wiki 
that 
seems to talk about a RESTful XBlocks but i couldn't get a proper idea 
about it 

Le lundi 27 février 2017 23:23:23 UTC+1, Ned Batchelder a écrit :
>
> Currently, XBlock is only an in-process Python API.  We've long wanted to 
> make them remotable, so that an XBlock could execute on another machine, or 
> in another language, or in another security context.  But that hasn't been 
> built yet.
>
> --Ned.
>
>
>

-- 
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/fc1268ed-c836-43de-a159-b89b87829e6f%40googlegroups.com.


[edx-code] CMS and LMS

2017-02-16 Thread chemseddine zaafrane
i need to know why LMS and CMS use the same MongoDB to store courses

-- 
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/d9f58ba5-1449-4cc3-aa0b-cd67213dc1dc%40googlegroups.com.


[edx-code] Re: npm ERR! Error: UNKNOWN, symlink '../coffee-script/bin/coffee'

2017-01-22 Thread chemseddine zaafrane
3 years later :p ... i'm getting the same errors as yours and i'm running 
the same commands in cygwin and when i try to run vagrant a second time i 
get an error saying

==> default: TASK: [edxapp | checkout edx-platform repo into {{ edxapp_code_dir
}}] 
==> default: failed: [localhost] => {"failed": true}
==> default: msg: Local modifications exist in repository (force=no).
==> default:
==> default: FATAL: all hosts have already failed -- aborting
==> default:
==> default: PLAY RECAP 






Le dimanche 26 octobre 2014 01:53:49 UTC+1, Shravan P a écrit :
>
> I am trying to install edX on windows 8.1 following this guide: 
> http://edx.readthedocs.org/projects/edx-installing-configuring-and-running/en/latest/devstack/install_devstack.html#install-devstack
>
> When I run 'vagrant up' I get the following error message:
>
> ==> default: TASK: [edxapp | Install edx-platform npm dependencies] 
> 
> ==> default: failed: [localhost] => {"changed": true, "cmd": "npm install 
> ", "delta": "0:00:02.596228", "end": "2014-10-25 20:10:23.201682", "item": 
> "", "rc": 255, "start": "2014-10-25 20:10:20.605454"}
> ==> default: stderr: npm WARN package.json edx@0.1.0 No repository field.
> ==> default: npm ERR! Error: UNKNOWN, symlink 
> '../coffee-script/bin/coffee'
> ==> default: npm ERR! If you need help, you may report this *entire* log,
> ==> default: npm ERR! including the npm and node versions, at:
> ==> default: npm ERR! 
> ==> default:
> ==> default: npm ERR! System Linux 3.2.0-23-generic
> ==> default: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
> ==> default: npm ERR! cwd /edx/app/edxapp/edx-platform
> ==> default: npm ERR! node -v v0.10.31
> ==> default: npm ERR! npm -v 1.4.23
> ==> default: npm ERR! path ../coffee-script/bin/coffee
> ==> default: npm ERR! code UNKNOWN
> ==> default: npm ERR! errno -1
> ==> default: npm ERR!
> ==> default: npm ERR! Additional logging details can be found in:
> ==> default: npm ERR! /edx/app/edxapp/edx-platform/npm-debug.log
> ==> default: npm ERR! not ok code 0
> ==> default:
> ==> default: FATAL: all hosts have already failed -- aborting
> ==> default:
> ==> default: PLAY RECAP 
> 
> ==> default:to retry, use: --limit @/root/vagrant-devstack.
> retry
> ==> default: localhost  : ok=21   changed=7unreachable
> =0failed=1
>
>
>
> I followed the trouble shooting guide from here: 
> https://github.com/edx/configuration/wiki/Vagrant-troubleshooting
> which refers to the solution from here: 
> http://stackoverflow.com/a/16754068/1265417
> but it doesnt help. I still get the same error message.
>
> Anybody knows how to get around this problem?
>

-- 
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/08286591-a00d-4010-ac3f-8219e79acce6%40googlegroups.com.