Can you check you have the tg2.devtools installed and that you have a
'gearbox.plugins': [
'turbogears-devtools = tg.devtools'
]
Inside your setup.py entry_points?
Migrate is provided by tg2.devtools and it is not part of gearbox itself,
so if it is unable to find it it's usually due to the migrate plugin not
being loaded for the project.
This is usually related to something wrong with the project distribution
entry points.
On Mon, May 5, 2014 at 11:49 AM, lebouquetin <[email protected]> wrote:
> Hi all,
>
> As I'm trying to migrate my project database, I get a "unknown command"
> error :
>
> (tg2env)daccorsi@mozart:~/workspace/protov1$ gearbox migrate
> 10:47:11,243 ERROR [cliff.app] Unknown command ['migrate']
>
> Also, if I follow the documentation given at
> http://turbogears.readthedocs.org/en/latest/turbogears/migrations.html?highlight=migrate
> i get the same error :
>
> (tg2env)daccorsi@mozart:~/workspace/protov1$ gearbox migrate create
> 'Initial Schema'
> 10:50:10,926 ERROR [cliff.app] Unknown command ['migrate', 'create',
> 'Initial Schema']
>
> Any idea on what's wrong ?
>
> I'm using TurboGears2-2.3.2 and python 3.2
>
> Damien
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/turbogears.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.