Apologies for the wide distribution- I could not locate something more limited. I''ve been trying to visit the wiki since Friday and get a python error (I''ve seen both ImportError and AttributeError) on the main page (http://mapstraction.com/trac/wiki). Error attached below. Looks at the bottom like the MySQL library went fishing. I''m new to mapstraction and trying to figure out how to implement it using GXT in Eclipse. I''m new to all involved techs (bg is C,C++,Ada,Python,Perl,PHP,etc.). Pointers would be most welcome :) Cheers, Michael ImportError Python 2.3.5: /home/highearth/bin/python Mon Sep 21 08:12:41 2009 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py in run(self=<trac.web._fcgi.Request object>) 568 """Runs the handler, flushes the streams, and ends the request.""" 569 try: 570 protocolStatus, appStatus = self.server.handler(self) 571 except: 572 traceback.print_exc(file=self.stderr) protocolStatus undefined, appStatus undefined, self = <trac.web._fcgi.Request object>, self.server = <trac.web._fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <trac.web._fcgi.WSGIServer object>> /home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py in handler(self=<trac.web._fcgi.WSGIServer object>, req=<trac.web._fcgi.Request object>) 1254 try: 1255 try: 1256 result = self.application(environ, start_response) 1257 try: 1258 for data in result: result = None, self = <trac.web._fcgi.WSGIServer object>, self.application = <function dispatch_request>, environ = {''DH_USER'': ''highearth'', ''DOCUMENT_ROOT'': ''/home/highearth/mapstraction.com/public'', ''GATEWAY_INTERFACE'': ''CGI/1.1'', ''HTTP_ACCEPT'': ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': ''Keep-Alive'', ''HTTP_COOKIE'': ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; __utmb=157703206.6.10.1253545012'', ...}, start_response = <function start_response> /home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py in dispatch_request(environ={''DH_USER'': ''highearth'', ''DOCUMENT_ROOT'': ''/home/highearth/mapstraction.com/public'', ''GATEWAY_INTERFACE'': ''CGI/1.1'', ''HTTP_ACCEPT'': ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': ''Keep-Alive'', ''HTTP_COOKIE'': ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; __utmb=157703206.6.10.1253545012'', ...}, start_response=<function start_response>) 389 env = env_error = None 390 try: 391 env = _open_environment(env_path, run_once=run_once) 392 if env.base_url: 393 environ[''trac.base_url''] = env.base_url env = None, global _open_environment = <function _open_environment>, env_path = ''/home/highearth/mapstraction.com/trac'', run_once = False /home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py in _open_environment(env_path=''/home/highearth/mapstraction.com/trac'', run_once=False) 56 try: 57 if not env_path in env_cache: 58 env_cache[env_path] = open_environment(env_path) 59 env = env_cache[env_path] 60 finally: global env_cache = {}, env_path = ''/home/highearth/mapstraction.com/trac'', global open_environment = <function open_environment> /home/highearth/packages/lib/python2.3/site-packages/trac/env.py in open_environment(env_path=''/home/highearth/mapstraction.com/trac'') 461 462 env = Environment(env_path) 463 if env.needs_upgrade(): 464 raise TracError, ''The Trac Environment needs to be upgraded. Run '' \ 465 ''trac-admin %s upgrade"'' % env_path env = <trac.env.Environment object>, env.needs_upgrade = <bound method Environment.needs_upgrade of <trac.env.Environment object>> /home/highearth/packages/lib/python2.3/site-packages/trac/env.py in needs_upgrade(self=<trac.env.Environment object>) 339 def needs_upgrade(self): 340 """Return whether the environment needs to be upgraded.""" 341 db = self.get_db_cnx() 342 for participant in self.setup_participants: 343 if participant.environment_needs_upgrade(db): db undefined, self = <trac.env.Environment object>, self.get_db_cnx = <bound method Environment.get_db_cnx of <trac.env.Environment object>> /home/highearth/packages/lib/python2.3/site-packages/trac/env.py in get_db_cnx(self=<trac.env.Environment object>) 201 def get_db_cnx(self): 202 """Return a database connection from the connection pool.""" 203 return DatabaseManager(self).get_connection() 204 205 def shutdown(self, tid=None): global DatabaseManager = <class ''trac.db.api.DatabaseManager''>, self = <trac.env.Environment object>, ).get_connection undefined /home/highearth/packages/lib/python2.3/site-packages/trac/db/api.py in get_connection(self=<trac.db.api.DatabaseManager object>) 74 connector, args = self._get_connector() 75 self._cnx_pool = ConnectionPool(5, connector, **args) 76 return self._cnx_pool.get_cnx(self.timeout or None) 77 78 def shutdown(self, tid=None): self = <trac.db.api.DatabaseManager object>, self._cnx_pool = <trac.db.pool.ConnectionPool object>, self._cnx_pool.get_cnx = <bound method ConnectionPool.get_cnx of <trac.db.pool.ConnectionPool object>>, self.timeout = 20, builtin None = None /home/highearth/packages/lib/python2.3/site-packages/trac/db/pool.py in get_cnx(self=<trac.db.pool.ConnectionPool object>, timeout=20) 99 self._cursize -= 1 100 elif self._maxsize and self._cursize < self._maxsize: 101 cnx = self._connector.get_connection(**self._kwargs) 102 self._cursize += 1 103 break cnx undefined, self = <trac.db.pool.ConnectionPool object>, self._connector = <trac.db.mysql_backend.MySQLConnector object>, self._connector.get_connection = <bound method MySQLConnector.get_connection of <trac.db.mysql_backend.MySQLConnector object>>, self._kwargs = {''host'': u''mapdb.highearthorbit.com'', ''password'': *******, ''path'': u''/mapstraction'', ''user'': u''mapstraction''} /home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py in get_connection(self=<trac.db.mysql_backend.MySQLConnector object>, path=u''/mapstraction'', user=u''mapstraction'', password=*******, host=u''mapdb.highearthorbit.com'', port=None, params={}) 38 def get_connection(self, path, user=None, password=None, host=None, 39 port=None, params={}): 40 return MySQLConnection(path, user, password, host, port, params) 41 42 def init_db(self, path, user=None, password=None, host=None, port=None, global MySQLConnection = <class ''trac.db.mysql_backend.MySQLConnection''>, path = u''/mapstraction'', user = u''mapstraction'', password = *******, host = u''mapdb.highearthorbit.com'', port = None, params = {} /home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py in __init__(self=<trac.db.mysql_backend.MySQLConnection object>, path=u''/mapstraction'', user=u''mapstraction'', password=*******, host=u''mapdb.highearthorbit.com'', port=None, params={}) 130 def __init__(self, path, user=None, password=None, host=None, 131 port=None, params={}): 132 import MySQLdb 133 134 if path.startswith(''/''): MySQLdb undefined /home/highearth/mapstraction.com/public/trac/build/bdist.linux-i686/egg/MySQLdb/__init__.py /home/highearth/mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py /home/highearth/mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py in __bootstrap__() ImportError: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory args = (''libmysqlclient_r.so.15: cannot open shared object file: No such file or directory'',) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20090921/c61cd740/attachment-0001.htm>
Hi Michael, welcome to the project. unfortunately I don''t know anything about the wiki, etc. but, if you''re new to the project, why not use v2? it''s all hosted on google code http://code.google.com/p/mapstraction/ thanks for your help Ed On Mon, Sep 21, 2009 at 16:16, Kazin, Michael J. <mkazin at mitre.org> wrote:> Apologies for the wide distribution- I could not locate something more > limited. > > > > I?ve been trying to visit the wiki since Friday and get a python error > (I?ve seen both ImportError and AttributeError) on the main page ( > http://mapstraction.com/trac/wiki). Error attached below. Looks at the > bottom like the MySQL library went fishing. > > > > I?m new to mapstraction and trying to figure out how to implement it using > GXT in Eclipse. I?m new to all involved techs (bg is > C,C++,Ada,Python,Perl,PHP,etc.). Pointers would be most welcome :) > > > > Cheers, > > > > Michael > > > > > > > > > > > > ImportError Python 2.3.5: /home/highearth/bin/python > > Mon Sep 21 08:12:41 2009 > > A problem occurred in a Python script. Here is the sequence of function > calls leading up to the error, in the order they occurred. > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py in > run(self=<trac.web._fcgi.Request object>) > > 568 """Runs the handler, flushes the streams, and ends the > request.""" > > 569 try: > > 570 protocolStatus, appStatus = self.server.handler(self) > > 571 except: > > 572 traceback.print_exc(file=self.stderr) > > protocolStatus undefined, appStatus undefined, self > <trac.web._fcgi.Request object>, self.server = <trac.web._fcgi.WSGIServer > object>, self.server.handler = <bound method WSGIServer.handler of > <trac.web._fcgi.WSGIServer object>> > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py in > handler(self=<trac.web._fcgi.WSGIServer object>, req=<trac.web._fcgi.Request > object>) > > 1254 try: > > 1255 try: > > 1256 result = self.application(environ, start_response) > > 1257 try: > > 1258 for data in result: > > result = None, self = <trac.web._fcgi.WSGIServer object>, self.application > = <function dispatch_request>, environ = {''DH_USER'': ''highearth'', > ''DOCUMENT_ROOT'': ''/home/highearth/mapstraction.com/public'', > ''GATEWAY_INTERFACE'': ''CGI/1.1'', ''HTTP_ACCEPT'': > ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', > ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', > ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': > ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': > ''Keep-Alive'', ''HTTP_COOKIE'': > ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; > __utmb=157703206.6.10.1253545012'', ...}, start_response = <function > start_response> > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py in > dispatch_request(environ={''DH_USER'': ''highearth'', ''DOCUMENT_ROOT'': > ''/home/highearth/mapstraction.com/public'', ''GATEWAY_INTERFACE'': ''CGI/1.1'', > ''HTTP_ACCEPT'': > ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', > ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', > ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': > ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': > ''Keep-Alive'', ''HTTP_COOKIE'': > ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; > __utmb=157703206.6.10.1253545012'', ...}, start_response=<function > start_response>) > > 389 env = env_error = None > > 390 try: > > 391 env = _open_environment(env_path, run_once=run_once) > > 392 if env.base_url: > > 393 environ[''trac.base_url''] = env.base_url > > env = None, global _open_environment = <function _open_environment>, > env_path = ''/home/highearth/mapstraction.com/trac'', run_once = False > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py in > _open_environment(env_path=''/home/highearth/mapstraction.com/trac'', > run_once=False) > > 56 try: > > 57 if not env_path in env_cache: > > 58 env_cache[env_path] = open_environment(env_path) > > 59 env = env_cache[env_path] > > 60 finally: > > global env_cache = {}, env_path = ''/home/highearth/mapstraction.com/trac'', > global open_environment = <function open_environment> > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/env.py in > open_environment(env_path=''/home/highearth/mapstraction.com/trac'') > > 461 > > 462 env = Environment(env_path) > > 463 if env.needs_upgrade(): > > 464 raise TracError, ''The Trac Environment needs to be upgraded. > Run '' \ > > 465 ''trac-admin %s upgrade"'' % env_path > > env = <trac.env.Environment object>, env.needs_upgrade = <bound method > Environment.needs_upgrade of <trac.env.Environment object>> > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/env.py in > needs_upgrade(self=<trac.env.Environment object>) > > 339 def needs_upgrade(self): > > 340 """Return whether the environment needs to be upgraded.""" > > 341 db = self.get_db_cnx() > > 342 for participant in self.setup_participants: > > 343 if participant.environment_needs_upgrade(db): > > db undefined, self = <trac.env.Environment object>, self.get_db_cnx > <bound method Environment.get_db_cnx of <trac.env.Environment object>> > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/env.py in > get_db_cnx(self=<trac.env.Environment object>) > > 201 def get_db_cnx(self): > > 202 """Return a database connection from the connection pool.""" > > 203 return DatabaseManager(self).get_connection() > > 204 > > 205 def shutdown(self, tid=None): > > global DatabaseManager = <class ''trac.db.api.DatabaseManager''>, self > <trac.env.Environment object>, ).get_connection undefined > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/db/api.py in > get_connection(self=<trac.db.api.DatabaseManager object>) > > 74 connector, args = self._get_connector() > > 75 self._cnx_pool = ConnectionPool(5, connector, **args) > > 76 return self._cnx_pool.get_cnx(self.timeout or None) > > 77 > > 78 def shutdown(self, tid=None): > > self = <trac.db.api.DatabaseManager object>, self._cnx_pool > <trac.db.pool.ConnectionPool object>, self._cnx_pool.get_cnx = <bound method > ConnectionPool.get_cnx of <trac.db.pool.ConnectionPool object>>, > self.timeout = 20, builtin None = None > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/db/pool.py in > get_cnx(self=<trac.db.pool.ConnectionPool object>, timeout=20) > > 99 self._cursize -= 1 > > 100 elif self._maxsize and self._cursize < self._maxsize: > > 101 cnx > self._connector.get_connection(**self._kwargs) > > 102 self._cursize += 1 > > 103 break > > cnx undefined, self = <trac.db.pool.ConnectionPool object>, self._connector > = <trac.db.mysql_backend.MySQLConnector object>, > self._connector.get_connection = <bound method MySQLConnector.get_connection > of <trac.db.mysql_backend.MySQLConnector object>>, self._kwargs = {''host'': > u''mapdb.highearthorbit.com'', ''password'': *******, ''path'': > u''/mapstraction'', ''user'': u''mapstraction''} > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py > in get_connection(self=<trac.db.mysql_backend.MySQLConnector object>, > path=u''/mapstraction'', user=u''mapstraction'', password=*******, host=u'' > mapdb.highearthorbit.com'', port=None, params={}) > > 38 def get_connection(self, path, user=None, password=None, > host=None, > > 39 port=None, params={}): > > 40 return MySQLConnection(path, user, password, host, port, > params) > > 41 > > 42 def init_db(self, path, user=None, password=None, host=None, > port=None, > > global MySQLConnection = <class ''trac.db.mysql_backend.MySQLConnection''>, > path = u''/mapstraction'', user = u''mapstraction'', password = *******, host > u''mapdb.highearthorbit.com'', port = None, params = {} > > > > /home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py > in __init__(self=<trac.db.mysql_backend.MySQLConnection object>, > path=u''/mapstraction'', user=u''mapstraction'', password=*******, host=u'' > mapdb.highearthorbit.com'', port=None, params={}) > > 130 def __init__(self, path, user=None, password=None, host=None, > > 131 port=None, params={}): > > 132 import MySQLdb > > 133 > > 134 if path.startswith(''/''): > > MySQLdb undefined > > > > /home/highearth/ > mapstraction.com/public/trac/build/bdist.linux-i686/egg/MySQLdb/__init__.py > > > > /home/highearth/ > mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py > > > > /home/highearth/ > mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py in > __bootstrap__() > > > > ImportError: libmysqlclient_r.so.15: cannot open shared object file: No > such file or directory > > args = (''libmysqlclient_r.so.15: cannot open shared object file: No > such file or directory'',) > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20090921/9c6b6711/attachment.htm>
Yes, the hosting where Mapstraction is housed changed and Trac got "hosed" (to use the technical term). The project wiki is now primarily at http://code.google.com/p/mapstraction I will update the links to point there. Andrew On Mon, Sep 21, 2009 at 11:22 AM, Ed Freyfogle <edf at sloan.mit.edu> wrote:> Hi Michael, > > welcome to the project. > > unfortunately I don''t know anything about the wiki, etc. > but, if you''re new to the project, why not use v2? > > it''s all hosted on google code > http://code.google.com/p/mapstraction/ > > thanks for your help > Ed > > > On Mon, Sep 21, 2009 at 16:16, Kazin, Michael J. <mkazin at mitre.org> wrote: >> >> Apologies for the wide distribution- I could not locate something more >> limited. >> >> >> >> I?ve been trying to visit the wiki since Friday and get a python error >> (I?ve seen both ImportError and AttributeError) on the main page >> (http://mapstraction.com/trac/wiki).?? Error attached below.? Looks at the >> bottom like the MySQL library went fishing. >> >> >> >> I?m new to mapstraction and trying to figure out how to implement it using >> GXT in Eclipse.? I?m new to all involved techs (bg is >> C,C++,Ada,Python,Perl,PHP,etc.).? Pointers would be most welcome :) >> >> >> >> Cheers, >> >> >> >> Michael >> >> >> >> >> >> >> >> >> >> >> >> ImportError??????? Python 2.3.5: /home/highearth/bin/python >> >> Mon Sep 21 08:12:41 2009 >> >> A problem occurred in a Python script. Here is the sequence of function >> calls leading up to the error, in the order they occurred. >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py in >> run(self=<trac.web._fcgi.Request object>) >> >> ? 568???????? """Runs the handler, flushes the streams, and ends the >> request.""" >> >> ? 569 ????????try: >> >> ? 570???????????? protocolStatus, appStatus = self.server.handler(self) >> >> ? 571???????? except: >> >> ? 572???????????? traceback.print_exc(file=self.stderr) >> >> protocolStatus undefined, appStatus undefined, self >> <trac.web._fcgi.Request object>, self.server = <trac.web._fcgi.WSGIServer >> object>, self.server.handler = <bound method WSGIServer.handler of >> <trac.web._fcgi.WSGIServer object>> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py in >> handler(self=<trac.web._fcgi.WSGIServer object>, req=<trac.web._fcgi.Request >> object>) >> >> ?1254???????? try: >> >> ?1255???????????? try: >> >> ?1256???????????????? result = self.application(environ, start_response) >> >> ?1257???????????????? try: >> >> ?1258???????????????????? for data in result: >> >> result = None, self = <trac.web._fcgi.WSGIServer object>, self.application >> = <function dispatch_request>, environ = {''DH_USER'': ''highearth'', >> ''DOCUMENT_ROOT'': ''/home/highearth/mapstraction.com/public'', >> ''GATEWAY_INTERFACE'': ''CGI/1.1'', ''HTTP_ACCEPT'': >> ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', >> ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', >> ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': >> ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': >> ''Keep-Alive'', ''HTTP_COOKIE'': >> ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; >> __utmb=157703206.6.10.1253545012'', ...}, start_response = <function >> start_response> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py in >> dispatch_request(environ={''DH_USER'': ''highearth'', ''DOCUMENT_ROOT'': >> ''/home/highearth/mapstraction.com/public'', ''GATEWAY_INTERFACE'': ''CGI/1.1'', >> ''HTTP_ACCEPT'': >> ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', >> ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', >> ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': >> ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': >> ''Keep-Alive'', ''HTTP_COOKIE'': >> ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; >> __utmb=157703206.6.10.1253545012'', ...}, start_response=<function >> start_response>) >> >> ? 389???? env = env_error = None >> >> ? 390???? try: >> >> ? 391???????? env = _open_environment(env_path, run_once=run_once) >> >> ? 392???????? if env.base_url: >> >> ? 393???????????? environ[''trac.base_url''] = env.base_url >> >> env = None, global _open_environment = <function _open_environment>, >> env_path = ''/home/highearth/mapstraction.com/trac'', run_once = False >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py in >> _open_environment(env_path=''/home/highearth/mapstraction.com/trac'', >> run_once=False) >> >> ?? 56???? try: >> >> ?? 57???????? if not env_path in env_cache: >> >> ?? 58???????????? env_cache[env_path] = open_environment(env_path) >> >> ?? 59???????? env = env_cache[env_path] >> >> ?? 60???? finally: >> >> global env_cache = {}, env_path = ''/home/highearth/mapstraction.com/trac'', >> global open_environment = <function open_environment> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/env.py in >> open_environment(env_path=''/home/highearth/mapstraction.com/trac'') >> >> ? 461 >> >> ? 462???? env = Environment(env_path) >> >> ? 463???? if env.needs_upgrade(): >> >> ? 464???????? raise TracError, ''The Trac Environment needs to be upgraded. >> Run '' \ >> >> ? 465??????????????????????? ??''trac-admin %s upgrade"'' % env_path >> >> env = <trac.env.Environment object>, env.needs_upgrade = <bound method >> Environment.needs_upgrade of <trac.env.Environment object>> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/env.py in >> needs_upgrade(self=<trac.env.Environment object>) >> >> ? 339???? def needs_upgrade(self): >> >> ? 340???????? """Return whether the environment needs to be upgraded.""" >> >> ? 341???????? db = self.get_db_cnx() >> >> ? 342???????? for participant in self.setup_participants: >> >> ? 343???????????? if participant.environment_needs_upgrade(db): >> >> db undefined, self = <trac.env.Environment object>, self.get_db_cnx >> <bound method Environment.get_db_cnx of <trac.env.Environment object>> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/env.py in >> get_db_cnx(self=<trac.env.Environment object>) >> >> ? 201???? def get_db_cnx(self): >> >> ? 202???????? """Return a database connection from the connection pool.""" >> >> ? 203???????? return DatabaseManager(self).get_connection() >> >> ? 204 >> >> ? 205???? def shutdown(self, tid=None): >> >> global DatabaseManager = <class ''trac.db.api.DatabaseManager''>, self >> <trac.env.Environment object>, ).get_connection undefined >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/db/api.py in >> get_connection(self=<trac.db.api.DatabaseManager object>) >> >> ?? 74???????????? connector, args = self._get_connector() >> >> ?? 75???????????? self._cnx_pool = ConnectionPool(5, connector, **args) >> >> ?? 76???????? return self._cnx_pool.get_cnx(self.timeout or None) >> >> ?? 77 >> >> ?? 78???? def shutdown(self, tid=None): >> >> self = <trac.db.api.DatabaseManager object>, self._cnx_pool >> <trac.db.pool.ConnectionPool object>, self._cnx_pool.get_cnx = <bound method >> ConnectionPool.get_cnx of <trac.db.pool.ConnectionPool object>>, >> self.timeout = 20, builtin None = None >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/db/pool.py in >> get_cnx(self=<trac.db.pool.ConnectionPool object>, timeout=20) >> >> ?? 99???????????????????????? self._cursize -= 1 >> >> ? 100???????????????? elif self._maxsize and self._cursize < >> self._maxsize: >> >> ? 101???????????????????? cnx >> self._connector.get_connection(**self._kwargs) >> >> ? 102???????????????????? self._cursize += 1 >> >> ? 103???????????????????? break >> >> cnx undefined, self = <trac.db.pool.ConnectionPool object>, >> self._connector = <trac.db.mysql_backend.MySQLConnector object>, >> self._connector.get_connection = <bound method MySQLConnector.get_connection >> of <trac.db.mysql_backend.MySQLConnector object>>, self._kwargs = {''host'': >> u''mapdb.highearthorbit.com'', ''password'': *******, ''path'': u''/mapstraction'', >> ''user'': u''mapstraction''} >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py >> in get_connection(self=<trac.db.mysql_backend.MySQLConnector object>, >> path=u''/mapstraction'', user=u''mapstraction'', password=*******, >> host=u''mapdb.highearthorbit.com'', port=None, params={}) >> >> ?? 38???? def get_connection(self, path, user=None, password=None, >> host=None, >> >> ?? 39??????????????????????? port=None, params={}): >> >> ?? 40???????? return MySQLConnection(path, user, password, host, port, >> params) >> >> ?? 41 >> >> ?? 42???? def init_db(self, path, user=None, password=None, host=None, >> port=None, >> >> global MySQLConnection = <class ''trac.db.mysql_backend.MySQLConnection''>, >> path = u''/mapstraction'', user = u''mapstraction'', password = *******, host >> u''mapdb.highearthorbit.com'', port = None, params = {} >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py >> in __init__(self=<trac.db.mysql_backend.MySQLConnection object>, >> path=u''/mapstraction'', user=u''mapstraction'', password=*******, >> host=u''mapdb.highearthorbit.com'', port=None, params={}) >> >> ? 130???? def __init__(self, path, user=None, password=None, host=None, >> >> ? 131????????????????? port=None, params={}): >> >> ? 132???????? import MySQLdb >> >> ? 133 >> >> ? 134???????? if path.startswith(''/''): >> >> MySQLdb undefined >> >> >> >> >> ?/home/highearth/mapstraction.com/public/trac/build/bdist.linux-i686/egg/MySQLdb/__init__.py >> >> >> >> >> ?/home/highearth/mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py >> >> >> >> >> ?/home/highearth/mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py >> in __bootstrap__() >> >> >> >> ImportError: libmysqlclient_r.so.15: cannot open shared object file: No >> such file or directory >> >> ????? args = (''libmysqlclient_r.so.15: cannot open shared object file: No >> such file or directory'',) >> >> _______________________________________________ >> Mapstraction mailing list >> Mapstraction at lists.mapstraction.com >> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >> > > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >-- Andrew Turner mobile: 248.982.3609 andrew at fortiusone.com http://highearthorbit.com http://geocommons.com Helping build the Geospatial Web Introduction to Neogeography - http://oreilly.com/catalog/neogeography
This raises a good point. Can we (or I) modify the content of http://www.mapstraction.com to push new users/contributors to v2 ? right now I think it gets a little lost, and I think we all benefit by focusing more effort on v2. If you agree please let me know how to proceed. best, Ed On Mon, Sep 21, 2009 at 16:28, Andrew Turner <andrew at highearthorbit.com>wrote:> Yes, the hosting where Mapstraction is housed changed and Trac got > "hosed" (to use the technical term). > > The project wiki is now primarily at http://code.google.com/p/mapstraction > > I will update the links to point there. > > Andrew > > On Mon, Sep 21, 2009 at 11:22 AM, Ed Freyfogle <edf at sloan.mit.edu> wrote: > > Hi Michael, > > > > welcome to the project. > > > > unfortunately I don''t know anything about the wiki, etc. > > but, if you''re new to the project, why not use v2? > > > > it''s all hosted on google code > > http://code.google.com/p/mapstraction/ > > > > thanks for your help > > Ed > > > > > > On Mon, Sep 21, 2009 at 16:16, Kazin, Michael J. <mkazin at mitre.org> > wrote: > >> > >> Apologies for the wide distribution- I could not locate something more > >> limited. > >> > >> > >> > >> I?ve been trying to visit the wiki since Friday and get a python error > >> (I?ve seen both ImportError and AttributeError) on the main page > >> (http://mapstraction.com/trac/wiki). Error attached below. Looks at > the > >> bottom like the MySQL library went fishing. > >> > >> > >> > >> I?m new to mapstraction and trying to figure out how to implement it > using > >> GXT in Eclipse. I?m new to all involved techs (bg is > >> C,C++,Ada,Python,Perl,PHP,etc.). Pointers would be most welcome :) > >> > >> > >> > >> Cheers, > >> > >> > >> > >> Michael > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> ImportError Python 2.3.5: /home/highearth/bin/python > >> > >> Mon Sep 21 08:12:41 2009 > >> > >> A problem occurred in a Python script. Here is the sequence of function > >> calls leading up to the error, in the order they occurred. > >> > >> > >> > >> /home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py > in > >> run(self=<trac.web._fcgi.Request object>) > >> > >> 568 """Runs the handler, flushes the streams, and ends the > >> request.""" > >> > >> 569 try: > >> > >> 570 protocolStatus, appStatus = self.server.handler(self) > >> > >> 571 except: > >> > >> 572 traceback.print_exc(file=self.stderr) > >> > >> protocolStatus undefined, appStatus undefined, self > >> <trac.web._fcgi.Request object>, self.server > <trac.web._fcgi.WSGIServer > >> object>, self.server.handler = <bound method WSGIServer.handler of > >> <trac.web._fcgi.WSGIServer object>> > >> > >> > >> > >> /home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py > in > >> handler(self=<trac.web._fcgi.WSGIServer object>, > req=<trac.web._fcgi.Request > >> object>) > >> > >> 1254 try: > >> > >> 1255 try: > >> > >> 1256 result = self.application(environ, start_response) > >> > >> 1257 try: > >> > >> 1258 for data in result: > >> > >> result = None, self = <trac.web._fcgi.WSGIServer object>, > self.application > >> = <function dispatch_request>, environ = {''DH_USER'': ''highearth'', > >> ''DOCUMENT_ROOT'': ''/home/highearth/mapstraction.com/public'', > >> ''GATEWAY_INTERFACE'': ''CGI/1.1'', ''HTTP_ACCEPT'': > >> > ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', > >> ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', > >> ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': > >> ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': > >> ''Keep-Alive'', ''HTTP_COOKIE'': > >> ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; > >> __utmb=157703206.6.10.1253545012'', ...}, start_response = <function > >> start_response> > >> > >> > >> > >> /home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py > in > >> dispatch_request(environ={''DH_USER'': ''highearth'', ''DOCUMENT_ROOT'': > >> ''/home/highearth/mapstraction.com/public'', ''GATEWAY_INTERFACE'': > ''CGI/1.1'', > >> ''HTTP_ACCEPT'': > >> > ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', > >> ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', > >> ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': > >> ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': > >> ''Keep-Alive'', ''HTTP_COOKIE'': > >> ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; > >> __utmb=157703206.6.10.1253545012'', ...}, start_response=<function > >> start_response>) > >> > >> 389 env = env_error = None > >> > >> 390 try: > >> > >> 391 env = _open_environment(env_path, run_once=run_once) > >> > >> 392 if env.base_url: > >> > >> 393 environ[''trac.base_url''] = env.base_url > >> > >> env = None, global _open_environment = <function _open_environment>, > >> env_path = ''/home/highearth/mapstraction.com/trac'', run_once = False > >> > >> > >> > >> /home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py > in > >> _open_environment(env_path=''/home/highearth/mapstraction.com/trac'', > >> run_once=False) > >> > >> 56 try: > >> > >> 57 if not env_path in env_cache: > >> > >> 58 env_cache[env_path] = open_environment(env_path) > >> > >> 59 env = env_cache[env_path] > >> > >> 60 finally: > >> > >> global env_cache = {}, env_path = ''/home/highearth/ > mapstraction.com/trac'', > >> global open_environment = <function open_environment> > >> > >> > >> > >> /home/highearth/packages/lib/python2.3/site-packages/trac/env.py in > >> open_environment(env_path=''/home/highearth/mapstraction.com/trac'') > >> > >> 461 > >> > >> 462 env = Environment(env_path) > >> > >> 463 if env.needs_upgrade(): > >> > >> 464 raise TracError, ''The Trac Environment needs to be > upgraded. > >> Run '' \ > >> > >> 465 ''trac-admin %s upgrade"'' % env_path > >> > >> env = <trac.env.Environment object>, env.needs_upgrade = <bound method > >> Environment.needs_upgrade of <trac.env.Environment object>> > >> > >> > >> > >> /home/highearth/packages/lib/python2.3/site-packages/trac/env.py in > >> needs_upgrade(self=<trac.env.Environment object>) > >> > >> 339 def needs_upgrade(self): > >> > >> 340 """Return whether the environment needs to be upgraded.""" > >> > >> 341 db = self.get_db_cnx() > >> > >> 342 for participant in self.setup_participants: > >> > >> 343 if participant.environment_needs_upgrade(db): > >> > >> db undefined, self = <trac.env.Environment object>, self.get_db_cnx > >> <bound method Environment.get_db_cnx of <trac.env.Environment object>> > >> > >> > >> > >> /home/highearth/packages/lib/python2.3/site-packages/trac/env.py in > >> get_db_cnx(self=<trac.env.Environment object>) > >> > >> 201 def get_db_cnx(self): > >> > >> 202 """Return a database connection from the connection > pool.""" > >> > >> 203 return DatabaseManager(self).get_connection() > >> > >> 204 > >> > >> 205 def shutdown(self, tid=None): > >> > >> global DatabaseManager = <class ''trac.db.api.DatabaseManager''>, self > >> <trac.env.Environment object>, ).get_connection undefined > >> > >> > >> > >> /home/highearth/packages/lib/python2.3/site-packages/trac/db/api.py in > >> get_connection(self=<trac.db.api.DatabaseManager object>) > >> > >> 74 connector, args = self._get_connector() > >> > >> 75 self._cnx_pool = ConnectionPool(5, connector, **args) > >> > >> 76 return self._cnx_pool.get_cnx(self.timeout or None) > >> > >> 77 > >> > >> 78 def shutdown(self, tid=None): > >> > >> self = <trac.db.api.DatabaseManager object>, self._cnx_pool > >> <trac.db.pool.ConnectionPool object>, self._cnx_pool.get_cnx = <bound > method > >> ConnectionPool.get_cnx of <trac.db.pool.ConnectionPool object>>, > >> self.timeout = 20, builtin None = None > >> > >> > >> > >> /home/highearth/packages/lib/python2.3/site-packages/trac/db/pool.py in > >> get_cnx(self=<trac.db.pool.ConnectionPool object>, timeout=20) > >> > >> 99 self._cursize -= 1 > >> > >> 100 elif self._maxsize and self._cursize < > >> self._maxsize: > >> > >> 101 cnx > >> self._connector.get_connection(**self._kwargs) > >> > >> 102 self._cursize += 1 > >> > >> 103 break > >> > >> cnx undefined, self = <trac.db.pool.ConnectionPool object>, > >> self._connector = <trac.db.mysql_backend.MySQLConnector object>, > >> self._connector.get_connection = <bound method > MySQLConnector.get_connection > >> of <trac.db.mysql_backend.MySQLConnector object>>, self._kwargs > {''host'': > >> u''mapdb.highearthorbit.com'', ''password'': *******, ''path'': > u''/mapstraction'', > >> ''user'': u''mapstraction''} > >> > >> > >> > >> > >> > /home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py > >> in get_connection(self=<trac.db.mysql_backend.MySQLConnector object>, > >> path=u''/mapstraction'', user=u''mapstraction'', password=*******, > >> host=u''mapdb.highearthorbit.com'', port=None, params={}) > >> > >> 38 def get_connection(self, path, user=None, password=None, > >> host=None, > >> > >> 39 port=None, params={}): > >> > >> 40 return MySQLConnection(path, user, password, host, port, > >> params) > >> > >> 41 > >> > >> 42 def init_db(self, path, user=None, password=None, host=None, > >> port=None, > >> > >> global MySQLConnection = <class > ''trac.db.mysql_backend.MySQLConnection''>, > >> path = u''/mapstraction'', user = u''mapstraction'', password = *******, > host > >> u''mapdb.highearthorbit.com'', port = None, params = {} > >> > >> > >> > >> > >> > /home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py > >> in __init__(self=<trac.db.mysql_backend.MySQLConnection object>, > >> path=u''/mapstraction'', user=u''mapstraction'', password=*******, > >> host=u''mapdb.highearthorbit.com'', port=None, params={}) > >> > >> 130 def __init__(self, path, user=None, password=None, host=None, > >> > >> 131 port=None, params={}): > >> > >> 132 import MySQLdb > >> > >> 133 > >> > >> 134 if path.startswith(''/''): > >> > >> MySQLdb undefined > >> > >> > >> > >> > >> /home/highearth/ > mapstraction.com/public/trac/build/bdist.linux-i686/egg/MySQLdb/__init__.py > >> > >> > >> > >> > >> /home/highearth/ > mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py > >> > >> > >> > >> > >> /home/highearth/ > mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py > >> in __bootstrap__() > >> > >> > >> > >> ImportError: libmysqlclient_r.so.15: cannot open shared object file: No > >> such file or directory > >> > >> args = (''libmysqlclient_r.so.15: cannot open shared object file: > No > >> such file or directory'',) > >> > >> _______________________________________________ > >> Mapstraction mailing list > >> Mapstraction at lists.mapstraction.com > >> > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >> > > > > > > _______________________________________________ > > Mapstraction mailing list > > Mapstraction at lists.mapstraction.com > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > > > > -- > Andrew Turner > mobile: 248.982.3609 > andrew at fortiusone.com > http://highearthorbit.com > > http://geocommons.com Helping build the Geospatial Web > Introduction to Neogeography - http://oreilly.com/catalog/neogeography >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20090921/d9c5cdf8/attachment-0001.htm>
Yep - it''s in SVN (then I update on the mapstraction.com server) There aren''t post-commit hooks (though that would be neat) - so just ping me when it''s updated. On Mon, Sep 21, 2009 at 11:34 AM, Ed Freyfogle <edf at sloan.mit.edu> wrote:> This raises a good point. Can we (or I) modify the content of > http://www.mapstraction.com to push new users/contributors to v2 ? > > right now I think it gets a little lost, and I think we all benefit by > focusing more effort on v2. > > If you agree please let me know how to proceed. > > best, > Ed > > > > On Mon, Sep 21, 2009 at 16:28, Andrew Turner <andrew at highearthorbit.com> > wrote: >> >> Yes, the ?hosting where Mapstraction is housed changed and Trac got >> "hosed" (to use the technical term). >> >> The project wiki is now primarily at http://code.google.com/p/mapstraction >> >> I will update the links to point there. >> >> Andrew >> >> On Mon, Sep 21, 2009 at 11:22 AM, Ed Freyfogle <edf at sloan.mit.edu> wrote: >> > Hi Michael, >> > >> > welcome to the project. >> > >> > unfortunately I don''t know anything about the wiki, etc. >> > but, if you''re new to the project, why not use v2? >> > >> > it''s all hosted on google code >> > http://code.google.com/p/mapstraction/ >> > >> > thanks for your help >> > Ed >> > >> > >> > On Mon, Sep 21, 2009 at 16:16, Kazin, Michael J. <mkazin at mitre.org> >> > wrote: >> >> >> >> Apologies for the wide distribution- I could not locate something more >> >> limited. >> >> >> >> >> >> >> >> I?ve been trying to visit the wiki since Friday and get a python error >> >> (I?ve seen both ImportError and AttributeError) on the main page >> >> (http://mapstraction.com/trac/wiki).?? Error attached below.? Looks at >> >> the >> >> bottom like the MySQL library went fishing. >> >> >> >> >> >> >> >> I?m new to mapstraction and trying to figure out how to implement it >> >> using >> >> GXT in Eclipse.? I?m new to all involved techs (bg is >> >> C,C++,Ada,Python,Perl,PHP,etc.).? Pointers would be most welcome :) >> >> >> >> >> >> >> >> Cheers, >> >> >> >> >> >> >> >> Michael >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ImportError??????? Python 2.3.5: /home/highearth/bin/python >> >> >> >> Mon Sep 21 08:12:41 2009 >> >> >> >> A problem occurred in a Python script. Here is the sequence of function >> >> calls leading up to the error, in the order they occurred. >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py >> >> in >> >> run(self=<trac.web._fcgi.Request object>) >> >> >> >> ? 568???????? """Runs the handler, flushes the streams, and ends the >> >> request.""" >> >> >> >> ? 569 ????????try: >> >> >> >> ? 570???????????? protocolStatus, appStatus = self.server.handler(self) >> >> >> >> ? 571???????? except: >> >> >> >> ? 572???????????? traceback.print_exc(file=self.stderr) >> >> >> >> protocolStatus undefined, appStatus undefined, self >> >> <trac.web._fcgi.Request object>, self.server >> >> <trac.web._fcgi.WSGIServer >> >> object>, self.server.handler = <bound method WSGIServer.handler of >> >> <trac.web._fcgi.WSGIServer object>> >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/web/_fcgi.py >> >> in >> >> handler(self=<trac.web._fcgi.WSGIServer object>, >> >> req=<trac.web._fcgi.Request >> >> object>) >> >> >> >> ?1254???????? try: >> >> >> >> ?1255???????????? try: >> >> >> >> ?1256???????????????? result = self.application(environ, >> >> start_response) >> >> >> >> ?1257???????????????? try: >> >> >> >> ?1258???????????????????? for data in result: >> >> >> >> result = None, self = <trac.web._fcgi.WSGIServer object>, >> >> self.application >> >> = <function dispatch_request>, environ = {''DH_USER'': ''highearth'', >> >> ''DOCUMENT_ROOT'': ''/home/highearth/mapstraction.com/public'', >> >> ''GATEWAY_INTERFACE'': ''CGI/1.1'', ''HTTP_ACCEPT'': >> >> >> >> ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', >> >> ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', >> >> ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': >> >> ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': >> >> ''Keep-Alive'', ''HTTP_COOKIE'': >> >> ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; >> >> __utmb=157703206.6.10.1253545012'', ...}, start_response = <function >> >> start_response> >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py >> >> in >> >> dispatch_request(environ={''DH_USER'': ''highearth'', ''DOCUMENT_ROOT'': >> >> ''/home/highearth/mapstraction.com/public'', ''GATEWAY_INTERFACE'': >> >> ''CGI/1.1'', >> >> ''HTTP_ACCEPT'': >> >> >> >> ''application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'', >> >> ''HTTP_ACCEPT_CHARSET'': ''ISO-8859-1,utf-8;q=0.7,*;q=0.3'', >> >> ''HTTP_ACCEPT_ENCODING'': ''gzip,deflate'', ''HTTP_ACCEPT_LANGUAGE'': >> >> ''en-US,en;q=0.8'', ''HTTP_CACHE_CONTROL'': ''max-age=0'', ''HTTP_CONNECTION'': >> >> ''Keep-Alive'', ''HTTP_COOKIE'': >> >> ''__utmz=157703206.1253545012.4.4.utmcsr=w3avenue...._utmc=157703206; >> >> __utmb=157703206.6.10.1253545012'', ...}, start_response=<function >> >> start_response>) >> >> >> >> ? 389???? env = env_error = None >> >> >> >> ? 390???? try: >> >> >> >> ? 391???????? env = _open_environment(env_path, run_once=run_once) >> >> >> >> ? 392???????? if env.base_url: >> >> >> >> ? 393???????????? environ[''trac.base_url''] = env.base_url >> >> >> >> env = None, global _open_environment = <function _open_environment>, >> >> env_path = ''/home/highearth/mapstraction.com/trac'', run_once = False >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/web/main.py >> >> in >> >> _open_environment(env_path=''/home/highearth/mapstraction.com/trac'', >> >> run_once=False) >> >> >> >> ?? 56???? try: >> >> >> >> ?? 57???????? if not env_path in env_cache: >> >> >> >> ?? 58???????????? env_cache[env_path] = open_environment(env_path) >> >> >> >> ?? 59???????? env = env_cache[env_path] >> >> >> >> ?? 60???? finally: >> >> >> >> global env_cache = {}, env_path >> >> ''/home/highearth/mapstraction.com/trac'', >> >> global open_environment = <function open_environment> >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/env.py in >> >> open_environment(env_path=''/home/highearth/mapstraction.com/trac'') >> >> >> >> ? 461 >> >> >> >> ? 462???? env = Environment(env_path) >> >> >> >> ? 463???? if env.needs_upgrade(): >> >> >> >> ? 464???????? raise TracError, ''The Trac Environment needs to be >> >> upgraded. >> >> Run '' \ >> >> >> >> ? 465??????????????????????? ??''trac-admin %s upgrade"'' % env_path >> >> >> >> env = <trac.env.Environment object>, env.needs_upgrade = <bound method >> >> Environment.needs_upgrade of <trac.env.Environment object>> >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/env.py in >> >> needs_upgrade(self=<trac.env.Environment object>) >> >> >> >> ? 339???? def needs_upgrade(self): >> >> >> >> ? 340???????? """Return whether the environment needs to be >> >> upgraded.""" >> >> >> >> ? 341???????? db = self.get_db_cnx() >> >> >> >> ? 342???????? for participant in self.setup_participants: >> >> >> >> ? 343???????????? if participant.environment_needs_upgrade(db): >> >> >> >> db undefined, self = <trac.env.Environment object>, self.get_db_cnx >> >> <bound method Environment.get_db_cnx of <trac.env.Environment object>> >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/env.py in >> >> get_db_cnx(self=<trac.env.Environment object>) >> >> >> >> ? 201???? def get_db_cnx(self): >> >> >> >> ? 202???????? """Return a database connection from the connection >> >> pool.""" >> >> >> >> ? 203???????? return DatabaseManager(self).get_connection() >> >> >> >> ? 204 >> >> >> >> ? 205???? def shutdown(self, tid=None): >> >> >> >> global DatabaseManager = <class ''trac.db.api.DatabaseManager''>, self >> >> <trac.env.Environment object>, ).get_connection undefined >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/db/api.py in >> >> get_connection(self=<trac.db.api.DatabaseManager object>) >> >> >> >> ?? 74???????????? connector, args = self._get_connector() >> >> >> >> ?? 75???????????? self._cnx_pool = ConnectionPool(5, connector, **args) >> >> >> >> ?? 76???????? return self._cnx_pool.get_cnx(self.timeout or None) >> >> >> >> ?? 77 >> >> >> >> ?? 78???? def shutdown(self, tid=None): >> >> >> >> self = <trac.db.api.DatabaseManager object>, self._cnx_pool >> >> <trac.db.pool.ConnectionPool object>, self._cnx_pool.get_cnx = <bound >> >> method >> >> ConnectionPool.get_cnx of <trac.db.pool.ConnectionPool object>>, >> >> self.timeout = 20, builtin None = None >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/db/pool.py >> >> in >> >> get_cnx(self=<trac.db.pool.ConnectionPool object>, timeout=20) >> >> >> >> ?? 99???????????????????????? self._cursize -= 1 >> >> >> >> ? 100???????????????? elif self._maxsize and self._cursize < >> >> self._maxsize: >> >> >> >> ? 101???????????????????? cnx >> >> self._connector.get_connection(**self._kwargs) >> >> >> >> ? 102???????????????????? self._cursize += 1 >> >> >> >> ? 103???????????????????? break >> >> >> >> cnx undefined, self = <trac.db.pool.ConnectionPool object>, >> >> self._connector = <trac.db.mysql_backend.MySQLConnector object>, >> >> self._connector.get_connection = <bound method >> >> MySQLConnector.get_connection >> >> of <trac.db.mysql_backend.MySQLConnector object>>, self._kwargs >> >> {''host'': >> >> u''mapdb.highearthorbit.com'', ''password'': *******, ''path'': >> >> u''/mapstraction'', >> >> ''user'': u''mapstraction''} >> >> >> >> >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py >> >> in get_connection(self=<trac.db.mysql_backend.MySQLConnector object>, >> >> path=u''/mapstraction'', user=u''mapstraction'', password=*******, >> >> host=u''mapdb.highearthorbit.com'', port=None, params={}) >> >> >> >> ?? 38???? def get_connection(self, path, user=None, password=None, >> >> host=None, >> >> >> >> ?? 39??????????????????????? port=None, params={}): >> >> >> >> ?? 40???????? return MySQLConnection(path, user, password, host, port, >> >> params) >> >> >> >> ?? 41 >> >> >> >> ?? 42???? def init_db(self, path, user=None, password=None, host=None, >> >> port=None, >> >> >> >> global MySQLConnection = <class >> >> ''trac.db.mysql_backend.MySQLConnection''>, >> >> path = u''/mapstraction'', user = u''mapstraction'', password = *******, >> >> host >> >> u''mapdb.highearthorbit.com'', port = None, params = {} >> >> >> >> >> >> >> >> >> >> >> >> ?/home/highearth/packages/lib/python2.3/site-packages/trac/db/mysql_backend.py >> >> in __init__(self=<trac.db.mysql_backend.MySQLConnection object>, >> >> path=u''/mapstraction'', user=u''mapstraction'', password=*******, >> >> host=u''mapdb.highearthorbit.com'', port=None, params={}) >> >> >> >> ? 130???? def __init__(self, path, user=None, password=None, host=None, >> >> >> >> ? 131????????????????? port=None, params={}): >> >> >> >> ? 132???????? import MySQLdb >> >> >> >> ? 133 >> >> >> >> ? 134???????? if path.startswith(''/''): >> >> >> >> MySQLdb undefined >> >> >> >> >> >> >> >> >> >> >> >> ?/home/highearth/mapstraction.com/public/trac/build/bdist.linux-i686/egg/MySQLdb/__init__.py >> >> >> >> >> >> >> >> >> >> >> >> ?/home/highearth/mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py >> >> >> >> >> >> >> >> >> >> >> >> ?/home/highearth/mapstraction.com/public/trac/build/bdist.linux-i686/egg/_mysql.py >> >> in __bootstrap__() >> >> >> >> >> >> >> >> ImportError: libmysqlclient_r.so.15: cannot open shared object file: No >> >> such file or directory >> >> >> >> ????? args = (''libmysqlclient_r.so.15: cannot open shared object file: >> >> No >> >> such file or directory'',) >> >> >> >> _______________________________________________ >> >> Mapstraction mailing list >> >> Mapstraction at lists.mapstraction.com >> >> >> >> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >> >> >> > >> > >> > _______________________________________________ >> > Mapstraction mailing list >> > Mapstraction at lists.mapstraction.com >> > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >> > >> > >> >> >> >> -- >> Andrew Turner >> mobile: 248.982.3609 >> andrew at fortiusone.com >> http://highearthorbit.com >> >> http://geocommons.com ? ? ? ? ? Helping build the Geospatial Web >> Introduction to Neogeography - http://oreilly.com/catalog/neogeography > >-- Andrew Turner mobile: 248.982.3609 andrew at fortiusone.com http://highearthorbit.com http://geocommons.com Helping build the Geospatial Web Introduction to Neogeography - http://oreilly.com/catalog/neogeography