WorkLogPlugin and TimingEstimation plugin stable for trac 0.11 + Python 2.5?

6 προβολές
Παράβλεψη και μετάβαση στο πρώτο μη αναγνωσμένο μήνυμα

aldana

μη αναγνωσμένη,
10 Δεκ 2007, 4:32:14 π.μ.10/12/07
ως Trac Users
hi,

we are using trac 0.11dev with Python 2.5. we want to introduce
estimations and time cuts for that.

is the WorkLogPlugin and TimingEstimation plugin stable enough to be
used in production?

aldana

μη αναγνωσμένη,
10 Δεκ 2007, 8:01:06 π.μ.10/12/07
ως Trac Users
seems not too trivial.

genshi 0.5 is neccessary, so i tried to install genshi, which makes
problems. it says:

"error: Python was built with VisualStudio 2003; extensions must be
built with a compiler that can gererate compatible binaries [...]"

so i need to install a vs-compiler. the only one we got here is
VisualStudio 2005, will that work (is it downgrade compatible)?
maybe it is easier to go with Python2.4?


please tell if the effort spent is not worth (too unstable plugins).

thanks!

rupert thurner

μη αναγνωσμένη,
10 Δεκ 2007, 11:15:43 μ.μ.10/12/07
ως Trac Users
it should be trivial if you do it in steps:

1. svn co http://svn.edgewall.org/repos/genshi/trunk/ genshi-trunk
2. add the following to setup.cfg:
[build]
compiler=mingw32

i am not sure if you need mingw installed. compile fails then with:

creating build\temp.win32-2.5\Release\genshi
c:\apps\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -Ic:\apps
\python25\include -Ic:\apps\python25\PC -c genshi/_speedups.c -o build
\temp.win32-2.5\Release\genshi\_speedups.o

genshi/_speedups.c:535: warning: 'MarkupType' defined locally after
being referenced with dllimport linkage
writing build\temp.win32-2.5\Release\genshi\_speedups.def
c:\apps\mingw\bin\gcc.exe -mno-cygwin -shared -s build
\temp.win32-2.5\Release\genshi\_speedups.o build\temp.win32-2.5\Release
\genshi\_speedups.def -Lc:\apps\python25\libs -Lc
:\apps\python25\PCBuild -lpython25 -lmsvcr71 -o build
\lib.win32-2.5\genshi\_speedups.pyd
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x179): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x180): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x260): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x408): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x7a9): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x7f4): more undefined references to `_imp__MarkupType' follow
collect2: ld returned 1 exit status
**********************************************************************
WARNING:
An optional C extension could not be compiled, speedups will not be
available.
**********************************************************************
creating build\bdist.win32

i created a ticket: http://genshi.edgewall.org/ticket/165 for this.

rupert.
> > used in production?- Hide quoted text -
>
> - Show quoted text -

rupert thurner

μη αναγνωσμένη,
10 Δεκ 2007, 11:19:31 μ.μ.10/12/07
ως Trac Users


On Dec 11, 5:15 am, rupert thurner <rupert.thur...@gmail.com> wrote:
> i am not sure if you need mingw installed. compile fails then with:

just noticed this "you might not need mingw" might be confusing. the
warning in the previous mail leads to:

creating 'dist\Genshi-0.5dev_r780-py2.5-win32.egg' and adding 'build
\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing Genshi-0.5dev_r780-py2.5-win32.egg
Removing c:\apps\python25\lib\site-packages\Genshi-0.5dev_r780-py2.5-
win32.egg
Copying Genshi-0.5dev_r780-py2.5-win32.egg to c:\apps\python25\lib
\site-packages
Genshi 0.5dev-r780 is already the active version in easy-install.pth

Installed c:\apps\python25\lib\site-packages\genshi-0.5dev_r780-py2.5-
win32.egg
Processing dependencies for Genshi==0.5dev-r780
Finished processing dependencies for Genshi==0.5dev-r780

finally, which should be enough for your purpose at the moment.

aldana

μη αναγνωσμένη,
11 Δεκ 2007, 5:23:26 π.μ.11/12/07
ως Trac Users
alright, by adding build-config snippet genshi 0.5 got installed in my
python site-packages.

didley

μη αναγνωσμένη,
4 Ιαν 2008, 3:32:54 π.μ.4/1/08
ως Trac Users
I have the same problem. I did follow your instructions and got a
Genshi-0.5dev-py2.5-win32.egg.
It's installed in my site-packages but now I got the message from
browser "This site can't be displayed". I did using the logging tool
but there no entries in it.

Do you have any suggestions?

Many Thanx!



On 11 Dez. 2007, 11:23, aldana <ald...@gmx.de> wrote:
> alright, by adding build-config snippetgenshi0.5 got installed in my
> python site-packages.
>
> On Dec 11, 5:19 am, rupert thurner <rupert.thur...@gmail.com> wrote:
>
>
>
> > On Dec 11, 5:15 am, rupert thurner <rupert.thur...@gmail.com> wrote:
>
> > > i am not sure if you need mingw installed. compile fails then with:
>
> > just noticed this "you might not need mingw" might be confusing. the
> > warning in the previous mail leads to:
>
> > creating 'dist\Genshi-0.5dev_r780-py2.5-win32.egg' and adding 'build
> > \bdist.win32\egg' to it
> > removing 'build\bdist.win32\egg' (and everything under it)
> > ProcessingGenshi-0.5dev_r780-py2.5-win32.egg
> > Removing c:\apps\python25\lib\site-packages\Genshi-0.5dev_r780-py2.5-
> > win32.egg
> > CopyingGenshi-0.5dev_r780-py2.5-win32.egg to c:\apps\python25\lib
> > \site-packages
> >Genshi0.5dev-r780 is already the active version in easy-install.pth
>
> > Installed c:\apps\python25\lib\site-packages\genshi-0.5dev_r780-py2.5-
> > win32.egg
> > Processing dependencies forGenshi==0.5dev-r780
> > Finished processing dependencies forGenshi==0.5dev-r780
>
> > finally, which should be enough for your purpose at the moment.- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

Alec Thomas

μη αναγνωσμένη,
4 Ιαν 2008, 3:48:06 π.μ.4/1/08
ως trac-...@googlegroups.com
There's a patch for this issue here:

http://genshi.edgewall.org/ticket/174

If anybody has Windows with or without VS2003/mingw it'd be great if
you could try the patch.


--
Evolution: Taking care of those too stupid to take care of themselves.

didley

μη αναγνωσμένη,
4 Ιαν 2008, 4:33:27 π.μ.4/1/08
ως Trac Users
Hi Alec,

it's me again. I'm the reporter of ticket http://genshi.edgewall.org/ticket/174.
I told you I found a mailinglist. The patch works I got a egg but the
server of trac gives no answer. The advice from rupert thurner works
also. He says you have to change the setup.cfg see above. I got the
egg but the Server gives no answer. The answer is "The site can't
display.

didley
> Evolution: Taking care of those too stupid to take care of themselves.- Zitierten Text ausblenden -
Απάντηση σε όλους
Απάντηση στον συντάκτη
Προώθηση
0 νέα μηνύματα