[Pkg-trac-devel] trac error for etch: trac-admin malfunctions, Re: trac error for etch: trac-admin malfunctions

Peter Toft pto at linuxbog.dk
Thu Aug 14 23:24:35 UTC 2008


On Thu, 14 Aug 2008, gass at otiliamatos.ath.cx wrote:

>
> in which trac version?

Hrrm - for some reason the trac db required a 0.11 release, which
was solved by upgrading manually to 0.11 i.e. without the .deb package
I have no clue why the trac db insisted that we used 0.11dev on an etch 
system, since we have been using apt-get install trac...

Have you put the 0.11 package in the etch repos at some point?

Best

>
> Em 8/14/2008, "Peter Toft" <pto at linuxbog.dk> escreveu:
>
>> Hi guys
>>
>> Is seems that we have a problem with etch on a regular i386 box.
>>
>> Just after installing
>> $ sudo apt-get install trac
>> I can initiate a new trac project;
>> $ cd bla
>> $ trac-admin rockme initenv
>> Traceback (most recent call last):
>>   File "/usr/bin/trac-admin", line 21, in <module>
>>     from trac.scripts.admin import run
>> ImportError: No module named scripts.admin
>>
>> major problemo....
>>
>> Note that there is a double "/trac/" in the installed stuff - could it be
>> a packaging error?
>>
>> $ ls -al /usr/share/python-support/trac/trac/scripts/
>> totalt 52
>> drwxr-xr-x  2 root root  4096 2008-08-14 00:33 .
>> drwxr-xr-x 11 root root  4096 2008-08-14 00:33 ..
>> -rw-r--r--  1 root root 45046 2007-04-20 15:41 admin.py
>> -rw-r--r--  1 root root     0 2007-04-20 15:41 __init__.py
>>
>> Any clue to get around this? Your help is welcomed.
>>
>> I have tried to set PYTHONPATH=/usr/share/python-support/trac/
>> or PYTHONPATH=/usr/share/python-support/trac/trac/
>> which did not help (Google-hint)
>>
>> BTW; I did read
>> http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=trac;dist=stable
>> and http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=trac;dist=unstable
>>
>> Best
>>
>>
>>
>> --
>> Peter Toft, Ph.D. [pto at linuxbog.dk] http://petertoft.dk
>> http://www.version2.dk/blogs/petertoft
>> Be cool - meet us at http://opensourcedays.org
>>
>>
>> _______________________________________________
>> Pkg-trac-devel mailing list
>> Pkg-trac-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-trac-devel
>
>

-- 
Peter Toft, Ph.D. [pto at linuxbog.dk] http://petertoft.dk
http://www.version2.dk/blogs/petertoft
Be cool - meet us at http://opensourcedays.org




More information about the Pkg-trac-devel mailing list