Roundup Tracker - Issues

Issue 2550566

classification
apache wsgi docs
Type: crash Severity: normal
Components: Documentation, Installation Versions: 2.0.0alpha, 1.6.1, 1.6, 1.5, 1.4
process
Status: fixed fixed
:
: rouilj : galis, jerrykan, lu_zero, poeml, radioking, rouilj
Priority: normal :

Created on 2009-07-15 05:24 by galis, last changed 2019-12-20 01:55 by galis.

Files
File name Uploaded Description Edit Remove
unnamed galis, 2019-12-20 01:55
Messages
msg3787 Author: [hidden] (galis) Date: 2009-07-15 05:24
This is a request to develop the WSGI section of the docs. I'm pretty
well experienced with apache modules and configuration and several years
back I did a mod_python roundup install. Maybe I'm missing something so
obvious, nobody thought it needed to be in the docs. After numerous
passes, I'm not able to get beyond the following (yes my install prefix
is /usr/local/roundup-1.4.8./ ).

 
: NULL result without error in PyObject_Call	Python 2.5.2
/

A problem occurred while running a Python script. Here is the sequence
of function calls leading up to the error, with the most recent
(innermost) call first. The exception attributes are:

/usr/local/roundup-1.4.8./lib/python2.5/site-packages/roundup/backends/back_sqlite.py
in sql_open_connection(self=<roundlite 0xb8f82f8c>)
  107             conn.db.sqlite_busy_handler(self.sqlite_busy_handler)
  108         else:
  109             conn = sqlite.connect(db, timeout=30)
      conn = undefined, global sqlite = <module 'sqlite3' from
'/usr/pkg/lib/python2.5/sqlite3/__init__.pyc'>, global connect =
undefined, db = '/usr/local/www/vhost/tiger.galis.org/roundup/db/db',
global timeout = undefined
  110             conn.row_factory = sqlite.Row
  111 

/usr/local/roundup-1.4.8./lib/python2.5/site-packages/roundup/backends/back_sqlite.py
in open_connection(self=<roundlite 0xb8f82f8c>)
  123         os.umask(self.config.UMASK)
  124 
  125         (self.conn, self.cursor) = self.sql_open_connection()
      self = <roundlite 0xb8f82f8c>, global conn = undefined, global
cursor = undefined, global sql_open_connection = undefined
  126 
  127         try:

/usr/local/roundup-1.4.8./lib/python2.5/site-packages/roundup/backends/rdbms_common.py
in __init__(self=<roundlite 0xb8f82f8c>,
config=<roundup.configuration.CoreConfig instance at 0xb8fb13cc>,
journaltag='admin')
  133 
  134         # open a connection to the database, creating the "conn"
attribute
  135         self.open_connection()
      self = <roundlite 0xb8f82f8c>, global open_connection = undefined
  136 
  137     def clearCache(self):

/usr/local/roundup-1.4.8./lib/python2.5/site-packages/roundup/instance.py in
open(self=<roundup.instance.Tracker instance at 0xb8fb1aec>, name='admin')
  101             'Boolean': hyperdb.Boolean,
  102             'Number': hyperdb.Number,
  103             'db': backend.Database(self.config, name)
      backend = <module 'roundup.backends.back_sqlite' from
'/us.../site-packages/roundup/backends/back_sqlite.pyc'>, global
Database = undefined, self = <roundup.instance.Tracker instance at
0xb8fb1aec>, global config = undefined, name = 'admin'
  104         }
  105 

/usr/local/roundup-1.4.8./lib/python2.5/site-packages/roundup/cgi/client.py
in opendb(self=<roundup.cgi.client.Client instance at 0xb8f82d2c>,
username='admin')
  715         # open the database or only set the user
  716         if not hasattr(self, 'db'):
  717             self.db = self.instance.open(username)
      self = <roundup.cgi.client.Client instance at 0xb8f82d2c>, global
db = undefined, global instance = undefined, global open = undefined,
username = 'admin'
  718         else:
  719             if self.instance.optimize:

/usr/local/roundup-1.4.8./lib/python2.5/site-packages/roundup/cgi/client.py
in determine_user(self=<roundup.cgi.client.Client instance at 0xb8f82d2c>)
  636     def determine_user(self):
  637         """Determine who the user is"""
  638         self.opendb('admin')
      self = <roundup.cgi.client.Client instance at 0xb8f82d2c>, global
opendb = undefined
  639 
  640         # get session data from db

/usr/local/roundup-1.4.8./lib/python2.5/site-packages/roundup/cgi/client.py
in inner_main(self=<roundup.cgi.client.Client instance at 0xb8f82d2c>)
  434             try:
  435                 # make sure we're identified (even anonymously)
  436                 self.determine_user()
      self = <roundup.cgi.client.Client instance at 0xb8f82d2c>, global
determine_user = undefined
  437 
  438                 # figure out the context and desired content template
msg4034 Author: [hidden] (lu_zero) Date: 2010-02-25 11:56
The documentation is quite lacking indeed.
msg4043 Author: [hidden] (radioking) Date: 2010-04-08 14:53
Is your request related to using the WSGI-Interface?

This howto might help

https://wiki.hostsharing.net/index.php?title=Roundup#Konfiguration_ohne_eigene_httpd.conf


together with some weblinks at
https://wiki.hostsharing.net/index.php?title=Diskussion:Flup


(I am not into this deep enough...)
msg5824 Author: [hidden] (rouilj) Date: 2016-07-10 23:25
Has anybody gotten this working and can supply some additions to the
install docs?
msg6674 Author: [hidden] (rouilj) Date: 2019-10-02 21:45
Ping a mod_wsgi tutorial like the mod_python tutorial in instaltion.txt is needed here.
msg6722 Author: [hidden] (rouilj) Date: 2019-10-11 00:17
We have a first pass at enhancing the wsgi docs committed.

Can you folks look at: 

https://sourceforge.net/p/roundup/code/ci/default/tree/doc/installation.txt#l509

and

https://sourceforge.net/p/roundup/code/ci/default/tree/doc/installation.txt#l509

and provide feedback.
msg6840 Author: [hidden] (rouilj) Date: 2019-12-20 01:44
Docs updated. Nobody says they are broken, so treating no news as good 
news.
msg6841 Author: [hidden] (galis) Date: 2019-12-20 01:55
looking forward to trying it out again...

On Thu, Dec 19, 2019 at 5:44 PM John Rouillard <issues@roundup-tracker.org>
wrote:

>
> John Rouillard added the comment:
>
> Docs updated. Nobody says they are broken, so treating no news as good
> news.
>
> ----------
> resolution: remind -> fixed
> status: open -> fixed
>
> _________________________________________________
> Roundup tracker <issues@roundup-tracker.org>
> <https://issues.roundup-tracker.org/issue2550566>
> _________________________________________________
>
History
Date User Action Args
2019-12-20 01:55:05galissetfiles: + unnamed
messages: + msg6841
2019-12-20 01:44:04rouiljsetstatus: open -> fixed
resolution: remind -> fixed
messages: + msg6840
2019-10-25 00:14:49rouiljsetresolution: remind
2019-10-11 00:17:37rouiljsetpriority: normal
assignee: rouilj
status: new -> open
messages: + msg6722
2019-10-02 22:14:43rouiljsetversions: + 1.5, 1.6, 2.0.0alpha, 1.6.1
2019-10-02 21:45:03rouiljsetmessages: + msg6674
2016-07-10 23:25:20rouiljsetnosy: + rouilj
messages: + msg5824
2016-06-27 03:15:55rouiljsetcomponents: + Documentation
2012-08-28 03:44:09jerrykansetnosy: + jerrykan
2012-07-03 15:46:24adminsetfiles: - issue25.html, issue26.html, issue27.html, issue28.html, issue29.html, issue30.html, issue31.html, issue32.html, ex17.html, ex18.html, ex19.html, ex20.html, ex21.html, ex22.html, ex23.html, ex24.html, shoptramadol25.html, shoptramadol26.html, shoptramadol27.html, shoptramadol28.html, shoptramadol29.html, shoptramadol30.html, shoptramadol31.html, deleted
2012-06-27 22:21:44bil65klo3setfiles: + deleted
2012-06-27 22:21:39bil65klo3setfiles: + shoptramadol31.html
2012-06-27 22:21:20bil65klo3setfiles: + shoptramadol30.html
2012-06-27 22:21:15bil65klo3setfiles: + shoptramadol29.html
2012-06-27 22:21:09bil65klo3setfiles: + shoptramadol28.html
2012-06-27 22:21:05bil65klo3setfiles: + shoptramadol27.html
2012-06-27 22:20:58bil65klo3setfiles: + shoptramadol26.html
2012-06-27 22:20:46bil65klo3setfiles: + shoptramadol25.html
2012-06-14 22:32:26bok70amo0setfiles: + ex24.html
2012-06-14 22:32:20bok70amo0setfiles: + ex23.html
2012-06-14 22:32:14bok70amo0setfiles: + ex22.html
2012-06-14 22:32:09bok70amo0setfiles: + ex21.html
2012-06-14 22:32:01bok70amo0setfiles: + ex20.html
2012-06-14 22:31:50bok70amo0setfiles: + ex19.html
2012-06-14 22:31:45bok70amo0setfiles: + ex18.html
2012-06-14 22:31:40bok70amo0setfiles: + ex17.html
2012-06-13 21:34:40bil65klo3setfiles: + issue32.html
2012-06-13 21:34:35bil65klo3setfiles: + issue31.html
2012-06-13 21:34:30bil65klo3setfiles: + issue30.html
2012-06-13 21:34:25bil65klo3setfiles: + issue29.html
2012-06-13 21:34:19bil65klo3setfiles: + issue28.html
2012-06-13 21:34:14bil65klo3setfiles: + issue27.html
2012-06-13 21:34:08bil65klo3setfiles: + issue26.html
2012-06-13 21:34:01bil65klo3setfiles: + issue25.html
2010-04-09 17:07:00ssteinerXsetnosy: - ssteinerX
2010-04-08 14:53:26radiokingsetnosy: + radioking
messages: + msg4043
2010-03-08 16:15:30ssteinerXsetnosy: + ssteinerX
2010-02-25 11:56:18lu_zerosetnosy: + lu_zero
messages: + msg4034
2009-10-06 18:39:57poemlsetnosy: + poeml
2009-07-15 05:24:01galiscreate