Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 12 years ago

#6718 closed defect (worksforme)

Genshi from the trunk (The site can't be displayed)

Reported by: didley@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: info is given
Cc: bogdanov@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I wan't to use genshi from the trunk. After installing the newest trunk the webserver tracd answers

The site can't be displayed

see also:
http://genshi.edgewall.org/ticket/174
http://groups.google.com/group/trac-users/browse_thread/thread/b4ec238d0f36f4c/e6ae611a3227f960?lnk=gst&q=genshi

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

Attachments (0)

Change History (16)

comment:1 by Christian Boos, 17 years ago

Component: browsergeneral
Keywords: needinfo added
Owner: changed from Christian Boos to Jonas Borgström

Please be a bit more specific. What version of Trac is this, what is your platform, steps to reproduce…

comment:2 by didley@…, 17 years ago

My Platform is Windows Server 2000. I'm using

  • Trac: 0.11dev
  • Python: 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
  • setuptools: 0.6c6
  • SQLite: 3.3.4
  • pysqlite: 2.3.2
  • Genshi: 0.4.5dev
  • jQuery: 1.2.1

I wan't to use genshi from the trunk. After installing the newest trunk the webserver tracd answers

The site can't be displayed

Steps to reproduce:
Install Genshi from trunk and try to request tracd. The answer is, see above. Logging contains no content.

comment:3 by kbogdanov@…, 17 years ago

We've got the situation like http://genshi.edgewall.org/ticket/175 on the following configuration:

  • SLES 9 x86_64
  • Python 2.3.3-88.9
  • Trac 0.11beta1
  • PostgreSQL 8.2.4-13.1
  • Genshi 0.5dev (with 0.4.4 everything works fine)

We tried to use Genshi rev673 but it also won't work. We'll try to upgrade Python to 2.5 but I suppose it's helpless.

comment:4 by didley@…, 17 years ago

Cc: bogdanov@… added
Keywords: info is given added; needinfo removed

May I have some information about if and when will solved this defect. Is it a defect? Will it be solved in a later release of Trac?

comment:5 by Christian Boos, 17 years ago

I don't know, I can't reproduce the problem and use latest Trac and Genshi from trunk on Windows XP, with both Python 2.4 and 2.5.

comment:6 by didley@…, 17 years ago

Could be a problem with Windows Server 2000.
But my idea is that I need a Visual Studio 2003 compiler when I want using Genshi from trunk. Please have a look to the history of the ticket http://genshi.edgewall.org/ticket/174 .
The owner cmlenz of this ticket did change the trunk of genshi after my ticket. So that python can compile the trunk without asking for a Visual Studio 2003 compiler.

Could be that the reason?

in reply to:  6 ; comment:7 by osimons, 17 years ago

Replying to didley@gmx.de:

But my idea is that I need a Visual Studio 2003 compiler when I want using Genshi from trunk.

Note that you can install Genshi without compiling the C speedup extension, and just use the regular Python implementation by adding argument --without-speedups to the install/easy_install command. That is what I use for my Windows installation on a server that does not have a compiler installed.

in reply to:  7 ; comment:8 by didley@…, 17 years ago

Replying to osimons:

Replying to didley@gmx.de:

But my idea is that I need a Visual Studio 2003 compiler when I want using Genshi from trunk.

use the regular Python implementation by adding argument --without-speedups to the install/easy_install command.

easy_install answers me: error: option —without-speedup not recognized

in reply to:  8 comment:9 by didley@…, 17 years ago

Replying to didley@gmx.de:

Replying to osimons:

Replying to didley@gmx.de:

But my idea is that I need a Visual Studio 2003 compiler when I want using Genshi from trunk.

use the regular Python implementation by adding argument --without-speedups to the install/easy_install command.

correction:

easy_install answers me: error: option —without-speedups not recognized

comment:10 by Jeroen Ruigrok van der Werven, 17 years ago

On my Windows box I just get this:

C:\TEMP\genshi>python setup.py build
[...]
**********************************************************************
WARNING:
An optional C extension could not be compiled, speedups will not be
available.
**********************************************************************

So just build it and do not worry about —without-speedups because the option does not exist in Genshi trunk it seems.

comment:11 by Jeroen Ruigrok van der Werven, 17 years ago

Actually, a rephrase:

C:\TEMP\genshi>python setup.py --without-speedups build

works.

comment:12 by Jeroen Ruigrok van der Werven, 17 years ago

*sigh*

Even more mistaken, you need the —without-speedups option, otherwise the build will not continue, contrary to what I said in my first comment.

comment:13 by Jeroen Ruigrok van der Werven, 17 years ago

Using Python 2.5.1 on Windows XP with setuptools 0.6c8, Genshi trunk revision 800, Pygments 0.9 and Trac revision 6570 I can trac-admin initenv a project inside a parent directory and then start tracd with -e pointing to that directory. Connecting on 127.0.0.1 works as expected. I can select my project and access the Trac instance.

So, with using the —without-speedups directly after setup.py everything can be set up correctly. I do not consider this a bug.

Genshi 0.5 when it gets released will have eggs for Windows with speedups.

comment:14 by Jeroen Ruigrok van der Werven, 17 years ago

*double sigh*

I must have done something wrong initially, but when no compiler is detected Genshi will build everything with python setup.py build and disable the speedups.

comment:15 by Jeroen Ruigrok van der Werven, 17 years ago

Resolution: worksforme
Status: newclosed

I cannot reproduce any of the problems.

Please try with current trunks and given my advice in other comments. If you still have the issue, feel free to open again.

comment:16 by Christian Boos, 12 years ago

Milestone: 0.11

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.