Ticket #2207 (closed defect: invalid)

Opened 10 years ago

Last modified 19 months ago

trac sometimes throws " from pyPgSQL import PgSQL trac sometimes throws "ImportError: No module named pyPgSQL"

Reported by: lindi Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

While trying add a comment to an existing bug I got the following error message when I hit preview:

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/api.py", line 367, in send_error
    'text/html')
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/chrome.py", line 688, in render_template
    data = self.populate_data(req, data)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/chrome.py", line 596, in populate_data
    d['chrome'].update(req.chrome)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/api.py", line 194, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/chrome.py", line 464, in prepare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "build/bdist.linux-i686/egg/tractags/web_ui.py", line 60, in get_navigation_items
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/api.py", line 194, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 261, in _get_perm
    return PermissionCache(self.env, self.authenticate(req))
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 132, in authenticate
    authname = authenticator.authenticate(req)
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 408, in wrap
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 419, in authenticate
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/auth.py", line 70, in authenticate
    authname = self._get_name_for_cookie(req, req.incookie['trac_auth'])
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/auth.py", line 184, in _get_name_for_cookie
    db = self.env.get_db_cnx()
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/env.py", line 264, in get_db_cnx
    return DatabaseManager(self).get_connection()
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/api.py", line 76, in get_connection
    return self._cnx_pool.get_cnx(self.timeout or None)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/pool.py", line 174, in get_cnx
    return _backend.get_cnx(self._connector, self._kwargs, timeout)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/pool.py", line 107, in get_cnx
    cnx = connector.get_connection(**kwargs)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/postgres_backend.py", line 46, in get_connection
    cnx = PostgreSQLConnection(path, user, password, host, port, params)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/postgres_backend.py", line 118, in __init__
    from pyPgSQL import PgSQL
ImportError: No module named pyPgSQL

Change History

comment:1 Changed 10 years ago by lindi

I just got the same error again while trying to leave a comment without preview:

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/api.py", line 367, in send_error
    'text/html')
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/chrome.py", line 688, in render_template
    data = self.populate_data(req, data)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/chrome.py", line 596, in populate_data
    d['chrome'].update(req.chrome)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/api.py", line 194, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/chrome.py", line 464, in prepare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "build/bdist.linux-i686/egg/tractags/web_ui.py", line 60, in get_navigation_items
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/api.py", line 194, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 261, in _get_perm
    return PermissionCache(self.env, self.authenticate(req))
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 132, in authenticate
    authname = authenticator.authenticate(req)
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 408, in wrap
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 419, in authenticate
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/auth.py", line 70, in authenticate
    authname = self._get_name_for_cookie(req, req.incookie['trac_auth'])
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/auth.py", line 184, in _get_name_for_cookie
    db = self.env.get_db_cnx()
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/env.py", line 264, in get_db_cnx
    return DatabaseManager(self).get_connection()
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/api.py", line 76, in get_connection
    return self._cnx_pool.get_cnx(self.timeout or None)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/pool.py", line 174, in get_cnx
    return _backend.get_cnx(self._connector, self._kwargs, timeout)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/pool.py", line 107, in get_cnx
    cnx = connector.get_connection(**kwargs)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/postgres_backend.py", line 46, in get_connection
    cnx = PostgreSQLConnection(path, user, password, host, port, params)
  File "/usr/local/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/db/postgres_backend.py", line 118, in __init__
    from pyPgSQL import PgSQL
ImportError: No module named pyPgSQL

comment:2 Changed 10 years ago by marek

  • Summary changed from trac sometimes throws " from pyPgSQL import PgSQL trac sometimes throws "ImportError: No module named pyPgSQL" to trac sometimes throws " from pyPgSQL import PgSQL trac sometimes throws "ImportError: No module named pyPgSQL"

I think this report should go to http://admin-trac.openmoko.org/ ?!

comment:4 Changed 10 years ago by wendy_hung

  • Status changed from new to closed
  • Resolution set to invalid

comment:5 Changed 19 months ago by Kennescoma

Orlistat Best Price <a href=http://zithromax.ccrpdc.com/mail-order-zithromax.php>Mail Order Zithromax</a> Will Keflex Help With Bronchitis Dermatologue Propecia <a href=http://zol1.xyz/zoloft-generic.php>Zoloft Generic</a> Synthriod Without A Script Cialis Differenza Viagra <a href=http://antabuse.ccrpdc.com/buy-disulfiram.php>Buy Disulfiram</a> Prix Propecia En France Cialis Authentique Ligne <a href=http://zol1.xyz/sertralina-generic.php>Sertralina Generic</a> Purchase Plavix Canada Viagra Pericoloso <a href=http://viag1.xyz/viagra-online-online.php>Viagra Online Online</a> Zithromax And Running Amoxicillin Trihydrate $8.99 Rxmeds <a href=http://cial1.xyz/buy-generic-cialis-online.php>Buy Generic Cialis Online</a> Kamagra Long Term Side Effects Cephalexin And Alcohol <a href=http://viag1.xyz/cheap-viagra-online.php>Cheap Viagra Online</a> Cheep Levitra Amoxicillin 400mg 5ml Suspension <a href=http://cial1.xyz/canadian-cheap-cialis.php>Canadian Cheap Cialis</a> Cabergoline Generic Stendra For Sale <a href=http://zol1.xyz/zoloft-online-usa.php>Zoloft Online Usa</a> Cialis In Apotheke Clobetasol Can I Purchase Website Shop Newark <a href=http://zol1.xyz/buy-cheap-generic-zoloft.php>Buy Cheap Generic Zoloft</a> Viagra Indicaciones Efectos Viagra Langer Sex <a href=http://prednisone.ccrpdc.com/generic-deltasone-usa.php>Generic Deltasone Usa</a> Colombia Comprar Propecia Nolvadex Achat <a href=http://kama1.xyz/kamagra-chewable.php>Kamagra Chewable</a> Cialis Si Puo Dividere Zentel Tablets Best Website With Overnight Delivery <a href=http://kama1.xyz/buy-cheap-kamagra-site.php>Buy Cheap Kamagra Site</a> Cephalexin And Dogs Home Remedies Male Enhancement <a href=http://kamagra.ccrpdc.com/order-kamagra.php>Order Kamagra</a> Zentel With Free Shipping Zentel Lurdex On Line <a href=http://viag1.xyz/buy-viagra-online.php>Buy Viagra Online</a> Dutasteride Cod Accepted Sheffield Pharmacie En Ligne Viagra En Valence <a href=http://kama1.xyz/kamagra-online-usa.php>Kamagra Online Usa</a> Stendra 100mg Drugs Cialis Au Maroc <a href=http://cial1.xyz/order-cialis-in-usa.php>Order Cialis In Usa</a> Metformin From Canqada Propecia Precio Medicina <a href=http://zol1.xyz/implicane-generic.php>Implicane Generic</a> Generic Viagra Reviews Message Board Voveran Is It Available In The Us <a href=http://kama1.xyz/buy-cheap-kamagra-pills.php>Buy Cheap Kamagra Pills</a> Estrace 1mg Tablets Ordina Levitra <a href=http://cial1.xyz/order-cialis-online-usa.php>Order Cialis Online Usa</a> Cialis Prix 5mg Raloxifene <a href=http://cial1.xyz/tadalafil-online.php>Tadalafil Online</a> Zithromax Swollen Gums isotretinoin where to purchase <a href=http://cial1.xyz/canadian-cheap-cialis.php>Canadian Cheap Cialis</a> Test Viagra Cialis Levitra Cephalexin For Penicillin Allergic Patients <a href=http://viag1.xyz/cost-of-viagra.php>Cost Of Viagra</a> Dosis Kamagra Propecia Sefh <a href=http://zol1.xyz/buy-zoloft-online-usa.php>Buy Zoloft Online Usa</a> Cheap Discount Tadalis Sx Clomid Bouffees Chaleur <a href=http://zol1.xyz/buying-zoloft-online.php>Buying Zoloft Online</a> Cialis Kaufen In Deutschland Cephalexin Nuvaring <a href=http://cial5mg.xyz/cialis-buy-online.php>Cialis Buy Online</a> Online Kamagra Buy Propecia Online Mastercard <a href=http://kama1.xyz/buy-kamagra-online.php>Buy Kamagra Online</a> Misoprostol How Long Does It Take Get Viagra Fast <a href=http://xenical.ccrpdc.com/buy-xenical-online-1.php>Buy Xenical Online</a> Donde Comprar Cialis Tenerife Finasteride Generique <a href=http://cial5mg.xyz/tadalafil-tablets.php>Tadalafil Tablets</a> Viagra Prix Vidal Tamoxifene Effets Secondaires <a href=http://kama1.xyz/compra-kamagra-online.php>Compra Kamagra Online</a> Slut Load Kamagra Perime <a href=http://cial1.xyz/how-to-order-cialis.php>How To Order Cialis</a> Propecia Regrow Levitra Parafarmacia <a href=http://cial1.xyz/cialis-online.php>Cialis Online</a> Hydrochlorothiazide In Internet Drugs Pharmacy Cheap Alternative To Effexor <a href=http://kama1.xyz/how-to-get-kamagra.php>How To Get Kamagra</a> Buy Accutane Online Cheap Silagra Australia <a href=http://viag1.xyz/by-cheap-viagra.php>By Cheap Viagra</a> Achat Generique Cialis Professional Discount Bentyl Where To Buy Secure Ordering Store <a href=http://viag1.xyz/buying-viagra-online.php>Buying Viagra Online</a> Canadianpharmacy24h Baclofene Irex 10 <a href=http://zol1.xyz/buy-sertraline-online.php>Buy Sertraline Online</a> Buy Levitra Generic Online Alli Xenical <a href=http://cial5mg.xyz/cheap-generic-cialis.php>Cheap Generic Cialis</a> Achat Cytotec Algerie Acticin Want To Buy Medication No Physician Approval <a href=http://viag1.xyz/purchase-viagra-cheap.php>Purchase Viagra Cheap</a> Cialis Levitra Insieme Online Amoxicillin Order <a href=http://cial1.xyz/buy-cheap-cialis-pills.php>Buy Cheap Cialis Pills</a> Dutasteride Vs Finasteride 2014 Viagra Immagini <a href=http://viag1.xyz/best-generic-viagra.php>Best Generic Viagra</a> Kamagra Gold Review Cialis Rezeptfrei Tadalafil <a href=http://doxycycline.ccrpdc.com/vibramycin-prices.php>Vibramycin Prices</a> Propecia Tumore Effetti Collaterali Consecuencias Propecia <a href=http://cial5mg.xyz>Buy Cialis</a> Finasteride 10mg Wo Kann Man Viagra Ohne Rezept Kaufen <a href=http://cytotec.ccrpdc.com/cytotec-free-trial.php>Cytotec Free Trial</a> Best Buy Stendra With Free Shipping Cialis Originale Online <a href=http://cial1.xyz/buy-cheap-cialis-site.php>Buy Cheap Cialis Site</a> Walmart Generic Drug List Viagra Vraiment Efficace <a href=http://kama1.xyz/kamagra-jelly-usa.php>Kamagra Jelly Usa</a> Zithromax Rhinopharyngite Interests rates for secured loans are typically lower than those for unsecured loans. <a href=http://fastmoneyfor.com>guaranteed payday loans</a> I dont know the specifics but you may want to ask you UI office I found this out and it is a TOTAL DRAG and quite unfair IMHO I was a sperm donated by Bill Gates I wonder if Ill get my part of the inharatence Tabz says Also if youre looking to find the best student loan for you or to refinance your existing loans at a better rate check out httpwww.Will Keflex Treat Gonorrhea <a href=http://kama1.xyz/purchase-kamagra.php>Purchase Kamagra</a> Comparatif Prix Cialis Viagra Antibiotics Overnight Shipping Usa <a href=http://cial1.xyz/purchase-cialis.php>Purchase Cialis</a> Overnight Pharmacy Usa Accutane And Amoxicillin <a href=http://viag1.xyz/cheap-viagra-pill.php>Cheap Viagra Pill</a> Levitra Quanto Dura L'Effetto

Note: See TracTickets for help on using tickets.