You are right. Trac is installed by hand, but a plugin from the
debian-repository and that has trac 0.11 as dependency. And cron finds
the old trac ...

 Thank you, that helped me!

 Kind regards,
Joachim

Am 18.06.2013 21:27, schrieb Remy Blank:
> Joachim wrote:
>>  i have a skript, which ones a day puts content in the Wiki
>> (with "trac-admin /tracpath wiki import wikipagename filename").
>>
>>  When i run this Skript in the terminal, all is ok, when the cron runs
>> it, the time is wrong. I look in the database and found this:
>> ----------
>> sqlite3 trac.db "select version,time,author,ipnr from wiki where name
>> like '%blabla%';"
>>
>> 1|1370964133344701|trac|127.0.0.1
>> 2|1370964216695323|trac|127.0.0.1
>> 3|1371005282|trac|127.0.0.1
>> ----------
>> The first and second entrys are ok, the last time is wrong. Maybe the
>> timestap ist cut of after ten character? But why? I'm no programmer, so
>> at this point i'm stuck.
> 
> This looks very much like two different versions of Trac are installed
> on your machine. When you run from the terminal, 0.12.3 is used, and you
> get microsecond timestamps. When running from cron, 0.11.x is used, and
> you get second timestamps.
> 
> Please make sure you have no remains of the 0.11.x installation. Inspect
> the PATH in your cron, and find which trac-admin binary is found on that
> path. Also, look in your Python's site-packages and remove all traces of
> 0.11.x.
> 
> -- Remy
> 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to