Hi again,

I have both tg.devtools installed (but no tg2.devtools which seems not to 
exist through pip install process)
My version of devtools is *tg.devtools-2.3.2-py3.2.egg-info*

I also have the required entry point:

setup(
    name='pboard',
    version='0.1',
    description='',
    author='',
    author_email='',
    #url='',
    packages=find_packages(exclude=['ez_setup']),
    install_requires=install_requires,
    include_package_data=True,
    test_suite='nose.collector',
    tests_require=testpkgs,
    package_data={'pboard': ['i18n/*/LC_MESSAGES/*.mo',
                                 'templates/*/*',
                                 'public/*/*']},
    message_extractors={'pboard': [
            ('**.py', 'python', None),
            ('templates/**.mako', 'mako', None),
            ('public/**', 'ignore', None)]},

    entry_points={
        'paste.app_factory': [
            'main = pboard.config.middleware:make_app'
        ],
        'gearbox.plugins': [
            'turbogears-devtools = tg.devtools'
        ]
    },
    dependency_links=[
        "http://tg.gy/230";
        ],
    zip_safe=False
)

I'll continue investigating according to the fact that the tg.devtools 
plugin may not be found.

Le lundi 5 mai 2014 16:45:25 UTC+2, Alessandro Molina a écrit :
>
> 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]<javascript:>
> > 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> 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.

Reply via email to