It is currently Thu 02 Sep, 2010 16:30

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: trac down...
PostPosted: Thu 12 Jun, 2008 18:02 
Offline
Administrator

Joined: Wed 12 Oct, 2005 04:50
Posts: 973
Location: duisburg, germany
Sorry, trac is down. I will repair it in a few days.

Us the Forum as bug tracking ;)

_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de


Top
 Profile  
 
 Post subject:
PostPosted: Thu 19 Jun, 2008 18:47 
Offline
Administrator

Joined: Wed 12 Oct, 2005 04:50
Posts: 973
Location: duisburg, germany
I updated trac to v0.11rc2 hope this helps...

_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de


Top
 Profile  
 
 Post subject:
PostPosted: Fri 20 Jun, 2008 15:57 
Offline
Administrator

Joined: Wed 12 Oct, 2005 04:50
Posts: 973
Location: duisburg, germany
Now, trac runs via Apache FastCGI... The url changed from the ugly http://pylucid.net:8080/pylucid/ to http://trac.pylucid.net/

I search&replace many URLs:
    * The pylucid.org cms pages with the PyLucid plugin http://pylucid.org/_goto/138/find-replace/
    * In phpBB with this SQL Statement:
    Code:
    UPDATE phpbb_posts_text SET post_text = replace(post_text, 'pylucid.net:8080/pylucid', 'trac.pylucid.net');


If you find old links, please report here ;)

_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de


Top
 Profile  
 
 Post subject:
PostPosted: Tue 24 Jun, 2008 15:56 
Offline
Administrator

Joined: Wed 12 Oct, 2005 04:50
Posts: 973
Location: duisburg, germany
I add a simple redirector script from the old to the new trac urls.

Script looks like this:
Code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
import BaseHTTPServer

# Port auf dem der Server anfragen entgegen nehmen soll.
PORT = 8080
REDIRECT_DOMAIN = "http://DOMAIN.TLD"
LOG_FILE = "redirecor.log"

try:
    f = file(LOG_FILE, "a")
    sys.stderr = f
except Exception, e:
    sys.stderr("Can't redirect stderr into '%s': %s" % (LOG_FILE, e))

class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler):
    def do_GET(self):
        new_location = REDIRECT_DOMAIN + self.path

        self.send_response(301) # Moved Permanently
        self.send_header("Location", new_location)
        self.end_headers()

        self.log_message("redirect to: '%s'", new_location)
        sys.stderr.flush() # In Log Datei schreiben

httpd = BaseHTTPServer.HTTPServer(("", PORT), MyHandler)
httpd.serve_forever()


Test with e.g.:
http://pylucid.net:8080
http://pylucid.net:8080/pylucid/
http://pylucid.net:8080/pylucid/query?status=assigned

You should land into the new trac ;)

_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de


Top
 Profile  
 
 Post subject:
PostPosted: Wed 25 Jun, 2008 08:05 
Offline
Administrator

Joined: Wed 12 Oct, 2005 04:50
Posts: 973
Location: duisburg, germany
Another error: Login not working... I will fix it soon.

_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group