Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Mod_python error: "PythonHandler trac.web.modpython_frontend"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  24 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
janwalti  
View profile  
 More options Jul 11 2008, 5:28 am
From: janwalti <jan.wa...@gmail.com>
Date: Fri, 11 Jul 2008 02:28:07 -0700 (PDT)
Local: Fri, Jul 11 2008 5:28 am
Subject: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Hey guy can someone help me with this error ?

im getting it, when im going to my trac page...

Mod_python error: "PythonHandler trac.web.modpython_frontend"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
287, in HandlerDispatch
    log=debug)

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
464, in import_module
    module = imp.load_module(mname, f, p, d)

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/
__init__.py", line 1, in ?
    from trac.web.api import *

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/
api.py", line 29, in ?
    from trac.util import get_last_traceback

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/util/
__init__.py", line 33, in ?
    from trac.util.html import escape, unescape, Markup, Deuglifier

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/util/
html.py", line 16, in ?
    from genshi import Markup, escape, unescape

ImportError: No module named genshi

regards

Jan Walti


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Ruigrok van der Werven  
View profile   Translate to Translated (View Original)
 More options Jul 11 2008, 5:47 am
From: Jeroen Ruigrok van der Werven <asmo...@in-nomine.org>
Date: Fri, 11 Jul 2008 11:47:26 +0200
Local: Fri, Jul 11 2008 5:47 am
Subject: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"
-On [20080711 11:28], janwalti (jan.wa...@gmail.com) wrote:

>ImportError: No module named genshi

The obvious:
Do you have Genshi installed?

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Think carefully of what you ask for, because you just may get it...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Safronovich  
View profile  
 More options Jul 11 2008, 5:54 am
From: Victor Safronovich <vsafronov...@progway.ru>
Date: Fri, 11 Jul 2008 15:54:03 +0600
Local: Fri, Jul 11 2008 5:54 am
Subject: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Hello, Jeroen.

You wrote 11 июля 2008 г., 15:47:26:

> The obvious:
> Do you have Genshi installed?

  Or may be genshi package not in the PYTHON-PATH?

Do you read
http://trac.edgewall.org/wiki/TracModPython#SettingthePythonPath
?

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 5:59 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 11:59:06 +0200
Local: Fri, Jul 11 2008 5:59 am
Subject: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
I think i have installed genshi "easy_install Genshi"

Where do i get my python path ?

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Victor Safronovich
Gesendet: Freitag, 11. Juli 2008 11:54
An: Jeroen Ruigrok van der Werven
Betreff: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"

Hello, Jeroen.

You wrote 11 июля 2008 г., 15:47:26:

> The obvious:
> Do you have Genshi installed?

  Or may be genshi package not in the PYTHON-PATH?

Do you read
http://trac.edgewall.org/wiki/TracModPython#SettingthePythonPath
?

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 5:59 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 11:59:36 +0200
Local: Fri, Jul 11 2008 5:59 am
Subject: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Yes, i installed it with "easy_install Genshi"

Other ideas ?

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Jeroen Ruigrok van der Werven
Gesendet: Freitag, 11. Juli 2008 11:47
An: genshi@googlegroups.com
Cc: jan.wa...@bs.ch
Betreff: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"

-On [20080711 11:28], janwalti (jan.wa...@gmail.com) wrote:

>ImportError: No module named genshi

The obvious:
Do you have Genshi installed?

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B Think carefully of what you ask for, because you just may get it...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Ruigrok van der Werven  
View profile   Translate to Translated (View Original)
 More options Jul 11 2008, 6:33 am
From: Jeroen Ruigrok van der Werven <asmo...@in-nomine.org>
Date: Fri, 11 Jul 2008 12:33:14 +0200
Local: Fri, Jul 11 2008 6:33 am
Subject: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"
-On [20080711 11:59], Walti Jan (Jan.Wa...@bs.ch) wrote:

>I think i have installed genshi "easy_install Genshi"

$ python

>>> import genshi

>Where do i get my python path ?

$ python

>>> import sys
>>> sys.path

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Love conquers all...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 7:14 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 13:14:14 +0200
Local: Fri, Jul 11 2008 7:14 am
Subject: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"

OK, i tried you ideas...

An then i get this messages:

Hope, you can help ;-)

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Jeroen Ruigrok van der Werven
Gesendet: Freitag, 11. Juli 2008 12:33
An: genshi@googlegroups.com
Betreff: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"

-On [20080711 11:59], Walti Jan (Jan.Wa...@bs.ch) wrote:

>I think i have installed genshi "easy_install Genshi"

$ python

>>> import genshi

>Where do i get my python path ?

$ python

>>> import sys
>>> sys.path

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B Love conquers all...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Ruigrok van der Werven  
View profile  
 More options Jul 11 2008, 7:18 am
From: Jeroen Ruigrok van der Werven <asmo...@in-nomine.org>
Date: Fri, 11 Jul 2008 13:18:41 +0200
Local: Fri, Jul 11 2008 7:18 am
Subject: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"
-On [20080711 13:14], Walti Jan (Jan.Wa...@bs.ch) wrote:

>An then i get this messages:

Sorry, my mail agent is on a text only shell box, so I cannot see any
screenshots.

Also, I wonder, what's wrong with a simple copy/paste of the output in
question?

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
The reverse side also has a reverse side...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Safronovich  
View profile  
 More options Jul 11 2008, 7:21 am
From: Victor Safronovich <vsafronov...@progway.ru>
Date: Fri, 11 Jul 2008 17:21:07 +0600
Local: Fri, Jul 11 2008 7:21 am
Subject: Re: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Hello, Walti.

You wrote 11 июля 2008 г., 17:14:14:

input "sys.path" not "sys.patch"

Do you have many python installations on the system?

May be you install trac to one place, but genshi to another?

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 7:28 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 13:28:13 +0200
Local: Fri, Jul 11 2008 7:28 am
Subject: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
OK, sorry heres the "copy paste"

Thanks for your quick help, by the way ;-)

$ python
 >>> import genshi
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named genshi

>>> import sys
>>> sys.patch

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'patch'


-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Jeroen Ruigrok van der Werven
Gesendet: Freitag, 11. Juli 2008 13:19
An: genshi@googlegroups.com
Betreff: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"

-On [20080711 13:14], Walti Jan (Jan.Wa...@bs.ch) wrote:

>An then i get this messages:

Sorry, my mail agent is on a text only shell box, so I cannot see any screenshots.

Also, I wonder, what's wrong with a simple copy/paste of the output in question?

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B The reverse side also has a reverse side...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 7:30 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 13:30:24 +0200
Local: Fri, Jul 11 2008 7:30 am
Subject: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
NO, i only have Python 2.4

When i write:

$ python

>>> sys.path

Traceback (most recent call last):
  File "<stdin>", line 2, in ?
NameError: name 'sys' is not defined

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Victor Safronovich
Gesendet: Freitag, 11. Juli 2008 13:21
An: Walti Jan
Betreff: Re: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"

Hello, Walti.

You wrote 11 июля 2008 г., 17:14:14:

input "sys.path" not "sys.patch"

Do you have many python installations on the system?

May be you install trac to one place, but genshi to another?

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Safronovich  
View profile  
 More options Jul 11 2008, 7:33 am
From: Victor Safronovich <vsafronov...@progway.ru>
Date: Fri, 11 Jul 2008 17:33:29 +0600
Local: Fri, Jul 11 2008 7:33 am
Subject: Re: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Hello, Walti.

You wrote 11 июля 2008 г., 17:30:24:

> NO, i only have Python 2.4

 python2.4 could be installed in many places.

> When i write:
> $ python
>>>> sys.path
> Traceback (most recent call last):
>   File "<stdin>", line 2, in ?
> NameError: name 'sys' is not defined

 you forgot to import sys module

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 7:38 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 13:38:23 +0200
Local: Fri, Jul 11 2008 7:38 am
Subject: AW: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Ok, how can i import the sys module ?

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Victor Safronovich
Gesendet: Freitag, 11. Juli 2008 13:33
An: Walti Jan
Betreff: Re: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"

Hello, Walti.

You wrote 11 июля 2008 г., 17:30:24:

> NO, i only have Python 2.4

 python2.4 could be installed in many places.

> When i write:
> $ python
>>>> sys.path
> Traceback (most recent call last):
>   File "<stdin>", line 2, in ?
> NameError: name 'sys' is not defined

 you forgot to import sys module

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Safronovich  
View profile  
 More options Jul 11 2008, 7:50 am
From: Victor Safronovich <vsafronov...@progway.ru>
Date: Fri, 11 Jul 2008 17:50:40 +0600
Local: Fri, Jul 11 2008 7:50 am
Subject: Re: AW: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Hello, Walti.

You wrote 11 июля 2008 г., 17:38:23:

> Ok, how can i import the sys module ?

#python

>>>import sys
>>>sys.path

also send output of the
#find / -iname trac-0.*
#find / -iname genshi-0.*
commands.

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 8:11 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 14:11:28 +0200
Local: Fri, Jul 11 2008 8:11 am
Subject: AW: AW: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Ok, so here are the outputs:

>>> sys.path

['', '/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg', '/usr/lib/python2.4/site-packages/CherryPy-3.1.0rc1-py2.4.egg', '/usr/lib/python2.4/site-packages/FormEncode-1.0.1-py2.4.egg', '/usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg', '/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg', '/usr/lib/python2.4/site-packages/clearsilver-0.10.1-py2.4-linux-i686.egg', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/gtk-2.0']
>>> import genshi

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named genshi


[root@jdgva-sv-bb-1 site-packages]# find / -iname trac-0.*
/opt/tmp/trac/trac-0.10.4.tar.gz
/opt/tmp/trac/trac-0.10.4

[root@jdgva-sv-bb-1 site-packages]# find / -iname genshi-0.*
/var/www/.python-eggs/Genshi-0.5-py2.4-linux-i686.egg-tmp
/root/.python-eggs/Genshi-0.5-py2.4-linux-i686.egg-tmp
/usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg         (Comment: i extractet this .egg file, so ist a directory!)
/usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg-tmp

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Victor Safronovich
Gesendet: Freitag, 11. Juli 2008 13:51
An: Walti Jan
Betreff: Re: AW: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"

Hello, Walti.

You wrote 11 июля 2008 г., 17:38:23:

> Ok, how can i import the sys module ?

#python

>>>import sys
>>>sys.path

also send output of the
#find / -iname trac-0.*
#find / -iname genshi-0.*
commands.

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Safronovich  
View profile  
 More options Jul 11 2008, 8:33 am
From: Victor Safronovich <vsafronov...@progway.ru>
Date: Fri, 11 Jul 2008 18:33:33 +0600
Local: Fri, Jul 11 2008 8:33 am
Subject: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Hello, Walti.

You wrote 11 июля 2008 г., 18:11:28:

> /usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg
> (Comment: i extractet this .egg file, so ist a directory!)

 Are you sure you extracted to Genshi-0.5-py2.4-linux-i686.egg folder,
 some extractors removed .egg extension?
 Do you see genshi package in the
 /usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg
 folder? (package means folder
 /usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg/genshi
 and
 /usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg/genshi/__i nit__.py
 file)

 please send output of the
 #cat /usr/lib/python2.4/site-packages/easy-install.pth

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 8:44 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 14:44:07 +0200
Local: Fri, Jul 11 2008 8:44 am
Subject: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"

 Hello, you wrote:

Are you sure you extracted to Genshi-0.5-py2.4-linux-i686.egg folder,  some extractors removed .egg extension?

I think so, here is the content:

[root@jdgva-sv-bb-1 site-packages]# cd Genshi-0.5-py2.4-linux-i686.egg
[root@jdgva-sv-bb-1 Genshi-0.5-py2.4-linux-i686.egg]# ls -la
total 356
drwxr-xr-x  4 root root  4096 Jul 11 13:22 .
drwxr-xr-x 34 root root  4096 Jul 11 13:22 ..
-rw-r--r--  1 root root 11726 Jun  9 07:10 builder.py
-rw-r--r--  1 root root 12779 Jun  9 07:10 builder.pyc
-rw-r--r--  1 root root 24451 Jun  9 07:10 core.py
-rw-r--r--  1 root root 26835 Jun  9 07:10 core.pyc
drwxr-xr-x  2 root root  4096 Jul 11 10:42 filters
-rw-r--r--  1 root root  1030 Jun  9 07:10 __init__.py
-rw-r--r--  1 root root   810 Jul 11 13:22 __init__.pyc
-rw-r--r--  1 root root 16049 Jun  9 07:10 input.py
-rw-r--r--  1 root root 17126 Jun  9 07:10 input.pyc
-rw-r--r--  1 root root 28038 Jun  9 07:10 output.py
-rw-r--r--  1 root root 25880 Jun  9 07:10 output.pyc
-rw-r--r--  1 root root 44732 Jun  9 07:10 path.py
-rw-r--r--  1 root root 49682 Jun  9 07:10 path.pyc
-rw-r--r--  1 root root   260 Jun  9 07:10 _speedups.py
-rw-r--r--  1 root root   461 Jun  9 07:10 _speedups.pyc
-rw-r--r--  1 root root 32613 Jun  9 07:10 _speedups.so
drwxr-xr-x  2 root root  4096 Jul 11 10:42 template
-rw-r--r--  1 root root  6980 Jun  9 07:10 util.py
-rw-r--r--  1 root root  7549 Jun  9 07:10 util.pyc
[root@jdgva-sv-bb-1 Genshi-0.5-py2.4-linux-i686.egg]#

Output of cat ...

[root@jdgva-sv-bb-1 site-packages]# cat /usr/lib/python2.4/site-packages/easy-install.pth
import sys; sys.__plen = len(sys.path)
./setuptools-0.6c8-py2.4.egg
./CherryPy-3.1.0rc1-py2.4.egg
./FormEncode-1.0.1-py2.4.egg
./Genshi-0.5-py2.4-linux-i686.egg
./Trac-0.11-py2.4.egg
./clearsilver-0.10.1-py2.4-linux-i686.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Victor Safronovich
Gesendet: Freitag, 11. Juli 2008 14:34
An: Walti Jan
Betreff: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"

Hello, Walti.

You wrote 11 июля 2008 г., 18:11:28:

> /usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg
> (Comment: i extractet this .egg file, so ist a directory!)

 Are you sure you extracted to Genshi-0.5-py2.4-linux-i686.egg folder,  some extractors removed .egg extension?
 Do you see genshi package in the
 /usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg
 folder? (package means folder
 /usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg/genshi
 and
 /usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg/genshi/__i nit__.py
 file)

 please send output of the
 #cat /usr/lib/python2.4/site-packages/easy-install.pth

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Safronovich  
View profile  
 More options Jul 11 2008, 8:51 am
From: Victor Safronovich <vsafronov...@progway.ru>
Date: Fri, 11 Jul 2008 18:51:13 +0600
Local: Fri, Jul 11 2008 8:51 am
Subject: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Hello, Walti.

You wrote 11 июля 2008 г., 18:44:07:

  You uncorrectly extracted egg.
  in the directory Genshi-0.5-py2.4-linux-i686.egg
  must be 2 folders 'EGG-INFO' and 'genshi'.

  I think you extracted inner folder 'genshi' from archive to
  /[skip]/site-packages/Genshi-0.5-py2.4-linux-i686.egg

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 9:07 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 15:07:31 +0200
Local: Fri, Jul 11 2008 9:07 am
Subject: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
 OK, thanks.

  You uncorrectly extracted egg.
  in the directory Genshi-0.5-py2.4-linux-i686.egg
  must be 2 folders 'EGG-INFO' and 'genshi'.

  I think you extracted inner folder 'genshi' from archive to
  /[skip]/site-packages/Genshi-0.5-py2.4-linux-i686.egg

So, can you tell me, what i schould do now ?

Regards

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Victor Safronovich
Gesendet: Freitag, 11. Juli 2008 14:51
An: Walti Jan
Betreff: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"

Hello, Walti.

You wrote 11 июля 2008 г., 18:44:07:

  You uncorrectly extracted egg.
  in the directory Genshi-0.5-py2.4-linux-i686.egg
  must be 2 folders 'EGG-INFO' and 'genshi'.

  I think you extracted inner folder 'genshi' from archive to
  /[skip]/site-packages/Genshi-0.5-py2.4-linux-i686.egg

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Safronovich  
View profile  
 More options Jul 11 2008, 9:19 am
From: Victor Safronovich <vsafronov...@progway.ru>
Date: Fri, 11 Jul 2008 19:19:14 +0600
Local: Fri, Jul 11 2008 9:19 am
Subject: Re: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Hello, Walti.

You wrote 11 июля 2008 г., 19:07:31:

> So, can you tell me, what i schould do now ?

  remove broken egg and run the follow command
  #easy_install -Z Genshi

  this will extracted egg for you automaticly.

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 9:33 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 15:33:19 +0200
Local: Fri, Jul 11 2008 9:33 am
Subject: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Ok, i did what you said..

And now im getting this message in my browser:

Mod_python error: "PythonHandler trac.web.modpython_frontend"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/modpython_fr ontend.py", line 128, in handler
    gateway.run(dispatch_request)

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/wsgi.py", line 87, in run
    response = application(self.environ, self._start_response)

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 381, in dispatch_request
    env = open_environment(env_path, use_cache=not run_once)

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/env.py", line 567, in open_environment
    env = env_cache.setdefault(env_path, open_environment(env_path))

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/env.py", line 571, in open_environment
    env = Environment(env_path)

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/env.py", line 190, in __init__
    self.verify()

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/env.py", line 249, in verify
    fd = open(os.path.join(self.path, 'VERSION'), 'r')

IOError: [Errno 2] No such file or directory: '/var/trac/projects/myprojects/VERSION'

I dont get, what im doing wrong...

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Victor Safronovich
Gesendet: Freitag, 11. Juli 2008 15:19
An: Walti Jan
Betreff: Re: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"

Hello, Walti.

You wrote 11 июля 2008 г., 19:07:31:

> So, can you tell me, what i schould do now ?

  remove broken egg and run the follow command
  #easy_install -Z Genshi

  this will extracted egg for you automaticly.

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Safronovich  
View profile  
 More options Jul 11 2008, 9:36 am
From: Victor Safronovich <vsafronov...@progway.ru>
Date: Fri, 11 Jul 2008 19:36:07 +0600
Local: Fri, Jul 11 2008 9:36 am
Subject: Re: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Hello, Walti.

You wrote 11 июля 2008 г., 19:33:19:

  I think this problem related to the Trac project.
  Please, create ticket in the
  http://trac.edgewall.org/newticket

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walti Jan  
View profile  
 More options Jul 11 2008, 9:44 am
From: "Walti Jan" <Jan.Wa...@bs.ch>
Date: Fri, 11 Jul 2008 15:44:32 +0200
Local: Fri, Jul 11 2008 9:44 am
Subject: AW: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"
Ok, many thanks for your help, very nice

And have a nice weekend ..

-----Ursprüngliche Nachricht-----
Von: genshi@googlegroups.com [mailto:genshi@googlegroups.com] Im Auftrag von Victor Safronovich
Gesendet: Freitag, 11. Juli 2008 15:36
An: Walti Jan
Betreff: Re: AW: AW: Mod_python error: "PythonHandler trac.web.modpython_frontend"

Hello, Walti.

You wrote 11 июля 2008 г., 19:33:19:

  I think this problem related to the Trac project.
  Please, create ticket in the
  http://trac.edgewall.org/newticket

--
Regards,
 Victor Safronovich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Ruigrok van der Werven  
View profile  
 More options Jul 11 2008, 12:36 pm
From: Jeroen Ruigrok van der Werven <asmo...@in-nomine.org>
Date: Fri, 11 Jul 2008 18:36:42 +0200
Local: Fri, Jul 11 2008 12:36 pm
Subject: Re: Mod_python error: "PythonHandler trac.web.modpython_frontend"
-On [20080711 15:39], Victor Safronovich (vsafronov...@progway.ru) wrote:

>> IOError: [Errno 2] No such file or directory:
>> '/var/trac/projects/myprojects/VERSION'

>> I dont get, what im doing wrong...
>  I think this problem related to the Trac project.
>  Please, create ticket in the
>  http://trac.edgewall.org/newticket

Please don't. Email the Trac list, I am sure this problem is as simple as
the wrong directory being specified to where a Trac environment should be.

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Into each life some rain must fall, some days must be dark and dreary...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »