Hi all,

First of all, I'm new to both Python and Trac (although I have reasonable
linux and programming experience).

I'd liked to give Trac a try, but it fails during the initenv process. Can
anyone give me some hints on this? Extra observations: the project dir is
created (don't know if it's complete though), and in the chosen database a
handful (or two) new tables are created. This means the database
connectivity and access control are ok, right?

This is the trac version from Debian testing, I don't know whether the
Debian packagers have altered the original sources for their package.

Thanks,

Matthijs


Trace:

fox2:/home/trac# trac-admin /home/trac/projecten
Welcome to trac-admin 0.10.3
Interactive Trac administration console.
Copyright (c) 2003-2006 Edgewall Software

Type:  '?' or 'help' for help on commands.

Trac [/home/trac/projecten]> initenv
Creating a new Trac environment at /home/trac/projecten

Trac will first ask a few questions about your environment
in order to initalize and prepare the project database.

 Please enter the name of your project.
 This name will be used in page titles and descriptions.

Project Name [My Project]> Projecten

 Please specify the connection string for the database to use.
 By default, a local SQLite database is created in the environment
 directory. It is also possible to use an already existing
 PostgreSQL database (check the Trac documentation for the exact
 connection string syntax).

Database connection string [sqlite:db/trac.db]>
postgres://trac:[EMAIL PROTECTED]:5432/trac_projecten

 Please specify the type of version control system,
 By default, it will be svn.

 If you don't want to use Trac with version control integration,
 choose the default here and don't specify a repository directory.
 in the next question.

Repository type [svn]>

 Please specify the absolute path to the version control
 repository, or leave it blank to use Trac without a repository.
 You can also set the repository location later.

Path to repository [/path/to/repos]>

 Please enter location of Trac page templates.
 Default is the location of the site-wide templates installed with Trac.

Templates directory [/usr/share/trac/templates]>

Creating and Initializing Project
 Installing default wiki pages
 /usr/share/trac/wiki-default/TracSearch => TracSearch
 /usr/share/trac/wiki-default/WikiRestructuredTextLinks =>
WikiRestructuredTextLinks
 /usr/share/trac/wiki-default/TracAdmin => TracAdmin
 /usr/share/trac/wiki-default/TracPermissions => TracPermissions
 /usr/share/trac/wiki-default/TracRevisionLog => TracRevisionLog
 /usr/share/trac/wiki-default/TracBrowser => TracBrowser
 /usr/share/trac/wiki-default/TracRoadmap => TracRoadmap
 /usr/share/trac/wiki-default/WikiRestructuredText => WikiRestructuredText
 /usr/share/trac/wiki-default/WikiProcessors => WikiProcessors
 /usr/share/trac/wiki-default/TracTimeline => TracTimeline
 /usr/share/trac/wiki-default/TracIni => TracIni
 /usr/share/trac/wiki-default/WikiNewPage => WikiNewPage
 /usr/share/trac/wiki-default/CamelCase => CamelCase
Failed to initialize environment. character 0xe2809c of encoding "UNICODE"
has no equivalent in "LATIN9"

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/scripts/admin.py", line 623,
in do_initenv
    self._do_wiki_load(default_dir('wiki'), cursor)
  File "/var/lib/python-support/python2.4/trac/scripts/admin.py", line 813,
in _do_wiki_load
    self._do_wiki_import(filename, page, cursor, create_only)
  File "/var/lib/python-support/python2.4/trac/scripts/admin.py", line 783,
in _do_wiki_import
    cursor, (title, int(time.time()), data, title))
  File "/var/lib/python-support/python2.4/trac/scripts/admin.py", line 162,
in db_update
    cursor.execute(sql, params)
  File "/var/lib/python-support/python2.4/trac/db/util.py", line 50, in
execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/var/lib/python-support/python2.4/trac/db/util.py", line 50, in
execute
    return self.cursor.execute(sql_escape_percent(sql), args)
ProgrammingError: character 0xe2809c of encoding "UNICODE" has no equivalent
in "LATIN9"

Trac [/home/trac/projecten]>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to