Mailing List Archive

[The Trac Project] #3878: Upgrade the database failed
#3878: Upgrade the database failed
------------------------+---------------------------------------------------
Reporter: anonymous | Owner: cmlenz
Type: defect | Status: new
Priority: normal | Milestone:
Component: trac-admin | Version: 0.10
Severity: blocker | Keywords: upgrade database
------------------------+---------------------------------------------------
When I run the commande trac-admin . upgrade in my environment, I get this
error:

Command failed: 'NoneType' object has no attribute 'split'

--
Ticket URL: <http://trac.edgewall.org/ticket/3878>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3878: Upgrade the database failed [ In reply to ]
#3878: Upgrade the database failed
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: cmlenz
Type: defect | Status: new
Priority: normal | Milestone:
Component: trac-admin | Version: 0.10
Severity: blocker | Resolution:
Keywords: upgrade database |
------------------------------+---------------------------------------------
Comment (by anonymous):

I was upgrading from a 0.9 version. I have also the problem when I run a
trac-admin initenv


{{{
Creating and Initializing Project
Failed to create environment. 'NoneType' object has no attribute 'split'
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 611,
in do_initenv
options=options)
File "/usr/lib/python2.4/site-packages/trac/env.py", line 124, in
__init__
self.create(options)
File "/usr/lib/python2.4/site-packages/trac/env.py", line 228, in create
DatabaseManager(self).init_db()
File "/usr/lib/python2.4/site-packages/trac/db/api.py", line 64, in
init_db
connector, args = self._get_connector()
File "/usr/lib/python2.4/site-packages/trac/db/api.py", line 80, in
_get_connector
scheme, args = _parse_db_str(self.connection_uri)
File "/usr/lib/python2.4/site-packages/trac/db/api.py", line 106, in
_parse_db_str
scheme, rest = db_str.split(':', 1)
AttributeError: 'NoneType' object has no attribute 'split'
Failed to initialize environment. 1
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 615,
in do_initenv
sys.exit(1)
}}}

--
Ticket URL: <http://trac.edgewall.org/ticket/3878#comment:1>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---