I faced the same issue, following the tutorial line after line, the only 
difference I observed was that the following line:

python xblock-sdk/manage.py migrate
did not prompt me with anything - and actually led to an error, which can be 
fixed by creating a /var directory or executing it directly in the xblock-sdk 
folder.

What solved it to me, based on Tiavina's comment, was simply to type: 
make install (in the xblock-sdk directory)


And restarting the server

On Monday, 12 March 2018 08:00:23 UTC+1, ANDRIANASOLO Tiavina wrote:
>
> Hello, 
>
> I am somehow able to use my sdk environment in current time
>
> I followed the README.rst in https://github.com/edx/xblock-sdk
>
> I create the xblock_development directory, with the virtual environment 
> active, I wget the zip of the sdk (I encounter issues with the git clone so 
> I prefered to wget it and unzip) and install it by following the 
> instructions in the README
> and after that I follow the instruction of the tutorial to create my first 
> XBlock
>
>
> Le mardi 27 février 2018 07:05:19 UTC+4, Samuel Marks a écrit :
>>
>> Following your official guide: 
>> http://edx.readthedocs.io/projects/xblock-tutorial/en/latest/getting_started/create_first_xblock.html
>>
>> But couldn't get past the:
>>
>> (venv) $ python xblock-sdk/manage.py runserver
>>
>> Here is my error:
>>
>> *PluginMissingError at /*
>>
>> vertical_demo
>>
>> *Request Method:*
>>
>> GET
>>
>> *Request URL:*
>>
>> http://127.0.0.1:8000/
>>
>> *Django Version:*
>>
>> 1.11.10
>>
>> *Exception Type:*
>>
>> PluginMissingError
>>
>> *Exception Value:*
>>
>> vertical_demo
>>
>> *Exception Location:*
>>
>> .venvs/edx/lib/python2.7/site-packages/xblock/plugin.py in 
>> default_select, line 40
>>
>> *Python Executable:*
>>
>> .venvs/edx/bin/python
>>
>> *Python Version:*
>>
>> 2.7.14
>>
>> *Python Path:*
>>
>> ['xblock_development/xblock-sdk',
>>
>>  '.venvs/edx/lib/python27.zip',
>>
>>  '.venvs/edx/lib/python2.7',
>>
>>  '.venvs/edx/lib/python2.7/plat-darwin',
>>
>>  '.venvs/edx/lib/python2.7/plat-mac',
>>
>>  '.venvs/edx/lib/python2.7/plat-mac/lib-scriptpackages',
>>
>>  '.venvs/edx/lib/python2.7/lib-tk',
>>
>>  '.venvs/edx/lib/python2.7/lib-old',
>>
>>  '.venvs/edx/lib/python2.7/lib-dynload',
>>
>>  
>> '/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
>>
>>  
>> '/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
>>
>>  
>> '/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
>>
>>  
>> '/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
>>
>>  
>> '/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
>>
>>  '.venvs/edx/lib/python2.7/site-packages',
>>
>>  'xblock_development/cardinal_drag_drop',
>>
>>  '.venvs/edx/src/acid-xblock']
>>
>> *Server time:*
>>
>> Mon, 26 Feb 2018 21:57:15 -0500
>>
>>
>>  Similar question to: 
>> https://groups.google.com/d/topic/edx-code/dp7MUYDwVgE
>>
>>
>> To debug, I've tried installing all the edx-platform/requirements and all 
>> the xblock-sdk/requirements into this virtualenv. But to no avail.
>>
>>
>> Any suggestions?
>>
>

-- 
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/289e6cbf-83f8-473e-b5dc-8ba9636491d8%40googlegroups.com.

Reply via email to