Hi all,

 


I've installed TRAC and SVN.


It worked well since I updated data in the TRAC SQLite database in tickets.


Now, all features are running well except Timeline !


Trac encounters the following error.


I already searched in the TRAC ticket database and I found nothing about this 
issue.


 


Oops...


Trac detected an internal error:

TypeError: coercing to Unicode: need string or buffer, NoneType found

This is probably a local installation issue.


Found a bug in Trac?


If you think this should work and you can reproduce the problem, you should 
consider reporting this to the Trac team.

Before you do that, though, please first try searching 
<http://trac.edgewall.org/search?ticket=yes&noquickjump=1&q=TypeError%3A+coercing+to+Unicode%3A+need+string+or+buffer%2C+NoneType+found>
  for similar issues, as it is quite likely that this problem has been reported 
before. For questions about installation and configuration of Trac, please try 
the mailing list <http://trac.edgewall.org/wiki/MailingList>  instead of filing 
a ticket.

Otherwise, please  a new ticket at the Trac project site, where you can 
describe the problem and explain how to reproduce it.


Python Traceback


Most recent call last:

·         File 
"C:\Python25\lib\site-packages\trac-0.11.7stable_r8997-py2.5.egg\trac\timeline\templates\timeline.html",
 line 41, in <Expression u"event.render('title', context)"> 
<http://trac.geomapgis.com/TRAC/timeline#frame0> 

·         File 
"c:\python25\lib\site-packages\Trac-0.11.7stable_r8997-py2.5.egg\trac\timeline\web_ui.py",
 line 294, in <lambda> <http://trac.geomapgis.com/TRAC/timeline#frame1> 

·         File 
"c:\python25\lib\site-packages\Trac-0.11.7stable_r8997-py2.5.egg\trac\ticket\web_ui.py",
 line 343, in render_timeline_event 
<http://trac.geomapgis.com/TRAC/timeline#frame2> 

·         File 
"c:\python25\lib\site-packages\Trac-0.11.7stable_r8997-py2.5.egg\trac\ticket\api.py",
 line 447, in format_summary <http://trac.geomapgis.com/TRAC/timeline#frame3> 


System Information:


User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 
(KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5

Trac:

0.11.7stable-r8997

Python:

2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]

setuptools:

0.6c11

SQLite:

3.3.4

pysqlite:

2.3.2

Genshi:

0.5.1

Subversion:

1.5.2 (r32768)

jQuery:

1.2.6

 


I also changed the TRAC Workflow as follows in trac.ini (in French)


[ticket-workflow]

assigner = new, non reproduit -> assigné

assigner.default = 5

assigner.operations = set_owner

assigner.permissions = TICKET_MODIFY

laisser = * -> *

laisser.default = 9

laisser.operations = leave_status

reassigner = assigné -> assigné

reassigner.default = 2

reassigner.operations = set_owner

reassigner.permissions = TICKET_MODIFY

resoudre = assigné,non reproduit -> closed

resoudre.default = 5

resoudre.operations = set_resolution

resoudre.permissions = TICKET_MODIFY

rouvrir = closed -> rouvrir

rouvrir.operations = del_resolution


rouvrir.permissions = TICKET_CREATE


 

The configuration of the timeline in trac.ini is as follows

[timeline]

abbreviated_messages = True

changeset_collapse_events = false

changeset_long_messages = false

changeset_show_files = 0

default_daysback = 30

max_daysback = 90

newticket_formatter = oneliner

ticket_show_details = false

 

NOTE: I have many custom fields (see configuration below)

[ticket-custom]

builddate = text

builddate.label = Date du build

buildnum = text

buildnum.label = Numéro de Build

database = select

database.label = Base de données

database.options = Indifférent|Oracle|Access|PostGis|SqlServer|MySql|Autre

database.value = Indifférent

metier = select

metier.label = Métier

metier.options = Noyau|Linéaire|Réseau|Urba|Relation|Telco|Interventions|Histo 
Simulation|Facilities Management|GeoVoirie|Gis Pipeline

metier.value = Noyau

mode = select

mode.label = Mode histo/simul

mode.options = Standard|Projet On|Projet Off|Projet et 
Courant|Historique|Historique Only|Tous

mode.value = Standard

objecttype = select

objecttype.label = Type d'objet

objecttype.options = Indifférent|ORACLE Spatial|Geomap Spatial|Sql|Point 
Sql|Texte Sql|Graphique|Géocodé ligne|Géocodé point|FDO DB|FDO MySql|FDO 
ODBC|FDO SDF3|FDO SHP

objecttype.value = Indifférent

projet = text

projet.label = Nom du projet

securite = select

securite.label = Sécurité

securite.options = Indifférent|DAT|Base de données|LDAP|LDAP2|LDAPDAT|Non 
sécurisé

securite.value = Indifférent

typeappli = select

typeappli.label = Type d'application

typeappli.options = Oracle Spatial|GEOMAP Spatial|Sql|Autocad Map 
DWG|MapGuide|MapInfo|Tous

typeappli.value = Oracle Spatial

 


Could you help me, please ? Could you give me some ways to find the issue ?


Thanks a lot

 

Regards

 

Eric de VISME
GEOMAP Systems



 

-- 
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