Hi,
Currently I have open Ubuntu 14.04.3 LTS edx in with bitnami.
I'm trying to migrate from Cypress to Dogwood.
For this I run the following commands:

   1.     cd /opt/bitnami/
   2.     ./use_edx
   3.     cd /opt/bitnami/apps/edx/edx-platform/
   4.     ./migrate.sh -c fullstack -t named-release/dogwood
   

Get the following error: (see picture)

<https://lh3.googleusercontent.com/-AbivwRDGyqE/V-d9j_R8PKI/AAAAAAAALZk/uoRtJVwbfZcY6ppAz96rtDG2uhanEz8swCLcB/s1600/error.JPG>

any idea?

waiting for comments. 

regards


El domingo, 22 de noviembre de 2015, 13:01:12 (UTC-5), Protocol Six 
Consulting escribió:
>
> One more thing...
>
> On step 6, when you run "make migrate" you may encounter an error: 
> "ImportError: No module named _sqlite3"
>
> This seems to be a known error on Bitnami (and elsewhere)
>
> The way I got around this was to edit 
> /home/edx_ecommerce/otto.venv/lib/python2.7/site-packages/django/db/backends/sqlite3/schema.py
>
> and replace "_sqlite3" with "sqlite3". The sqlite3 module exists on 
> bitnami as libsqlite3
>
> Also, in the same file I changed
>
>    try:
>             value = sqlite3.adapt(value)
>         except _sqlite3.ProgrammingError :
>             pass
>
> to
>
>    try:
>             value = sqlite3.adapt(value)
>         except :
>             pass
>
> All this let migrations work fully.
>
> Hope that helps  :-)
>
>>
>>

-- 
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/18f44c5f-b7bb-4a49-a95d-a36bb3398f5a%40googlegroups.com.

Reply via email to