Modify

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#14054 closed defect (invalid)

Requires trac and tracmigrateplugin: cannot import name _parse_db_str

Reported by: anonymous Owned by: Jun Omae
Priority: high Component: TracMigratePlugin
Severity: major Keywords:
Cc: Trac Release: 1.4

Description

Requires trac and tracmigrateplugin: cannot import name _parse_db_str

BTW.. it's problem due no pip install, as long path when need call .py file, should work more simple

Attachments (0)

Change History (5)

comment:1 Changed 8 months ago by Jun Omae

Resolution: fixed
Status: newclosed

In 18447:

TracMigratePlugin: fix ImportError with Trac 1.4.x (closes #14054)

comment:2 in reply to:  description Changed 8 months ago by Jun Omae

Resolution: fixedinvalid

Requires trac and tracmigrateplugin: cannot import name _parse_db_str

Use convert_db command. See Notice in TracMigratePlugin.

BTW.. it's problem due no pip install, as long path when need call .py file, should work more simple

I don't understand your saying. Details?

comment:3 Changed 8 months ago by anonymous

I don't understand your saying. Details?

Eg. hard to update by --upgrade after fix and cmnds looks like

python /usr/home/xuser/.venv/venvpython27/lib/python2.7/site-packages/tracmigrateplugin/0.12/trac-migrate.py --in-place /usr/home/xuser/trac/project_track mysql://user:pas@server.net/table?schema=new_schema

comment:4 Changed 8 months ago by Ryan J Ollos

This plugin should not be needed with Trac 1.4 since we integrated it into Trac. See:

comment:5 in reply to:  3 Changed 8 months ago by Jun Omae

Eg. hard to update by --upgrade after fix and cmnds looks like

python /usr/home/xuser/.venv/venvpython27/lib/python2.7/site-packages/tracmigrateplugin/0.12/trac-migrate.py --in-place /usr/home/xuser/trac/project_track mysql://user:pas@server.net/table?schema=new_schema

Incorrect. It is not needed to install the plugin to your site-packages. I recommend to remove /.../site-packages/tracmigrateplugin directory.

See TracMigratePlugin#Usagewithoutinstallation.

Last edited 8 months ago by Jun Omae (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.