RE: [Trac] Setup TRAC so it is only open from my computer

2013-02-12 Thread Voelker, Bernhard
christer wrote (Monday, February 11, 2013 4:37 PM):
 So I want to setup TRAC so it only works on my computer. 

Tell apache to only listen to 127.0.0.1. ;-)
http://httpd.apache.org/docs/2.2/en/mod/mpm_common.html#listen

Have a nice day,
Berny

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




[Trac] RE: [[Include(....html)]] of external site through proxy

2012-12-14 Thread Voelker, Bernhard
Brettschneider Falk wrote (Thursday, December 13, 2012 12:04 PM):

 For example [[Include(http://www.google.de)]] in a Trac wiki page returns
 Error while retrieving file urlopen error (10060, 'Operation timed out').
 I think it's because of the proxy that likely denies, internally.

The following might not help you directly, but it maybe puts things
right to give you a better idea about what's going on.

As you mentioned a proxy server, I assume that you are on a
corporate LAN.

The [[Include]] works on the server side, i.e. by the Apache process.
Usually, there is no proxy involved here, because Apache won't
even know that it should use it for that sub-request.
So what's denying here is the firewall: it doesn't let Apache
open a connection to www.google.de resp. it's IP adress
(and usually this is good).

 How do I setup my Apache or Trac that each user passes the proxy
 authentication with his login and password?

I don't know, but I feel like that would possibly offend corporate
security restrictions to pull in stuff from the internet into the
company's intranet.

Have a nice day,
Berny


-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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: [[Include(....html)]] of external site through proxy

2012-12-14 Thread Voelker, Bernhard
Brettschneider Falk wrote (Friday, December 14, 2012 11:22 AM):

 Voelker, Bernhard wrote:
 As you mentioned a proxy server, I assume that you are on a
 corporate LAN.

 right

  How do I setup my Apache or Trac that each user passes the proxy
  authentication with his login and password?

 I don't know, but I feel like that would possibly offend corporate
 security restrictions to pull in stuff from the internet into the
 company's intranet.

 Well, my google example is actually not fully correct, actually I want
 to [[Include()]] a page of an internal server within the intranet.
 But I also tested that google page and the effect was exactly the same,
 so I used it as example for more simplicity. Though other intranet stuff
 beside Trac also only works with the correct proxy auth. settings in the
 browser.

Are you sure the server is in the intranet, and not in a DMZ (demilitarized
zone), where it's usually also prohibited to open connections to?
Does an Apache-local [[Include]] work?

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] HTML-Picture-Attachement-Size

2012-11-07 Thread Voelker, Bernhard
bejot22 wrote (Wednesday, November 07, 2012 1:16 PM):
 HTML preview not available, since the file size
  exceeds 262144 bytes. Try downloading the file instead. 

 Is there a posibility to change this maximum display size?

Isn't it this (in trac.ini)?

[mimeviewer]
max_preview_size = 524288

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Re: Upload a file to process it ! and than save it with some modifications !

2012-09-19 Thread Voelker, Bernhard
cyberbrain wrote:
 ...the significant help was the : enctype=multipart/form-data

that's essential and therefore the crucial point
for every file upload form ;-)

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Re: Upload a file to process it ! and than save it with some modifications !

2012-09-19 Thread Voelker, Bernhard
cyberbrain wrote:

 How can I redirect the modified stream to a window which
 ables the user to choose a file name and emplacement ?

You mean that the user is uploading a file, then the server
modifies it, and sends it directly back to the user, so that
the browser should display the save as dialog?

Then your server-side program should send these HTTP response
headers, e.g.:

  Content-Disposition: attachment;filename=somefile.zip
  Content-Type: application/octet-stream

http://en.wikipedia.org/wiki/List_of_HTTP_header_fields

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17


Have fun,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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: Problem with `search`

2012-08-08 Thread Voelker, Bernhard
Cooke, Mark wrote (Wednesday, August 08, 2012 10:29 AM):

 I am writing a plugin for internal use that access some internal
 data and I wanted to provide a `search` sub-page for that data.

 So I rolled my own `\plugin\search\` url handler and it doesn't
 (always) work.  On my dev setup my search has replaced the standard
 search and in the release environment the standard search appears instead.
 
 Trac 0.12.3 (and current trunk at t.e.o) search uses the following:
 {{{
 def match_request(self, req):
 return re.match(r'/search(?:/opensearch)?$', req.path_info) is not 
 None
 }}}
 
...which matches search at the end of any URL.

 I can fix this by using a different word (`research`
 springs to mind) but this could affect other users.
 
 Would this regex not work better: r'^/search(?:/opensearch)?$'
 as my understanding of req.path_info is that the main URL is
 removed before being passed in req?

 Can anyone confirm (or deny) my understanding?  Should I raise a ticket?

Hi Mark,

the approach seems to be okay (although I didn't try it).
I personally wouldn't change the regex, moreover I'd have apache
do some URL rewriting ... so your plugin doesn't need to be named
search (at least visible to the user).

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] trac-admin gives Command failed: with no further explanation

2012-07-24 Thread Voelker, Bernhard
whatnext wrote (Monday, July 23, 2012 6:50 PM):

 Update to the update:

 I just su rooted, set LD_LIBRARY_PATH=/usr/local/lib and now it works!!! 

Great!

 Well played Berny looks like you were right. Dunno how it didn't work when I
 went through the list - I must have done something silly.

 Fabulous! Many thanks!!

I might have to do with the export of the variable.

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] trac-admin gives Command failed: with no further explanation

2012-07-23 Thread Voelker, Bernhard
whatnext wrote (Monday, July 23, 2012 4:58 PM):

 Thanks Peter that does indeed give more information. Now I have:

 trac-admin /www/trac permission list
 Command failed:
 Traceback (most recent call last):

...
 return SQLiteConnection(path, params)
   File /usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py, line
 140, in __init__
 assert have_pysqlite  0
 AssertionError

I bet you don't have the LD_LIBRARY_PATH in your shell to
search for the SQlite dynamic .so library (as it is done
- usually in the envars file - for Apache).

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Open trac log files - too many open files apache error

2012-07-06 Thread Voelker, Bernhard
Georgios Koloventzos wrote (Thursday, July 05, 2012 6:25 PM):

 On Thursday, July 5, 2012 6:13:04 PM UTC+2, berny wrote:
  Georgios Koloventzos wrote (Thursday, July 05, 2012 5:20 PM): 

   We have since some years a Trac installation, but recently we 
   encountered a problem with the installation. 
   We are using 0.11.7 version. 
   We are hosting a large amount of trac instances (more than 1000). 
   
   The problem is that the apache is opening the log file of every 
   instance (environment) and it does not close them. This leads to 
   reach the maximum open files limit. 
   For resolving the error we have to restart apache every now and then. 

  You didn't tell any numbers and on what operating system you are 
  working with. Are you sure it's the trac.log? Did you check with 
  lsof? How many files are open? Doesn't raising the limit help? 
  E.g. doubling with 
$ ulimit -n $(( $(ulimit -n) * 2 )) 

 We are using red hat 5/6 with an apache 2.2.3 .
 The trac.log files that are open are around 13000 per
 backend. 

 We have raised the limit but this will eventually come back when
 more trac instances are created.

 More over having some much open files loads apache and eventually is killed
 bu the oom deamon.

Ouch, that sounds like a bug.
Did you try 0.12.x?

Have a nice day, 
Berny 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Open trac log files - too many open files apache error

2012-07-06 Thread Voelker, Bernhard
Hi Georgios,

what about log_type= none or log_type=stderr?

http://trac.edgewall.org/wiki/TracIni#logging-section

Have a nice day,
Berny

From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of Georgios Koloventzos
Sent: Friday, July 06, 2012 11:00 AM
To: trac-users@googlegroups.com
Subject: Re: [Trac] Open trac log files - too many open files apache error

Hi Berny,

We are trying to migrate and the one server we have
I think has the same problem.

When we migrate and we have a homogeneous cluster
I will post what is happening.

It is really weird for me that the files of logs are remaining open.
Even a little event creates a log for an instance this log will stay open ?!.

We have already thought to create a log file per server
in order to see if this will scale down. But with this
the grep will be our only ally when sth happens :D

Cheers,
Georgios
On Friday, July 6, 2012 9:09:39 AM UTC+2, berny wrote:
Georgios Koloventzos wrote (Thursday, July 05, 2012 6:25 PM):

 On Thursday, July 5, 2012 6:13:04 PM UTC+2, berny wrote:
  Georgios Koloventzos wrote (Thursday, July 05, 2012 5:20 PM):

   We have since some years a Trac installation, but recently we
   encountered a problem with the installation.
   We are using 0.11.7 version.
   We are hosting a large amount of trac instances (more than 1000).
  
   The problem is that the apache is opening the log file of every
   instance (environment) and it does not close them. This leads to
   reach the maximum open files limit.
   For resolving the error we have to restart apache every now and then.

  You didn't tell any numbers and on what operating system you are
  working with. Are you sure it's the trac.log? Did you check with
  lsof? How many files are open? Doesn't raising the limit help?
  E.g. doubling with
$ ulimit -n $(( $(ulimit -n) * 2 ))

 We are using red hat 5/6 with an apache 2.2.3 .
 The trac.log files that are open are around 13000 per
 backend.

 We have raised the limit but this will eventually come back when
 more trac instances are created.

 More over having some much open files loads apache and eventually is killed
 bu the oom deamon.

Ouch, that sounds like a bug.
Did you try 0.12.x?

Have a nice day,
Berny
--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/bEQ2hU_Wm88J.
To post to this group, send email to trac-users@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.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Open trac log files - too many open files apache error

2012-07-06 Thread Voelker, Bernhard
Hi Georgios,

yes, that's okay. So maybe log_type=stderr could help.
I didn't try it but I guess the output is then written into apache's error_log
... which is already open and therefore doesn't need to be opened by TRAC again.

Have a nice day,
Berny

From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of Georgios Koloventzos
Sent: Friday, July 06, 2012 12:33 PM
To: trac-users@googlegroups.com
Subject: Re: [Trac] Open trac log files - too many open files apache error

Hi Berny,


We have it as log_type = warning
And yes maybe we should log only the
errors but it is better to have some more logs
when sth happens.

Thanks,
Georgios

On Friday, July 6, 2012 11:27:54 AM UTC+2, berny wrote:
Hi Georgios,

what about log_type= none or log_type=stderr?

http://trac.edgewall.org/wiki/TracIni#logging-section

Have a nice day,
Berny


Subject: Re: [Trac] Open trac log files - too many open files apache error

Hi Berny,

We are trying to migrate and the one server we have
I think has the same problem.

When we migrate and we have a homogeneous cluster
I will post what is happening.

It is really weird for me that the files of logs are remaining open.
Even a little event creates a log for an instance this log will stay open ?!.

We have already thought to create a log file per server
in order to see if this will scale down. But with this
the grep will be our only ally when sth happens :D

Cheers,
Georgios
On Friday, July 6, 2012 9:09:39 AM UTC+2, berny wrote:
Georgios Koloventzos wrote (Thursday, July 05, 2012 6:25 PM):

 On Thursday, July 5, 2012 6:13:04 PM UTC+2, berny wrote:
  Georgios Koloventzos wrote (Thursday, July 05, 2012 5:20 PM):

   We have since some years a Trac installation, but recently we
   encountered a problem with the installation.
   We are using 0.11.7 version.
   We are hosting a large amount of trac instances (more than 1000).
  
   The problem is that the apache is opening the log file of every
   instance (environment) and it does not close them. This leads to
   reach the maximum open files limit.
   For resolving the error we have to restart apache every now and then.

  You didn't tell any numbers and on what operating system you are
  working with. Are you sure it's the trac.log? Did you check with
  lsof? How many files are open? Doesn't raising the limit help?
  E.g. doubling with
$ ulimit -n $(( $(ulimit -n) * 2 ))

 We are using red hat 5/6 with an apache 2.2.3 .
 The trac.log files that are open are around 13000 per
 backend.

 We have raised the limit but this will eventually come back when
 more trac instances are created.

 More over having some much open files loads apache and eventually is killed
 bu the oom deamon.

Ouch, that sounds like a bug.
Did you try 0.12.x?

Have a nice day,
Berny
--
--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/gnhxNXilaHIJ.
To post to this group, send email to trac-users@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.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Open trac log files - too many open files apache error

2012-07-05 Thread Voelker, Bernhard
Georgios Koloventzos wrote (Thursday, July 05, 2012 5:20 PM):

 We have since some years a Trac installation, but recently we
 encountered a problem with the installation.
 We are using 0.11.7 version.
 We are hosting a large amount of trac instances (more than 1000).

 The problem is that the apache is opening the log file of every
 instance (environment) and it does not close them. This leads to
 reach the maximum open files limit.
 For resolving the error we have to restart apache every now and then.

You didn't tell any numbers and on what operating system you are
working with. Are you sure it's the trac.log? Did you check with
lsof? How many files are open? Doesn't raising the limit help?
E.g. doubling with
  $ ulimit -n $(( $(ulimit -n) * 2 ))

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Migrating Trac?: From 0.11.4 to 12.2, from Ubuntu 10.4 to 12.04, from python2.6 to python2.7

2012-06-27 Thread Voelker, Bernhard
cburn wrote (Wednesday, June 27, 2012 1:00 AM):
 Greetings,

 If anyone has docs how to migrate a Trac environment from one
 server to another under the following conditions, I'd much
 appreciate it:

 From Old server (Ubuntu 10.04) to new server (Ubuntu 12.04)
 From Trac 0.11.4 to 12.2
 From Old server running python2.6 to new server running python2.7

 My guess is that I need to an upgrade on the old server first,
 then do a hotcopy and copy over the upgraded environment to the
 new server. I searched for suggestions but didn't find anything
 matching my specific case. Is this even possible?

 Any suggestions would be much appreciated.

I did the transition from 0.11.4 to 0.12.2 a while ago.
The old system was a Solaris box and the new one a SLES-10.3.
No problems so far. Just copied the ENV to the new machine,
ran trac-admin upgrade and that's it.

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Migrating Trac?: From 0.11.4 to 12.2, from Ubuntu 10.4 to 12.04, from python2.6 to python2.7

2012-06-27 Thread Voelker, Bernhard
Cooke, Mark wrote (Wednesday, June 27, 2012 12:00 PM):

  I did the transition from 0.11.4 to 0.12.2 a while ago.
  The old system was a Solaris box and the new one a SLES-10.3.
  No problems so far. Just copied the ENV to the new machine,
  ran trac-admin upgrade and that's it.

 Are you using the sqlite dB backend?  That is stored in the env folder.

yes, it's sufficient for my purposes. ;-)

 Using a different dB backend such as PostgreSQL would require more work...

of course ...

Bye,
Berny


-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] trac repository

2012-06-20 Thread Voelker, Bernhard
Richard Page wrote (June 20, 2012 5:25 PM):

 Recently new to trac so bear with me:
 I have recently installed and am wondering if there is
 one repository for all trac projects or one for each.

1 repo for 1 trac project - that's what a TRAC project is ;-)

 What is svn used for in trac, does it put any of the trac data into svn??

You can connect a source control repository to TRAC,
and have a direct relation between a TRAC ticket and
a commit. That's not part of a basic TRAC installation.

You could even use a TRAC project as a plain wiki - by
turning off the ticket and milestone stuff ;-)

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Image wiki macro not working

2012-02-16 Thread Voelker, Bernhard
thestonefox wrote:

 I do, [[Image(image.jpg)]]
 
 and then on the page I get a paperclip icon and the tooltip says
 
 no image image.jpg attached to pagename
 
 What's going wrong?! :(

The macro is invoked correctly.
Anything in the apache logs?

Bye,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Re: Image wiki macro not working

2012-02-16 Thread Voelker, Bernhard
thestonefox wrote:

 On Feb 16, 10:30 am, Voelker, Bernhard wrote:
  thestonefox wrote:
   I do, [[Image(image.jpg)]]
 
   and then on the page I get a paperclip icon and the tooltip says
 
   no image image.jpg attached to pagename
 
   What's going wrong?! :(
 
  The macro is invoked correctly.
  Anything in the apache logs?

 Nothing in either access.log or error.log that looks like it has
 anything to do with it one other thing,

if the webserver really does not show anything about this request
(i.e. neither 200 not 404), then the img's attribute 'src=...'
is wrong. What is it?

 I'm using the agilo plugin for trac, would that cause any issue?

dunno.

Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Howto move and update a server ?!?

2012-02-15 Thread Voelker, Bernhard
Matthew Caron wrote:

 On 02/15/2012 08:00 AM, koch.peerjoac...@googlemail.com wrote:
  What's the best way to transfer everything AND doing and upgrade ?
 
 1. Dump/load SQL tables.
 2. Copy over your trac env.
 
 If that doesn't work, you'll have to be more specific as to your config, 
 etc. and what part doesn't work.

see also:
http://trac.edgewall.org/wiki/TracUpgrade 

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] A video about Trac

2012-02-08 Thread Voelker, Bernhard
Gebb wrote: 

 I'm trying to convince my colleagues that Trac as a bugtracker is
 superior to TFS which we're currently using, and I made this video
 http://www.youtube.com/watch?v=g0RONl7LtH4 . 
 Excuse the high tempo, it was intended to help me conduct a Trac
 presentation at work at which I was supposed to make pauses and
 explain things. Just thought I might share it with you.

Thanks!

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] SMTPHeloError when I enable smtp

2011-11-04 Thread Voelker, Bernhard
smtp.example.com is not a valid (SMTP) host.

Bye,
Berny



From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of dlin
Sent: Friday, November 04, 2011 8:55 AM
To: trac-users@googlegroups.com
Subject: [Trac] SMTPHeloError when I enable smtp


警告: 已儲存 變動 https://192.168.2.203/trac/tcp/ticket/390#comment:6 ,但是發送通知發生錯誤: 
(501, '5.5.4 Invalid domain name')



I can sendmail on linux command line.  I don't know why it happen?


trac.ini (I use example.com instead of real name here)
==
smtp_enabled = true
smtp_always_cc = d...@example.com
smtp_default_domain = example.com
smtp_from = d...@example.com
smtp_from_name = dlin
smtp_password =
smtp_port = 25
smtp_replyto = d...@example.com
smtp_server = smtp.example.com


trac.log in debug turn on
===

2011-11-04 15:49:42,778 Trac[env] INFO:  
environment startup [Trac 0.12.2] 2011-11-04 15:49:42,915 Trac[main] DEBUG: 
Dispatching Request POST '/ticket/390'
2011-11-04 15:49:42,916 Trac[graphviz] INFO: version: 0.7.5dev - id: $Id: 
graphviz.py 5900 2009-05-30 11:05:08Z cboos $
2011-11-04 15:49:42,921 Trac[session] DEBUG: Retrieving session for ID u'dlin'
2011-11-04 15:49:42,923 Trac[main] DEBUG: Negotiated locale: None - zh_TW
2011-11-04 15:49:42,942 Trac[svn_fs] DEBUG: Subversion bindings imported
2011-11-04 15:49:42,947 Trac[api] INFO: Synchronized '' repository in 0.03 
seconds
2011-11-04 15:49:42,949 Trac[authz_policy] DEBUG: Parsing authz security policy 
/srv/http/trac.access
2011-11-04 15:49:42,951 Trac[authz_policy] DEBUG: Checking TICKET_VIEW on 
ticket:390@*
2011-11-04 15:49:42,952 Trac[api] DEBUG: action controllers for ticket 
workflow: ['ConfigurableTicketWorkflow']
2011-11-04 15:49:42,969 Trac[authz_policy] DEBUG: Checking TICKET_MODIFY on 
ticket:390@*
2011-11-04 15:49:42,973 Trac[authz_policy] DEBUG: Checking TICKET_CHGPROP on 
ticket:390@*
2011-11-04 15:49:43,239 Trac[notification] INFO: Sending notification through 
SMTP at smtp.taifex.com.tw:25 to [u'd...@taifex.com.tw']
2011-11-04 15:49:43,265 Trac[web_ui] ERROR: Failure sending notification on 
change to ticket #390: SMTPHeloError: (501, '5.5.4 Invalid domain name')
2011-11-04 15:49:43,266 Trac[chrome] DEBUG: Prepare chrome data for request


--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/85YxvMLFJNsJ.
To post to this group, send email to trac-users@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.



-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Cannot login to trac

2011-08-04 Thread Voelker, Bernhard
* look into Apache's logfiles
* increase logging level

Bye,
Berny

-Original Message-
From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of IMEX
Sent: Thursday, August 04, 2011 1:45 PM
To: Trac Users
Subject: [Trac] Cannot login to trac


Dear all,

We have trac 0.11.7, many users are created and all of them was
working fine. suddenly admin user and the users with admin permission
became unable to login. After 3 tries to login blank page appears and
the logs does not show anything (log file is blank).

thanks in advanced for your help.

Best regards

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Getting Trac to run with Apache

2011-07-20 Thread Voelker, Bernhard
Henning wrote:

 ScriptAlias /trac /usr/share/trac/cgi-bin/trac.fcgi/
 DefaultInitEnv TRAC_ENV /usr/share/trac/projects/myproj/
 
 Location /trac
  SetEnv TRAC_ENV_PARENT_DIR /usr/share/projects/myproj
 /Location
 
 Please, please, anyone - help me!!

shouldn't it be 
-  SetEnv TRAC_ENV_PARENT_DIR /usr/share/projects/myproj
+  SetEnv TRAC_ENV_PARENT_DIR /usr/share/trac/projects/myproj

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] No module named trac error in

2011-07-20 Thread Voelker, Bernhard
Hi miahw,

I had to add the TRAC site-packages to the PYTHONPATH environment variable,
done via .../apache2/bin/envvars:

*
TRAC=/user/xxx/opt/trac-0.12.2
PATH=$TRAC/bin:$PATH
export PATH

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/user/xxx/opt/sqlite-3.5.8/lib
export LD_LIBRARY_PATH

PYTHONPATH=:/user/xxx/opt/mod_python/lib64/python2.4/site-packages
PYTHONPATH=$PYTHONPATH:$TRAC/lib64/python2.4/site-packages
PYTHONPATH=$PYTHONPATH:$TRAC/lib/python2.4/site-packages
PYTHONPATH=$PYTHONPATH:/user/xxx/opt/pysqlite-2.3.5/lib64/python2.4/site-packages
export PYTHONPATH
*

Hope this helps,
Berny


-Original Message-
From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of miahw
Sent: Wednesday, July 20, 2011 11:05 AM
To: Trac Users
Subject: [Trac] No module named trac error in

Hello Trac users,

I posted this request some time ago on this mailing list and no one
has got back to me. I'm still stuck at this stage and would really
appreciate any help.

Thanks in advance.

Hello, I keep getting the following error messages in Apache:

[Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213]
PythonHandler trac.web.modpython_frontend: Traceback (most recent call
last):
[Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213]
PythonHandler trac.web.modpython_frontend:   File /usr/lib64/
python2.4/site-packages/mod_python/apache.py, line 287, in
HandlerDispatch\nlog=debug)
[Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213]
PythonHandler trac.web.modpython_frontend:   File /usr/lib64/
python2.4/site-packages/mod_python/apache.py, line 461, in
import_module\nf, p, d = imp.find_module(parts[i], path)
[Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213]
PythonHandler trac.web.modpython_frontend: ImportError: No module
named trac

My Apache conf file contains:

Location /trac
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir /data/trac
  PythonOption TracUriRoot /trac

  Order allow,deny
  Allow from all
/Location

I have followed the instructions on:

http://ruk.ca/content/importerror-no-module-named-trac

but I still cannot get it to work. The path /usr/lib64/python2.4/site-
packages/ doesn't list Trac egg, but the path the path /usr/lib/
python2.4/site-packages/ does. My system is a 64 bit RHEL5.5 Linux.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Re: No module named trac error in

2011-07-20 Thread Voelker, Bernhard
Hello Wawud,

I guess you don't need to change PATH - it's only in my environment
because I use this snipped also to call tracadmin on the command line.

LD_LIBRARY_PATH:
this contains directories which the system should search for when
a dynamic library (*.so) is to be loaded.
I compiled sqlite3 as my system didn't have it. So I have to add that
directory to LD_LIBRARY_PATH.

PYTHONPATH:
I'm using mod_python (which is not supported anymore?), and I installed
pysqlite in a separate path. That's why I had to add both.

The most important one for you is to add
.../trac/lib64/python2.4/site-packages
.../trac/lib/python2.4/site-packages

Have fun,
Berny

-Original Message-
From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of miahw
Sent: Wednesday, July 20, 2011 12:57 PM
To: Trac Users
Subject: [Trac] Re: No module named trac error in

Hello Berny,

Thanks for the reply. What is exactly being set to the these
variables:

1. PATH
2. LD_LIBRARY_PATH
3. PYTHONPATH

Could you please explain further what these variables must contain?

Thanks in advance.
Wadud.

On Jul 20, 11:25 am, Voelker, Bernhard bernhard.voel...@siemens-
enterprise.com wrote:
 Hi miahw,

 I had to add the TRAC site-packages to the PYTHONPATH environment variable,
 done via .../apache2/bin/envvars:

 *
 TRAC=/user/xxx/opt/trac-0.12.2
 PATH=$TRAC/bin:$PATH
 export PATH

 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/user/xxx/opt/sqlite-3.5.8/lib
 export LD_LIBRARY_PATH

 PYTHONPATH=:/user/xxx/opt/mod_python/lib64/python2.4/site-packages
 PYTHONPATH=$PYTHONPATH:$TRAC/lib64/python2.4/site-packages
 PYTHONPATH=$PYTHONPATH:$TRAC/lib/python2.4/site-packages
 PYTHONPATH=$PYTHONPATH:/user/xxx/opt/pysqlite-2.3.5/lib64/python2.4/site-packages
 export PYTHONPATH
 *

 Hope this helps,
 Berny







 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
 Behalf Of miahw
 Sent: Wednesday, July 20, 2011 11:05 AM
 To: Trac Users
 Subject: [Trac] No module named trac error in

 Hello Trac users,

 I posted this request some time ago on this mailing list and no one
 has got back to me. I'm still stuck at this stage and would really
 appreciate any help.

 Thanks in advance.

 Hello, I keep getting the following error messages in Apache:

 [Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213]
 PythonHandler trac.web.modpython_frontend: Traceback (most recent call
 last):
 [Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213]
 PythonHandler trac.web.modpython_frontend:   File /usr/lib64/
 python2.4/site-packages/mod_python/apache.py, line 287, in
 HandlerDispatch\n    log=debug)
 [Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213]
 PythonHandler trac.web.modpython_frontend:   File /usr/lib64/
 python2.4/site-packages/mod_python/apache.py, line 461, in
 import_module\n    f, p, d = imp.find_module(parts[i], path)
 [Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213]
 PythonHandler trac.web.modpython_frontend: ImportError: No module
 named trac

 My Apache conf file contains:

 Location /trac
   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnvParentDir /data/trac
   PythonOption TracUriRoot /trac

   Order allow,deny
   Allow from all
 /Location

 I have followed the instructions on:

 http://ruk.ca/content/importerror-no-module-named-trac

 but I still cannot get it to work. The path /usr/lib64/python2.4/site-
 packages/ doesn't list Trac egg, but the path the path /usr/lib/
 python2.4/site-packages/ does. My system is a 64 bit RHEL5.5 Linux.

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

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Re: Milestone list

2011-06-08 Thread Voelker, Bernhard
Emmanuel Blot wrote:

 The macro code:
...

thanks for sharing this.

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Re: Milestone list

2011-06-06 Thread Voelker, Bernhard
Emmanuel Blot wrote:

 It shows all the milestones' tickets, I'd like to get the milestone
 list only (milestone name and date, mostly).

isn't this a roadmap thingy?
how about
roadmap?show=completed

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Re: Milestone list

2011-06-06 Thread Voelker, Bernhard
Emmanuel Blot wrote:

 Ah, I was afraid of that.  Sorry, I don't have any other suggestions.
 Unless TicketQuery has some deduplication option.  But it likely doesn't
 because it usually only gets each ticket once.

 I wrote a simple macro, it was just a matter of a couple of lines.

something like
  select name,due,completed from milestone where completed  0 order by name
? 

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] upgrade question

2011-06-03 Thread Voelker, Bernhard
David R. Steiner wrote:

 We have an old installation of Trak 0.10 and would like to upgrade to 0.12.
 Can the database from the old install be used with the newer version or have
 there been changes to the DB structure that will require upgrading in
 incremental steps. We are using MySQL for the DB.

I had a 0.10.4 with sqlite3, and `trac-admin upgrade` in the current 0.12.2
did the job. Backups are for chickens, of course ;-)

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] TracAccountManager 0.3dev-r10113 behind apache

2011-05-24 Thread Voelker, Bernhard
Hi Uwe,

this smells like a misconfiguration in the configuration of the VirtualHost.
I'd have a look at the error_log of the VirtualHost and the main server - 
there'll
be a more detailed error message. 

Have a nice day,
Berny

-Original Message-
From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of useher
Sent: Tuesday, May 24, 2011 10:25 AM
To: trac-users@googlegroups.com
Subject: [Trac] TracAccountManager 0.3dev-r10113 behind apache


Hi group, 
I am using TracAccountManager 0.3dev-r10113 for our trac-sites which works
mostly pretty fine. 
So when the trac site is the mainpage of a  subdomain, the authentication
works fine, everything is correct, also when i run a site in standalone
mode. But we want to run some trac-sites under the structure of the
toplevel-domain directed there by a rewrite rule. In this case the the
login-form (produces a 404) is not found, all other sites work fine. The
templates can be read by everyone and i tried to place them in the
templatefolder with no effect. 
It would be great if you have some hints, where i have to search.

Thanks in advance 
uwe
-- 
View this message in context: 
http://old.nabble.com/TracAccountManager-0.3dev-r10113-behind-apache-tp31688380p31688380.html
Sent from the Trac Users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] Re: Plugin for additional Attributes for Tickets?

2011-05-17 Thread Voelker, Bernhard
Ethan Jucovy  wrote: 

 It should be present in the web admin too.  Do you see a link to Custom 
 Fields
 in the admin navbar, under Ticket System?  You can add, edit and remove 
 custom
 ticket fields from there.

not here on 0.12.2, is this a 0.13.x feature?

Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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] setup behind firewall

2011-04-19 Thread Voelker, Bernhard
Hi *,

I have problems installing 0.12.2 behind a firewall (in a DMZ).
I have installed setuptools and genshi and added them to the PYTHONPATH:

$ 
PYTHONPATH=$PYTHONPATH:/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages
$ PYTHONPATH=$PYTHONPATH:/user/ecs/opt/genshi-0.6/lib64/python2.4/site-packages

The setuptools fail (after the firewall timeout) here:

$ ./setup.py install --prefix=/user/ecs/opt/trac-0.12.2
Download error: (97, 'Address family not supported by protocol') -- Some 
packages may not be found!
Couldn't find index page for 'Genshi' (maybe misspelled?)
Download error: (97, 'Address family not supported by protocol') -- Some 
packages may not be found!
No local packages or download links found for Genshi=0.6
Traceback (most recent call last):
  File ./setup.py, line 110, in ?
entry_points = 
  File /usr/lib64/python2.4/distutils/core.py, line 110, in setup
_setup_distribution = dist = klass(attrs)
  File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/dist.py,
 line 260, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
  File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/dist.py,
 line 283, in fetch_build_eggs
for dist in working_set.resolve(
  File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py,
 line 563, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
  File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py,
 line 799, in best_match
return self.obtain(req, installer) # try and download/install
  File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py,
 line 811, in obtain
return installer(requirement)
  File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/dist.py,
 line 327, in fetch_build_egg
return cmd.easy_install(req)
  File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py,
 line 434, in easy_install
self.local_index
  File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/package_index.py,
 line 475, in fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'

Before I installed Genshi, it said that it tries to download Genshi,
but now it sits waiting for the firewall timeout - I don't have a
clue what it's trying to do at this point. Is there something like
--verbose?

Any ideas?

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



RE: [Trac] setup behind firewall

2011-04-19 Thread Voelker, Bernhard
Hi Jason,

thanks for the hints. However, as long as the installer tries to connect to the 
internet,
it will cowardly fail: the machine is actually a virtual machine (SLES) in the 
DMZ of a corporate
network. It's not permitted to make any new connections into the internet, also 
a proxy
is missing. The only connection permitted is *from* the internet to a small set 
of TCP ports
of that host.

As babel is not strictly required, and as I manually installed genshi, I was 
expecting the
off-line installation to succeed.

BTW:
`python ./setup.py --help` does that same as `... install`:

$ lsof -p 19738
COMMAND   PID USER   FD   TYPE   DEVICESIZENODE NAME
python  19738  ecs  cwdDIR253,14096 2146487 
/user/ecs/berny/depot/trac-0.12.2
python  19738  ecs  rtdDIR  8,34096   2 /
python  19738  ecs  txtREG  8,55320  208996 /usr/bin/python2.4
...
python  19738  ecs0u   CHR136,3   5 /dev/pts/3
python  19738  ecs1u   CHR136,3   5 /dev/pts/3
python  19738  ecs2u   CHR136,3   5 /dev/pts/3
python  19738  ecs3u  IPv4 43469727 TCP 
ecs.siemens-enterprise.com:33262-pypi.python.org:http (SYN_SENT)
... --help doesn't print the usage.
Also --verbose doesn't make a difference.

Thanks for your help.

Have a nice day,
Berny





From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of Jason Miller
Sent: Tuesday, April 19, 2011 3:16 PM
To: trac-users@googlegroups.com
Subject: Re: [Trac] setup behind firewall

Out bound connections are made across the HTTP and HTTPS
protocol. Not sure as to why your DMZ would be blocking that.
In fact, a DMZ 'should' be firewall free.

Not that this 'should' matter, but have you prepended the 'python'
interpreter before your commands? :  python ./setup.py install

Still... what happens when you manually svn co
http://some svn repo from the same machine?

Does the DMZ employ a proxy maybe?

What happens when you use: easy_install babel  (I noticed
you havn't installed babel yet, might as well try through easy_install)

Is this an appliance specific machine with a custom linux flavor
installed on it? (not exactly a PC, but a product designed to do
something else like one of these ugly things:
http://www.landesk.com/docs/manuals/590694501B_screen.pdf)
I know I have had my fair share of getting one of those working the
way WE wanted. And installing Trac on it, would definitely qualify.

does: dig edgewall.orghttp://edgewall.org  return the correct IP address of 
88.198.140.129?

Odd bud, and being in the DMZ makes it odder still. You should have no
firewall/connectivity issues at all. And as for a verbose option yes:
python ./setup.py --verbose
FYI, you can see the whole list by doing the following in your product
location:

python ./setup.py --help

Good luck, let us know what happens!

Jason


On Tue, Apr 19, 2011 at 3:09 AM, Voelker, Bernhard 
bernhard.voel...@siemens-enterprise.commailto:bernhard.voel...@siemens-enterprise.com
 wrote:
Hi *,

I have problems installing 0.12.2 behind a firewall (in a DMZ).
I have installed setuptools and genshi and added them to the PYTHONPATH:

$ 
PYTHONPATH=$PYTHONPATH:/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages
$ PYTHONPATH=$PYTHONPATH:/user/ecs/opt/genshi-0.6/lib64/python2.4/site-packages

The setuptools fail (after the firewall timeout) here:

$ ./setup.py install --prefix=/user/ecs/opt/trac-0.12.2
Download error: (97, 'Address family not supported by protocol') -- Some 
packages may not be found!
Couldn't find index page for 'Genshi' (maybe misspelled?)
Download error: (97, 'Address family not supported by protocol') -- Some 
packages may not be found!
No local packages or download links found for Genshi=0.6
Traceback (most recent call last):
 File ./setup.py, line 110, in ?
   entry_points = 
 File /usr/lib64/python2.4/distutils/core.py, line 110, in setup
   _setup_distribution = dist = klass(attrs)
 File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/dist.py,
 line 260, in __init__
   self.fetch_build_eggs(attrs.pop('setup_requires'))
 File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/dist.py,
 line 283, in fetch_build_eggs
   for dist in working_set.resolve(
 File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py,
 line 563, in resolve
   dist = best[req.key] = env.best_match(req, self, installer)
 File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py,
 line 799, in best_match
   return self.obtain(req, installer) # try and download/install
 File 
/user/ecs/opt/setuptools-0.6c11/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py,
 line 811, in obtain
   return installer(requirement)
 File 
/user/ecs/opt/setuptools-0.6c11