HTTPException with jcr-0.6.7rc1

Help
2009-03-25
2012-12-15
  • joseph benavidez

    I'm getting an HTTPException with the latest jcr build... Setup seemed to go ok. Here's my setup:

        [jcr@localhost jcr]$ paster setup-app jcr.ini
        Running setup_config() from jcr.websetup    
        ----------------------------------------------------------------------
        Checking and initialising JCR                                        
        ----------------------------------------------------------------------
        1. Confirm values read from the config file                          
       
            Database URL:   mysql://jcr:password@localhost/jcr
            Base directory: /opt/jcr-data                     
       
          Are these correct? [Y or N]: y
       
        ----------------------------------------------------------------------
        2. Checking database                                                 
       
           - Attempting to connect...
             ... Connected OK       
       
           - Checking schema...
             ... schema OK    
       
           - Checking for superuser...
             ... superuser OK        
       
       
        ----------------------------------------------------------------------
        3. Checking directories                                              
       
           - Checking for directory existence...
             ... directories exist             
           - Checking that directories are writeable...
             ... directory access OK                  
       
        ----------------------------------------------------------------------
        4. Checking for review projects                                      
       
        ----------------------------------------------------------------------
        Congratulations - JCR should be ready to use!                        
        Start JCR with the following command line:                           
       
            paster serve /opt/jcr-0.6.7rc1/jcr.ini

    And here's the output upon going to http://localhost:5000. Anything obvious? I'm running CentOS 5.2:

        [jcr@localhost jcr]$ paster serve /opt/jcr-0.6.7rc1/jcr.ini
        01:39:28,551 INFO  diff [-1208596800] Starting diff generation thread
        Starting server in PID 5653.                                        
        01:39:28,559 INFO  httpserver [-1208596800] Cannot use kill_thread_limit as ctypes/killthread is not available
        serving on 0.0.0.0:5000 view at http://127.0.0.1:5000                                                        
        01:39:45,400 INFO  base [-1229558896] Session expired - forwarding to login page: /login?originalUrl=/       
        Error - webob.exc.HTTPException: None                                                                        
        01:39:45,949 INFO  base [-1229558896] Session expired - forwarding to login page: /login?originalUrl=/error/document
        ----------------------------------------                                                                           
        Exception happened during processing of request from ('172.31.0.2', 36983)                                         
        Traceback (most recent call last):                                                                                 
          File "/usr/lib/python2.4/site-packages/Paste-1.7.2-py2.4.egg/paste/httpserver.py", line 1062, in process_request_in_thread
            self.finish_request(request, client_address)                                                                           
          File "/usr/lib/python2.4/SocketServer.py", line 254, in finish_request                                                   
            self.RequestHandlerClass(request, client_address, self)                                                                
          File "/usr/lib/python2.4/SocketServer.py", line 521, in __init__                                                         
            self.handle()                                                                                                          
          File "/usr/lib/python2.4/site-packages/Paste-1.7.2-py2.4.egg/paste/httpserver.py", line 436, in handle                   
            BaseHTTPRequestHandler.handle(self)                                                                                    
          File "/usr/lib/python2.4/BaseHTTPServer.py", line 316, in handle                                                         
            self.handle_one_request()                                                                                              
          File "/usr/lib/python2.4/site-packages/Paste-1.7.2-py2.4.egg/paste/httpserver.py", line 431, in handle_one_request       
            self.wsgi_execute()                                                                                                    
          File "/usr/lib/python2.4/site-packages/Paste-1.7.2-py2.4.egg/paste/httpserver.py", line 287, in wsgi_execute             
            self.wsgi_start_response)                                                                                              
          File "/usr/lib/python2.4/site-packages/Paste-1.7.2-py2.4.egg/paste/cascade.py", line 130, in __call__                    
            return self.apps[-1](environ, start_response)                                                                          
          File "/usr/lib/python2.4/site-packages/Paste-1.7.2-py2.4.egg/paste/registry.py", line 350, in __call__                   
            app_iter = self.application(environ, start_response)                                                                   
          File "/usr/lib/python2.4/site-packages/Pylons-0.9.7-py2.4.egg/pylons/middleware.py", line 213, in __call__               
            newstatus, headers, app_iter, exc_info = call_wsgi_application(
          File "/usr/lib/python2.4/site-packages/Pylons-0.9.7-py2.4.egg/pylons/util.py", line 94, in call_wsgi_application
            app_iter = application(environ, start_response)
          File "/usr/lib/python2.4/site-packages/WebError-0.10.1-py2.4.egg/weberror/errormiddleware.py", line 156, in __call__
            return self.application(environ, start_response)
          File "/usr/lib/python2.4/site-packages/AuthKit-0.4.3-py2.4.egg/authkit/authenticate/__init__.py", line 329, in __call__
            return self.app(environ, start_response)
          File "/usr/lib/python2.4/site-packages/AuthKit-0.4.3-py2.4.egg/authkit/authenticate/cookie.py", line 470, in __call__
            return self.app(environ, cookie_setting_start_response)
          File "/usr/lib/python2.4/site-packages/AuthKit-0.4.3-py2.4.egg/authkit/authenticate/forward.py", line 27, in __call__
            app_iter = self.application(environ, start_response)
          File "/usr/lib/python2.4/site-packages/Paste-1.7.2-py2.4.egg/paste/recursive.py", line 80, in __call__
            return self.application(environ, start_response)
          File "/usr/lib/python2.4/site-packages/AuthKit-0.4.3-py2.4.egg/authkit/authenticate/multi.py", line 87, in __call__
            app_iter = app(environ, start_response)
          File "/usr/lib/python2.4/site-packages/AuthKit-0.4.3-py2.4.egg/authkit/authenticate/multi.py", line 55, in app
            return self.default(environ, find)
          File "/usr/lib/python2.4/site-packages/AuthKit-0.4.3-py2.4.egg/authkit/authenticate/__init__.py", line 319, in __call__
            return self.app(environ, start_response)
          File "/usr/lib/python2.4/site-packages/Paste-1.7.2-py2.4.egg/paste/httpexceptions.py", line 636, in __call__
            return self.application(environ, start_response)
          File "/usr/lib/python2.4/site-packages/Beaker-1.2.3-py2.4.egg/beaker/middleware.py", line 81, in __call__
            return self.app(environ, start_response)
          File "/usr/lib/python2.4/site-packages/Beaker-1.2.3-py2.4.egg/beaker/middleware.py", line 160, in __call__
            return self.wrap_app(environ, session_start_response)
          File "/usr/lib/python2.4/site-packages/Routes-1.10.3-py2.4.egg/routes/middleware.py", line 130, in __call__
            response = self.app(environ, start_response)
          File "/usr/lib/python2.4/site-packages/Pylons-0.9.7-py2.4.egg/pylons/wsgiapp.py", line 125, in __call__
            response = self.dispatch(controller, environ, start_response)
          File "/usr/lib/python2.4/site-packages/Pylons-0.9.7-py2.4.egg/pylons/wsgiapp.py", line 324, in dispatch
            return controller(environ, start_response)
          File "/usr/lib/python2.4/site-packages/jcr-0.6.7rc1.egg/jcr/lib/base.py", line 100, in __call__
            self.__redirectIfSessionExpired()
          File "/usr/lib/python2.4/site-packages/jcr-0.6.7rc1.egg/jcr/lib/base.py", line 66, in __redirectIfSessionExpired
            redirect_to(url)
          File "/usr/lib/python2.4/site-packages/Pylons-0.9.7-py2.4.egg/pylons/controllers/util.py", line 224, in redirect_to
            return redirect(url_for(*args, **kargs), code)
          File "/usr/lib/python2.4/site-packages/Pylons-0.9.7-py2.4.egg/pylons/controllers/util.py", line 210, in redirect
            raise exc(location=url).exception
        HTTPException: None
        ----------------------------------------

    Any help is greatly appreciated.

     
    • John Dickson

      John Dickson - 2009-03-25

      Hi Joseph

      OK, I haven't seen that one before.  So, a few questions and observations:

      - First, do you get anything different if you connect using http://your_host_name:5000/, rather than localhost?

      - It looks like there's an exception being thrown really early in the call, but the attempt to display the error page is falling foul of the redirect to the login page.  Can you try going to http://localhost:5000/assets/jcr.css and see whether the stylesheet is displayed successfully?

      - Alternatively, what about if you go to http://localhost:5000/login ?

      - The message about "Cannot use kill_thread_limit as ctypes/killthread is not available" is not one I've seen before.  Which version of Python are you running?  And, if it's before 2.5, do you get a different result with 2.5 or 2.6?

      - Was this a fresh install of JCR (using "easy_install -f . jcr[...]"), or an upgrade (using "easy_install -U jcr-0.6.7rc1.egg")?

      - Did the install/upgrade appear to complete successfully?  Do you have the output available from the install process?

      - Do you get anything interesting if you execute "easy_install -U jcr-0.6.7rc1.egg" again?

      - Could you post a directory listing of your Python site-packages directory? (usually something like /usr/lib/python2.5/site-packages)

      Good luck!

      Cheers ......................... JD

       
    • joseph benavidez

      First of all, thanks so much for the quick response.

      >
      > Hi Joseph
      >
      > OK, I haven't seen that one before.  So, a few questions and observations:
      >
      > - First, do you get anything different if you connect using
      > http://your_host_name:5000/, rather than localhost?

      Same thing for both. Internal Server Error.

      >
      > - It looks like there's an exception being thrown really early in the call,
      > but the attempt to display the error page is falling foul of the redirect to
      > the login page.  Can you try going to http://localhost:5000/assets/jcr.css and
      > see whether the stylesheet is displayed successfully?

      Works and...

      >
      > - Alternatively, what about if you go to http://localhost:5000/login ?
      >

      Works! From here, all the links work fine. I've been working it pretty thoroughly, updating file sets, adding comments, changing states, etc. Works great!

      > - The message about "Cannot use kill_thread_limit as ctypes/killthread is not
      > available" is not one I've seen before.  Which version of Python are you running?
      > And, if it's before 2.5, do you get a different result with 2.5 or 2.6?
      >

      python-2.4.3-21-el5 at the moment. I think I saw a reference to a 2.5 el5 source rpm, but I'm not able to spend much time looking into changing python at the moment.

      > - Was this a fresh install of JCR (using "easy_install -f . jcr[...]"), or an
      > upgrade (using "easy_install -U jcr-0.6.7rc1.egg")?

      I at first installed the previous release and then installed this new one as if a fresh install.

      >
      > - Did the install/upgrade appear to complete successfully?  Do you have the
      > output available from the install process?

      I don't have the output available, sorry. It did appear to succeed with no problems.

      >
      > - Do you get anything interesting if you execute "easy_install -U jcr-0.6.7rc1.egg"
      > again?
      >

        [root@localhost ~]# easy_install -U jcr-0.6.7rc1.egg
        Searching for jcr-0.6.7rc1.egg
        Reading http://pypi.python.org/simple/jcr-0.6.7rc1.egg/
        Couldn't find index page for 'jcr-0.6.7rc1.egg' (maybe misspelled?)
        Scanning index of all packages (this may take a while)
        Reading http://pypi.python.org/simple/
        No local packages or download links found for jcr-0.6.7rc1.egg
        error: Could not find suitable distribution for Requirement.parse('jcr-0.6.7rc1.egg')

      but...

        [root@localhost ~]# easy_install -U jcr
        Searching for jcr
        Reading http://pypi.python.org/simple/jcr/
        Couldn't retrieve index page for 'jcr'
        Scanning index of all packages (this may take a while)
        Reading http://pypi.python.org/simple/
        Best match: jcr 0.6.7rc1
        Processing jcr-0.6.7rc1.egg
        jcr 0.6.7rc1 is already the active version in easy-install.pth

        Using /usr/lib/python2.4/site-packages/jcr-0.6.7rc1.egg
        Processing dependencies for jcr
        Finished processing dependencies for jcr

      > - Could you post a directory listing of your Python site-packages directory?
      > (usually something like /usr/lib/python2.5/site-packages)

      Sure, if you insist (190+ entries) :)

      [root@localhost ~]# ls -la /usr/lib/python2.4/site-packages/
      total 14280                                                
      drwxr-xr-x 51 root root   12288 Mar 25 13:28 .             
      drwxr-xr-x 17 root root   20480 Mar 23 15:29 ..            
      -rwxr-xr-x  1 root root    4212 May 24  2008 acutilmodule.so
      drwxr-xr-x  2 root root    4096 Mar 23 15:44 Alacarte      
      -rwxr-xr-x  1 root root   29320 Mar 17  2007 _alchemistmodule.so
      -rwxr-xr-x  1 root root   27545 Mar 17  2007 Alchemist.py      
      -rw-r--r--  1 root root   32342 Mar 17  2007 Alchemist.pyc     
      -rw-r--r--  1 root root   32342 Mar 17  2007 Alchemist.pyo     
      -rw-r--r--  1 root root   31809 May 25  2008 audit.py          
      -rw-r--r--  1 root root   28249 May 25  2008 audit.pyc         
      -rw-r--r--  1 root root   28249 May 25  2008 audit.pyo         
      -rwxr-xr-x  1 root root  115036 May 25  2008 _audit.so         
      -rwxr-xr-x  1 root root   33088 May 25  2008 auparse.so        
      drwxr-xr-x  4 root root    4096 Mar 23 16:02 AuthKit-0.4.3-py2.4.egg
      -rwxr-xr-x  1 root root   16537 May 24  2008 avc.py                
      -rw-r--r--  1 root root   17408 May 24  2008 avc.pyc               
      -rw-r--r--  1 root root   17408 May 24  2008 avc.pyo               
      drwxr-xr-x  4 root root    4096 Mar 23 16:02 Beaker-1.2.3-py2.4.egg
      -rwxr-xr-x  1 root root    4112 Mar 17  2007 CacheBlackBox.py      
      -rw-r--r--  1 root root    4932 Mar 17  2007 CacheBlackBox.pyc     
      -rw-r--r--  1 root root    4932 Mar 17  2007 CacheBlackBox.pyo     
      drwxr-xr-x  2 root root    4096 Mar 23 15:30 cairo                 
      -rwxr-xr-x  1 root root   33740 Jan  6  2007 cElementTree.so       
      -rwxr-xr-x  1 root root    1002 Jan  6  2007 CORBA.py              
      -rwxr-xr-x  1 root root     145 Jan  6  2007 CORBA.pyc             
      -rwxr-xr-x  1 root root     145 Jan  6  2007 CORBA.pyo             
      -rwxr-xr-x  1 root root    4996 Nov 11  2007 cracklibmodule.so     
      -rwxr-xr-x  1 root root   16652 Aug 15  2008 cupsext.so            
      -rwxr-xr-x  1 root root   66652 May 24  2008 cups.so               
      drwxr-xr-x  2 root root    4096 Mar 23 15:30 dbus                  
      drwxr-xr-x  3 root root    4096 Mar 23 16:03 decorator-3.0.0-py2.4.egg
      -rw-r--r--  1 root root   15061 Nov 17 16:44 drv_libxml2.py          
      -rw-r--r--  1 root root   10964 Nov 17 16:44 drv_libxml2.pyc         
      -rw-r--r--  1 root root   10964 Nov 17 16:44 drv_libxml2.pyo         
      -rw-r--r--  1 root root    8455 Jun 29  2004 dsml.py                 
      -rw-r--r--  1 root root    9299 Jan  9  2007 dsml.pyc                
      -rw-r--r--  1 root root     816 Mar 25 01:11 easy-install.pth        
      drwxr-xr-x  2 root root    4096 Mar 23 15:31 elementtree             
      -rw-r--r--  1 root root   57820 Mar 23 16:03 elementtree-1.2.7_20070827_preview-py2.4.egg
      -rwxr-xr-x  1 root root    6117 Mar 17  2007 FileBlackBox.py                            
      -rw-r--r--  1 root root    6000 Mar 17  2007 FileBlackBox.pyc                           
      -rw-r--r--  1 root root    6000 Mar 17  2007 FileBlackBox.pyo                           
      -rwxr-xr-x  1 root root    3553 Mar 17  2007 ForgeBlackBox.py                           
      -rw-r--r--  1 root root    3679 Mar 17  2007 ForgeBlackBox.pyc                          
      -rw-r--r--  1 root root    3679 Mar 17  2007 ForgeBlackBox.pyo                          
      drwxr-xr-x  4 root root    4096 Mar 23 16:03 FormEncode-1.2.1-py2.4.egg                 
      -rw-r--r--  1 root root    7060 Mar 14  2007 _gamin.a                                   
      -rwxr-xr-x  1 root root     868 Mar 14  2007 _gamin.la                                  
      -rw-r--r--  1 root root    6954 Mar 14  2007 gamin.py                                   
      -rw-r--r--  1 root root    8663 Mar 14  2007 gamin.pyc                                  
      -rw-r--r--  1 root root    8663 Mar 14  2007 gamin.pyo                                  
      -rwxr-xr-x  1 root root    7588 Mar 14  2007 _gamin.so                                  
      drwxr-xr-x  2 root root    4096 Mar 23 15:30 GMenuSimpleEditor                          
      -rwxr-xr-x  1 root root   21260 Jan  6  2007 gmenu.so                                   
      drwxr-xr-x 10 root root    4096 Mar 23 15:44 gtk-2.0                                    
      drwxr-xr-x  2 root root    4096 Mar 23 15:30 iniparse                                   
      drwxr-xr-x  2 root root    4096 Mar 23 15:43 invest                                     
      -rwxr-xr-x  1 root root  121048 Jan  6  2007 ixf86configmodule.so                       
      drwxr-xr-x  6 root root    4096 Mar 23 15:29 japanese                                   
      -rw-r--r--  1 root root     110 Jun  4  2002 japanese.pth                               
      drwxr-xr-x  4 root root    4096 Mar 23 16:01 jcr-0.6.6.1.egg                            
      drwxr-xr-x  4 root root    4096 Mar 25 01:35 jcr-0.6.7rc1.egg                           
      -rwxr-xr-x  1 root root  127344 May 28  2008 _kudzumodule.so                            
      -rw-r--r--  1 root root    9792 May 28  2008 kudzu.py                                   
      -rw-r--r--  1 root root   14197 May 28  2008 kudzu.pyc                                  
      -rw-r--r--  1 root root   14197 May 28  2008 kudzu.pyo                                  
      drwxr-xr-x  3 root root    4096 Mar 23 15:31 ldap                                       
      -rwxr-xr-x  1 root root   52148 Jan  9  2007 _ldap.so                                   
      -rw-r--r--  1 root root   11783 Jun 21  2005 ldapurl.py                                 
      -rw-r--r--  1 root root   12836 Jan  9  2007 ldapurl.pyc                                
      -rw-r--r--  1 root root   13597 Nov  7  2005 ldif.py                                    
      -rw-r--r--  1 root root   13687 Jan  9  2007 ldif.pyc                                   
      -rwxr-xr-x  1 root root   49764 May 24  2008 libusermodule.so                           
      -rw-r--r--  1 root root  388824 Nov 17 16:44 libxml2mod.a                               
      -rwxr-xr-x  1 root root     900 Nov 17 16:44 libxml2mod.la                              
      -rwxr-xr-x  1 root root  306880 Nov 17 16:44 libxml2mod.so                              
      -rw-r--r--  1 root root  333439 Nov 17 16:44 libxml2.py                                 
      -rw-r--r--  1 root root  413008 Nov 17 16:44 libxml2.pyc                                
      -rw-r--r--  1 root root  413008 Nov 17 16:44 libxml2.pyo                                
      -rwxr-xr-x  1 root root   57872 Jul 31  2008 libxsltmod.so                              
      -rw-r--r--  1 root root   39511 Jul 31  2008 libxslt.py                                 
      -rw-r--r--  1 root root   47172 Jul 31  2008 libxslt.pyc                                
      -rw-r--r--  1 root root   47172 Jul 31  2008 libxslt.pyo                                
      drwxr-xr-x  4 root root    4096 Mar 23 15:31 M2Crypto                                   
      drwxr-xr-x  4 root root    4096 Mar 23 16:03 Mako-0.2.4-py2.4.egg                       
      drwxr-xr-x  2 root root    4096 Mar 23 15:33 mod_python                                 
      drwxr-xr-x 10 root root    4096 Mar 25 01:08 mx                                         
      drwxr-xr-x  3 root root    4096 Mar 25 01:08 MySQLdb                                    
      -rw-r--r--  1 root root    2306 Apr  2  2006 _mysql_exceptions.py                       
      -rw-r--r--  1 root root    3683 Jan  5  2007 _mysql_exceptions.pyc                      
      -rw-r--r--  1 root root    3683 Jan  5  2007 _mysql_exceptions.pyo                      
      -rwxr-xr-x  1 root root   47880 Jan  5  2007 _mysql.so                                  
      drwxr-xr-x  5 root root    4096 Mar 23 16:03 nose-0.10.4-py2.4.egg                      
      drwxr-xr-x  5 root root    4096 Mar 23 15:31 Numeric                                    
      -rw-r--r--  1 root root       8 Jan  5  2007 Numeric.pth                                
      -rwxr-xr-x  1 root root   31164 May 24  2008 oddjobmodule.so                            
      -rwxr-xr-x  1 root root   86652 Jan  6  2007 ORBit.so                                   
      drwxr-xr-x  3 root root    4096 Mar 23 15:44 orca                                       
      drwxr-xr-x  4 root root    4096 Mar 23 16:03 Paste-1.7.2-py2.4.egg                      
      drwxr-xr-x  4 root root    4096 Mar 23 16:03 PasteDeploy-1.3.3-py2.4.egg                
      drwxr-xr-x  4 root root    4096 Mar 23 16:03 PasteScript-1.7.3-py2.4.egg                
      -rwxr-xr-x  1 root root   15360 Aug 15  2008 pcardext.so                                
      drwxr-xr-x  2 root root    4096 Mar 23 15:44 pirut                                      
      -rwxr-xr-x  1 root root     930 Jan  8  2007 planner.la                                 
      -rwxr-xr-x  1 root root   61516 Jan  8  2007 planner.so                                 
      -rwxr-xr-x  1 root root    1226 Jan  8  2007 plannerui.la                               
      -rwxr-xr-x  1 root root   10844 Jan  8  2007 plannerui.so                               
      -rwxr-xr-x  1 root root    1026 Jan  6  2007 PortableServer.py                          
      -rwxr-xr-x  1 root root     154 Jan  6  2007 PortableServer.pyc                         
      -rwxr-xr-x  1 root root     154 Jan  6  2007 PortableServer.pyo                         
      -rwxr-xr-x  1 root root    2495 Mar 17  2007 pyalchemist_python.py                      
      -rw-r--r--  1 root root    1618 Mar 17  2007 pyalchemist_python.pyc                     
      -rw-r--r--  1 root root    1618 Mar 17  2007 pyalchemist_python.pyo                     
      -rwxr-xr-x  1 root root   62308 Mar 17  2007 pyalchemist.so                             
      drwxr-xr-x  4 root root    4096 Mar 23 16:01 Pygments-1.0-py2.4.egg                     
      -rw-r--r--  1 root root       8 Mar 14  2007 pygtk.pth                                  
      -rw-r--r--  1 root root    2923 Mar 14  2007 pygtk.py                                   
      -rw-r--r--  1 root root    2016 Mar 14  2007 pygtk.pyc                                  
      -rw-r--r--  1 root root    1735 Mar 14  2007 pygtk.pyo                                  
      drwxr-xr-x  5 root root    4096 Mar 23 16:02 Pylons-0.9.6.2-py2.4.egg                   
      drwxr-xr-x  4 root root    4096 Mar 25 01:11 Pylons-0.9.7-py2.4.egg                     
      -rw-r--r--  1 root root   11668 Jan  5  2007 pyqtconfig.py                              
      -rw-r--r--  1 root root   10122 Jan  5  2007 pyqtconfig.pyc                             
      -rw-r--r--  1 root root   10122 Jan  5  2007 pyqtconfig.pyo                             
      drwxr-xr-x  3 root root    4096 Mar 23 23:59 pysqlite2                                  
      -rw-r--r--  1 root root  277626 Mar 23 16:03 python_openid-2.2.1-py2.4.egg              
      -rwxr-xr-x  1 root root  273112 Jan  5  2007 qtcanvas.so                                
      -rwxr-xr-x  1 root root  116940 Jan  5  2007 qtgl.so                                    
      -rwxr-xr-x  1 root root  229520 Jan  5  2007 qtnetwork.so                               
      -rwxr-xr-x  1 root root 6402656 Jan  5  2007 qt.so                                      
      -rwxr-xr-x  1 root root  568996 Jan  5  2007 qtsql.so                                   
      -rwxr-xr-x  1 root root  229336 Jan  5  2007 qttable.so                                 
      -rwxr-xr-x  1 root root   16372 Jan  5  2007 qtui.so                                    
      -rwxr-xr-x  1 root root  272820 Jan  5  2007 qtxml.so                                   
      -rw-r--r--  1 root root     119 May 24  2008 README                                     
      drwxr-xr-x  2 root root    4096 Mar 23 15:29 rhpl                                       
      drwxr-xr-x  2 root root    4096 Mar 23 15:44 rhpxl                                      
      drwxr-xr-x  4 root root    4096 Mar 23 16:04 Routes-1.10.3-py2.4.egg                    
      drwxr-xr-x  2 root root    4096 Mar 23 15:30 rpm                                        
      drwxr-xr-x  2 root root    4096 Mar 24 00:28 rpmUtils                                   
      drwxr-xr-x  4 root root    4096 Mar 23 15:44 sabayon                                    
      -rwxr-xr-x  1 root root    6208 May 24  2008 selinux.py                                 
      -rw-r--r--  1 root root    5537 May 24  2008 selinux.pyc                                
      -rw-r--r--  1 root root    5537 May 24  2008 selinux.pyo                                
      -rwxr-xr-x  1 root root   54080 May 24  2008 _selinux.so                                
      -rwxr-xr-x  1 root root   17523 Mar 14  2007 semanage.py                                
      -rw-r--r--  1 root root   13651 Mar 14  2007 semanage.pyc                               
      -rw-r--r--  1 root root   13651 Mar 14  2007 semanage.pyo                               
      -rwxr-xr-x  1 root root  183232 Mar 14  2007 _semanage.so                               
      -rwxr-xr-x  1 root root   41479 May 24  2008 seobject.py
      -rw-r--r--  1 root root   43751 May 24  2008 seobject.pyc
      -rw-r--r--  1 root root   43751 May 24  2008 seobject.pyo
      drwxr-xr-x  2 root root    4096 Mar 23 15:32 sepolgen
      drwxr-xr-x  2 root root    4096 Mar 23 15:44 setroubleshoot
      drwxr-xr-x  4 root root    4096 Mar 23 15:56 setuptools-0.6c9-py2.4.egg
      -rw-r--r--  1 root root      29 Mar 23 15:56 setuptools.pth
      -rw-r--r--  1 root root   55180 Mar 23 16:03 simplejson-2.0.8-py2.4.egg
      -rw-r--r--  1 root root   75136 Jan  6  2007 sipconfig.py
      -rw-r--r--  1 root root   58890 Jan  6  2007 sipconfig.pyc
      -rw-r--r--  1 root root   58890 Jan  6  2007 sipconfig.pyo
      -rw-r--r--  1 root root    2918 Jan  6  2007 sipdistutils.py
      -rw-r--r--  1 root root    2971 Jan  6  2007 sipdistutils.pyc
      -rw-r--r--  1 root root    2971 Jan  6  2007 sipdistutils.pyo
      -rwxr-xr-x  1 root root   60864 Jan  6  2007 sip.so
      -rwxr-xr-x  1 root root   28196 May 24  2008 _snackmodule.so
      -rwxr-xr-x  1 root root   27959 May 24  2008 snack.py
      -rw-r--r--  1 root root   34778 May 24  2008 snack.pyc
      -rw-r--r--  1 root root   34778 May 24  2008 snack.pyo
      drwxr-xr-x  3 root root    4096 Mar 24 00:27 sos
      drwxr-xr-x  4 root root    4096 Mar 23 16:02 SQLAlchemy-0.4.8-py2.4.egg
      drwxr-xr-x  2 root root    4096 Mar 23 15:31 sqlite
      -rw-r--r--  1 root root    2381 Jul 23  2007 sqlitecachec.py
      -rw-r--r--  1 root root    1803 May 24  2008 sqlitecachec.pyc
      -rw-r--r--  1 root root    1803 May 24  2008 sqlitecachec.pyo
      -rwxr-xr-x  1 root root   39844 May 24  2008 _sqlitecache.so
      -rwxr-xr-x  1 root root   30428 Jan  6  2007 _sqlite.so
      -rw-r--r--  1 root root   21910 Mar 25 01:11 Tempita-0.2-py2.4.egg
      -rwxr-xr-x  1 root root     814 Mar 17  2007 URLBlackBox.py
      -rw-r--r--  1 root root    1543 Mar 17  2007 URLBlackBox.pyc
      -rw-r--r--  1 root root    1543 Mar 17  2007 URLBlackBox.pyo
      drwxr-xr-x  2 root root    4096 Mar 23 15:31 urlgrabber
      drwxr-xr-x  4 root root    4096 Mar 25 01:11 WebError-0.10.1-py2.4.egg
      drwxr-xr-x  4 root root    4096 Mar 23 16:04 WebHelpers-0.6.4-py2.4.egg
      -rw-r--r--  1 root root  114092 Mar 23 16:03 WebOb-0.9.6.1-py2.4.egg
      -rw-r--r--  1 root root   43974 Mar 25 01:11 WebTest-1.1-py2.4.egg
      -rw-r--r--  1 root root    6539 Jan  6  2007 xf86config.py
      -rw-r--r--  1 root root    9407 Jan  6  2007 xf86config.pyc
      -rw-r--r--  1 root root    9407 Jan  6  2007 xf86config.pyo
      drwxr-xr-x 11 root root    4096 Mar 23 15:31 _xmlplus
      drwxr-xr-x  2 root root    4096 Mar 24 00:28 yum

      >
      > Good luck!
      >
      > Cheers ......................... JD

      So in summary, correcting the url worked wonders. Let me know if there's anything else I can do to help debug the original exception.

      Thanks,

      JJB

       
      • John Dickson

        John Dickson - 2009-03-25

        Thanks for all the information, and good to hear that it's working now.

        I suspect that it may have been a problem with persistent HTTP session data left from before the upgrade, and changes in the underlying libraries.  I'll add a note to the FAQ about deleting old sessions before upgrading.

        There should be no need to upgrade to Python 2.5+, as long as 2.4 is supported by the libraries I'm using.

        Cheers ....................... JD

         

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks