[Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-27 Thread brice
OK, I found the reverse way : stop trac; dpkg -P trac; rm -rf on the
python directories, apt-get install trac; start trac.
Hopefully, it works.
I won't use the last version, too tricky.

On 19 nov, 16:35, brice bric...@gmail.com wrote:
 or may be a preferred way : Could I get this 
 onehttp://packages.debian.org/lenny-backports/trac
 on Ubuntu with apt-get ?

 On Nov 19, 3:55 pm,bricebric...@gmail.com wrote:

  thanks for your comments, I won't do it anymore, promess you.
  Now, where's the reverse way ?

  mvtracbad_trac_old; ln -s 
  /usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac
  changes the error into :
  Traceback (most recent call last):
    File /usr/lib/python2.6/dist-packages/trac/web/api.py, line 339,
  in send_error
    File /usr/lib/python2.6/dist-packages/trac/web/chrome.py, line
  683, in render_template
    File /usr/lib/python2.6/dist-packages/trac/web/chrome.py, line
  667, in load_template
    File build/bdist.linux-i686/egg/genshi/template/loader.py, line
  237, in load
      raise TemplateNotFound(filename, search_path)
  TemplateNotFound: Template error.html not found

  any trick for genshi ?-)
  Of course I would dislike to loose existingtracproject !

  On Nov 19, 2:42 pm, Olemis Lang ole...@gmail.com wrote:

   On Thu, Nov 19, 2009 at 8:25 AM, W. Martin Borgert deba...@debian.org 
   wrote:

Quotingbricebric...@gmail.com:
FirstlyTrachas been installed through apt-get, then, due to an
optimistic behavior, I might have launched the python 'easy_install
installTrac' to update it,
...
what's your opinion, Doc ?

Please, never ever overwrite dpkg-installed packages (be it via apt-get
or dpkg or aptitude) with manually installed software. If you really
want to haveTrac(or any other software on aDebianor Ubuntu system)
manually installed, make sure that you install it in another path (e.g.
/usr/local) than the packaged software (which does never install in
/usr/local). Or, even safer, remove the package first (dpkg -rtrac).
Otherwise, the package manager and the actually installed software do
conflict badly.

   +1 ... Most of the time I try to avoid Python pkg management (mainly
   because it has many problems and also 'cause apt is awesome :o). These
   days I use to build deb source pkgs using `stdeb` (not perfect but apt
   gets involved ;o)

   --
   Regards,

   Olemis.

   Blog ES:http://simelo-es.blogspot.com/
   Blog EN:http://simelo-en.blogspot.com/

   Featured article:

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.




[Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-19 Thread brice
This is it !
Firstly Trac has been installed through apt-get, then, due to an
optimistic behavior, I might have launched the python 'easy_install
install Trac' to update it, without any parameter whereas I shoud have
had some '--prefix=/usr', I now believe. On the contrary, easy_install
could also check dpkg.

Here is where I am :
some directories under /usr/lib/python2.5/site-packages/ :
Trac-0.11.1.egg-info
TracWebAdmin-0.1.2dev_r5911-py2.5.egg
trac

and some eggs under /usr/local/lib/python2.6/dist-packages/:
Genshi-0.5.1-py2.6-linux-i686.egg
Trac-0.11.5-py2.6.egg

what's your opinion, Doc ?

On Nov 18, 9:54 pm, Olemis Lang ole...@gmail.com wrote:
 On Wed, Nov 18, 2009 at 11:56 AM, brice bric...@gmail.com wrote:
  I believe I did, as I'm running Trac on Ubuntu :

 But you can install it directly (i.e. without using the apt system ;o)
 and if you do it then there's noting wrong with the deb pkg

  The error comes since an update, but the question is which update :
  trac (previous to 0.11.5),  python (2.5 to 2.6), apache (2.0 to 2.2),
  system (came from 7.10 Gutsy Gibbon to 9.04 Jaunty Jackalope) ?

  dpkg -l trac gives
  ii  trac                      0.11.1-2.1

 Are you sure ?

 0.11.5  0.11.1-2.1

 :P

 --
 Regards,

 Olemis.

 Blog ES:http://simelo-es.blogspot.com/
 Blog EN:http://simelo-en.blogspot.com/

 Featured article:

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.




Re: [Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-19 Thread Olemis Lang
 On Nov 18, 9:54 pm, Olemis Lang ole...@gmail.com wrote:
 On Wed, Nov 18, 2009 at 11:56 AM, brice bric...@gmail.com wrote:
  I believe I did, as I'm running Trac on Ubuntu :

 But you can install it directly (i.e. without using the apt system ;o)
 and if you do it then there's noting wrong with the deb pkg

  The error comes since an update, but the question is which update :
  trac (previous to 0.11.5),  python (2.5 to 2.6), apache (2.0 to 2.2),
  system (came from 7.10 Gutsy Gibbon to 9.04 Jaunty Jackalope) ?

  dpkg -l trac gives
  ii  trac                      0.11.1-2.1

 Are you sure ?

 0.11.5  0.11.1-2.1

 :P



On Thu, Nov 19, 2009 at 5:49 AM, brice bric...@gmail.com wrote:
 This is it !
 Firstly Trac has been installed through apt-get, then, due to an
 optimistic behavior, I might have launched the python 'easy_install
 install Trac' to update it, without any parameter whereas I shoud have
 had some '--prefix=/usr', I now believe. On the contrary, easy_install
 could also check dpkg.

 Here is where I am :
 some directories under /usr/lib/python2.5/site-packages/ :
 Trac-0.11.1.egg-info
 TracWebAdmin-0.1.2dev_r5911-py2.5.egg
 trac

 and some eggs under /usr/local/lib/python2.6/dist-packages/:
 Genshi-0.5.1-py2.6-linux-i686.egg
 Trac-0.11.5-py2.6.egg

 what's your opinion, Doc ?


That's the *current* madness inherent to Pyland pkg management .

No further comments

:-/

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.




Re: [Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-19 Thread W. Martin Borgert
Quoting brice bric...@gmail.com:
 Firstly Trac has been installed through apt-get, then, due to an
 optimistic behavior, I might have launched the python 'easy_install
 install Trac' to update it,
...
 what's your opinion, Doc ?

Please, never ever overwrite dpkg-installed packages (be it via apt-get
or dpkg or aptitude) with manually installed software. If you really
want to have Trac (or any other software on a Debian or Ubuntu system)
manually installed, make sure that you install it in another path (e.g.
/usr/local) than the packaged software (which does never install in
/usr/local). Or, even safer, remove the package first (dpkg -r trac).
Otherwise, the package manager and the actually installed software do
conflict badly.

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.




Re: [Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-19 Thread Olemis Lang
On Thu, Nov 19, 2009 at 8:25 AM, W. Martin Borgert deba...@debian.org wrote:
 Quoting brice bric...@gmail.com:
 Firstly Trac has been installed through apt-get, then, due to an
 optimistic behavior, I might have launched the python 'easy_install
 install Trac' to update it,
 ...
 what's your opinion, Doc ?

 Please, never ever overwrite dpkg-installed packages (be it via apt-get
 or dpkg or aptitude) with manually installed software. If you really
 want to have Trac (or any other software on a Debian or Ubuntu system)
 manually installed, make sure that you install it in another path (e.g.
 /usr/local) than the packaged software (which does never install in
 /usr/local). Or, even safer, remove the package first (dpkg -r trac).
 Otherwise, the package manager and the actually installed software do
 conflict badly.


+1 ... Most of the time I try to avoid Python pkg management (mainly
because it has many problems and also 'cause apt is awesome :o). These
days I use to build deb source pkgs using `stdeb` (not perfect but apt
gets involved ;o)


-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.




[Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-19 Thread brice
thanks for your comments, I won't do it anymore, promess you.
Now, where's the reverse way ?

mv trac bad_trac_old; ln -s /usr/local/lib/python2.6/dist-packages/
Trac-0.11.5-py2.6.egg/trac
changes the error into :
Traceback (most recent call last):
  File /usr/lib/python2.6/dist-packages/trac/web/api.py, line 339,
in send_error
  File /usr/lib/python2.6/dist-packages/trac/web/chrome.py, line
683, in render_template
  File /usr/lib/python2.6/dist-packages/trac/web/chrome.py, line
667, in load_template
  File build/bdist.linux-i686/egg/genshi/template/loader.py, line
237, in load
raise TemplateNotFound(filename, search_path)
TemplateNotFound: Template error.html not found

any trick for genshi ?-)
Of course I would dislike to loose existing trac project !

On Nov 19, 2:42 pm, Olemis Lang ole...@gmail.com wrote:
 On Thu, Nov 19, 2009 at 8:25 AM, W. Martin Borgert deba...@debian.org wrote:



  Quoting brice bric...@gmail.com:
  Firstly Trac has been installed through apt-get, then, due to an
  optimistic behavior, I might have launched the python 'easy_install
  install Trac' to update it,
  ...
  what's your opinion, Doc ?

  Please, never ever overwrite dpkg-installed packages (be it via apt-get
  or dpkg or aptitude) with manually installed software. If you really
  want to have Trac (or any other software on a Debian or Ubuntu system)
  manually installed, make sure that you install it in another path (e.g.
  /usr/local) than the packaged software (which does never install in
  /usr/local). Or, even safer, remove the package first (dpkg -r trac).
  Otherwise, the package manager and the actually installed software do
  conflict badly.

 +1 ... Most of the time I try to avoid Python pkg management (mainly
 because it has many problems and also 'cause apt is awesome :o). These
 days I use to build deb source pkgs using `stdeb` (not perfect but apt
 gets involved ;o)

 --
 Regards,

 Olemis.

 Blog ES:http://simelo-es.blogspot.com/
 Blog EN:http://simelo-en.blogspot.com/

 Featured article:

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.




[Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-19 Thread brice
or may be a preferred way : Could I get this one
http://packages.debian.org/lenny-backports/trac
on Ubuntu with apt-get ?


On Nov 19, 3:55 pm, brice bric...@gmail.com wrote:
 thanks for your comments, I won't do it anymore, promess you.
 Now, where's the reverse way ?

 mvtracbad_trac_old; ln -s 
 /usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac
 changes the error into :
 Traceback (most recent call last):
   File /usr/lib/python2.6/dist-packages/trac/web/api.py, line 339,
 in send_error
   File /usr/lib/python2.6/dist-packages/trac/web/chrome.py, line
 683, in render_template
   File /usr/lib/python2.6/dist-packages/trac/web/chrome.py, line
 667, in load_template
   File build/bdist.linux-i686/egg/genshi/template/loader.py, line
 237, in load
     raise TemplateNotFound(filename, search_path)
 TemplateNotFound: Template error.html not found

 any trick for genshi ?-)
 Of course I would dislike to loose existingtracproject !

 On Nov 19, 2:42 pm, Olemis Lang ole...@gmail.com wrote:

  On Thu, Nov 19, 2009 at 8:25 AM, W. Martin Borgert deba...@debian.org 
  wrote:

   Quoting brice bric...@gmail.com:
   FirstlyTrachas been installed through apt-get, then, due to an
   optimistic behavior, I might have launched the python 'easy_install
   installTrac' to update it,
   ...
   what's your opinion, Doc ?

   Please, never ever overwrite dpkg-installed packages (be it via apt-get
   or dpkg or aptitude) with manually installed software. If you really
   want to haveTrac(or any other software on aDebianor Ubuntu system)
   manually installed, make sure that you install it in another path (e.g.
   /usr/local) than the packaged software (which does never install in
   /usr/local). Or, even safer, remove the package first (dpkg -rtrac).
   Otherwise, the package manager and the actually installed software do
   conflict badly.

  +1 ... Most of the time I try to avoid Python pkg management (mainly
  because it has many problems and also 'cause apt is awesome :o). These
  days I use to build deb source pkgs using `stdeb` (not perfect but apt
  gets involved ;o)

  --
  Regards,

  Olemis.

  Blog ES:http://simelo-es.blogspot.com/
  Blog EN:http://simelo-en.blogspot.com/

  Featured article:

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.




[Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-18 Thread brice

HELP REQUIRED ON THIS ERROR :
accessing a trac project through Apache/2.2.11 (Ubuntu) DAV/2 SVN/
1.5.4 mod_python/3.3.1 Python/2.6.2 PHP/5.2.6-3ubuntu4.2 with Suhosin-
Patch mod_ssl/2.2.11 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0

Traceback (most recent call last):
  File /usr/lib/python2.6/dist-packages/trac/web/api.py, line 339,
in send_error
'text/html')
[...]
File /usr/lib/python2.6/dist-packages/trac/db/api.py, line 97, in
_get_connector
raise TracError('Unsupported database type %s' % scheme)
TracError: Unsupported database type sqlite
-
easy_install trac
Searching for trac
Best match: Trac 0.11.5
Processing Trac-0.11.5-py2.6.egg
Trac 0.11.5 is already the active version in easy-install.pth
Installing trac-admin script to /usr/local/bin
Installing tracd script to /usr/local/bin

Using /usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg
Processing dependencies for trac
Finished processing dependencies for trac

trac-admin - The Trac Administration Console 0.11.5

trac-admin /etc/apache2/trac upgrade
Database is up to date, no upgrade necessary.



 import trac.db.sqlite_backend as tets
 tets._ver
(3, 6, 10)
 tets.have_pysqlite
2
 tets.sqlite.version
'2.5.0'
 import sqlite3
 sqlite3.version
'2.4.1'
$:sqlite db/trac.db
Unable to open database db/trac.db: file is encrypted or is not a
database
$:/etc/apache2/trac# sqlite3 db/trac.db
SQLite version 3.6.10
sqlite PRAGMA integrity_check;
ok
sqlite


It looks to me as if trac, through apache, was looking for sqlite
module to manage the database, whereas it should use sqlite3, isn't
it ?

On Nov 12, 9:13 am, Jens Peter Secher jpsec...@gmail.com wrote:
 2009/10/11 W. Martin Borgert deba...@debian.org:

  this is just a note to Trac users who run it on Debian or
  derived distributions such as Ubuntu.

 [...]

 I have put some additional *experimental* Debian packages 
 inhttp://people.debian.org/~jps/squeeze/:

  trac-burndown
  trac-timingandestimation

 Cheers,
 --
                                                     Jens Peter Secher.
 _DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_.
 A. Because it breaks the logical sequence of discussion.
 Q. Why is top posting bad?

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.




Re: [Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-18 Thread Olemis Lang
On Wed, Nov 18, 2009 at 9:48 AM, brice bric...@gmail.com wrote:

 HELP REQUIRED ON THIS ERROR :
 accessing a trac project through Apache/2.2.11 (Ubuntu) DAV/2 SVN/
 1.5.4 mod_python/3.3.1 Python/2.6.2 PHP/5.2.6-3ubuntu4.2 with Suhosin-
 Patch mod_ssl/2.2.11 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0

 Traceback (most recent call last):
  File /usr/lib/python2.6/dist-packages/trac/web/api.py, line 339,
 in send_error
    'text/html')
 [...]
 File /usr/lib/python2.6/dist-packages/trac/db/api.py, line 97, in
 _get_connector
    raise TracError('Unsupported database type %s' % scheme)
 TracError: Unsupported database type sqlite
 -
 easy_install trac
 Searching for trac
 Best match: Trac 0.11.5
 Processing Trac-0.11.5-py2.6.egg
 Trac 0.11.5 is already the active version in easy-install.pth
 Installing trac-admin script to /usr/local/bin
 Installing tracd script to /usr/local/bin

 Using /usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg
 Processing dependencies for trac
 Finished processing dependencies for trac


I'm just curious : Did you use the Debian pkg ? Does it rely on
`easy_install` (/me not understanding why ...) ?

If true that means there's something wrong with the deb . Otherwise ,
don't see the relation with this thread, thus probably a separate
thread would be better to talk about this (and therefore /me invites
everybody to reply in a separate thread ;o) .

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.




[Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-18 Thread brice
I believe I did, as I'm running Trac on Ubuntu :

The error comes since an update, but the question is which update :
trac (previous to 0.11.5),  python (2.5 to 2.6), apache (2.0 to 2.2),
system (came from 7.10 Gutsy Gibbon to 9.04 Jaunty Jackalope) ?

dpkg -l trac gives
ii  trac  0.11.1-2.1Enhanced wiki
and issue tracking system for software development projects



On Nov 18, 4:06 pm, Olemis Lang ole...@gmail.com wrote:
 On Wed, Nov 18, 2009 at 9:48 AM, brice bric...@gmail.com wrote:

  HELP REQUIRED ON THIS ERROR :
  accessing a trac project through Apache/2.2.11 (Ubuntu) DAV/2 SVN/
  1.5.4 mod_python/3.3.1 Python/2.6.2 PHP/5.2.6-3ubuntu4.2 with Suhosin-
  Patch mod_ssl/2.2.11 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0

  Traceback (most recent call last):
   File /usr/lib/python2.6/dist-packages/trac/web/api.py, line 339,
  in send_error
     'text/html')
  [...]
  File /usr/lib/python2.6/dist-packages/trac/db/api.py, line 97, in
  _get_connector
     raise TracError('Unsupported database type %s' % scheme)
  TracError: Unsupported database type sqlite
  -
  easy_install trac
  Searching for trac
  Best match: Trac 0.11.5
  Processing Trac-0.11.5-py2.6.egg
  Trac 0.11.5 is already the active version in easy-install.pth
  Installing trac-admin script to /usr/local/bin
  Installing tracd script to /usr/local/bin

  Using /usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg
  Processing dependencies for trac
  Finished processing dependencies for trac

 I'm just curious : Did you use the Debian pkg ? Does it rely on
 `easy_install` (/me not understanding why ...) ?

 If true that means there's something wrong with the deb . Otherwise ,
 don't see the relation with this thread, thus probably a separate
 thread would be better to talk about this (and therefore /me invites
 everybody to reply in a separate thread ;o) .

 --
 Regards,

 Olemis.

 Blog ES:http://simelo-es.blogspot.com/
 Blog EN:http://simelo-en.blogspot.com/

 Featured article:

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.




Re: [Trac] Re: FYI: Trac 0.11.5 available on Debian

2009-11-18 Thread Olemis Lang
On Wed, Nov 18, 2009 at 11:56 AM, brice bric...@gmail.com wrote:
 I believe I did, as I'm running Trac on Ubuntu :


But you can install it directly (i.e. without using the apt system ;o)
and if you do it then there's noting wrong with the deb pkg

 The error comes since an update, but the question is which update :
 trac (previous to 0.11.5),  python (2.5 to 2.6), apache (2.0 to 2.2),
 system (came from 7.10 Gutsy Gibbon to 9.04 Jaunty Jackalope) ?

 dpkg -l trac gives
 ii  trac                      0.11.1-2.1

Are you sure ?

0.11.5  0.11.1-2.1

:P

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--

You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.