Mercurial > p > roundup > code
diff doc/FAQ.txt @ 659:e429649ed124
More documentation cleanups.
- renamed .stx to .txt so they're identifiable as readable files.
- fixed FAQ and announcement formatting
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 13 Mar 2002 23:00:48 +0000 |
| parents | 74a7d06449bf |
| children | c52122f38c9b 54333751e98d |
line wrap: on
line diff
--- a/doc/FAQ.txt Wed Mar 13 22:40:13 2002 +0000 +++ b/doc/FAQ.txt Wed Mar 13 23:00:48 2002 +0000 @@ -1,115 +1,125 @@ Roundup FAQ +=========== - '$Date: 2002-02-14 11:11:36 $' +:Date: $Date: 2002-03-13 23:00:48 $ - NOTE: This is just a grabbag, most of this should go into documentation. +NOTE: This is just a grabbag, most of this should go into documentation. Changing HTML layout +-------------------- - Note changes to the files in html take place immediatly without - restart, even when running roundup-server. +Note changes to the files in html take place immediatly without +restart, even when running roundup-server. - Displaying whole messages not only the summary +Displaying whole messages not only the summary +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Modify instance/html/msg.index change:: +Modify instance/html/msg.index change:: - <td><display call="plain('summary')"></td> + <td><display call="plain('summary')"></td> - to:: +to:: - <td><pre><display call="plain('content')"></pre></td> + <td><pre><display call="plain('content')"></pre></td> - displays the whole message not only the first line and 'pre' - prevents the browser from reformatting. +displays the whole message not only the first line and 'pre' +prevents the browser from reformatting. - Getting the nosy list picker instead of textfield. +Getting the nosy list picker instead of textfield +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - In classic template there is plenty of space below the text field. - So one could modify instance/html/issue.item to use it. +In classic template there is plenty of space below the text field. +So one could modify instance/html/issue.item to use it. - At the file top set 'border=1' to see cell boundaries, then - replace:: +At the file top set 'border=1' to see cell boundaries, then +replace:: - <td class="form-text"><display call="field('nosy',size=20)"></td> + <td class="form-text"><display call="field('nosy',size=20)"></td> - by:: +by:: - <td rowspan=5 class="form-text"><display call="menu('nosy',height=10)"></td> + <td rowspan=5 class="form-text"><display call="menu('nosy',height=10)"></td> - and remove the last cell in the next four rows, either by deleting a cell - or by reducing colspan. +and remove the last cell in the next four rows, either by deleting a cell +or by reducing colspan. - Want to see the issue id (the number) on the issue item display +Want to see the issue id (the number) on the issue item display +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - The number is really a central information and not an internal one. +The number is really a central information and not an internal one. - In file INSTANCE/html/issue.item displays the creator, so one could add - the number to it.:: +In file INSTANCE/html/issue.item displays the creator, so one could add +the number to it.:: - <td class="form-text"><display call="reldate('creation', pretty=1)"> - (<display call="plain('creator')">)</td> + <td class="form-text"><display call="reldate('creation', pretty=1)"> + (<display call="plain('creator')">)</td> - to see:: +to see:: - <td class="form-text"><display call="reldate('creation', pretty=1)"> - (issue<display call="plain('id')"> by <display call="plain('creator')">)</td> + <td class="form-text"><display call="reldate('creation', pretty=1)"> + (issue<display call="plain('id')"> by <display call="plain('creator')">)</td> Installation +------------ - Living without a mailserver. +Living without a mailserver. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Remove the nosy reactor, means delete the file 'INSTANCE/detectors/nosyreactor.py'. +Remove the nosy reactor, means delete the file +'INSTANCE/detectors/nosyreactor.py'. - Rights issues (MISSING) - Different jobs run under different users. +Rights issues (MISSING) +~~~~~~~~~~~~~~~~~~~~~~~ - * Standalone roundup-server is started by whome ? +Different jobs run under different users. - * Running cgi under apache. +* Standalone roundup-server is started by whome ? + +* Running cgi under apache. - * roundup-mailgw called via .forward from MTA, or running a cron job - fetching via pop. +* roundup-mailgw called via .forward from MTA, or running a cron job + fetching via pop. - see Troubleshooting. +see Troubleshooting_. + Troubleshooting - - - AttributeError: '_roundup_instance_1' module has no attribute 'open' +--------------- - Sorry: in html it is not formatted correct. +AttributeError: '_roundup_instance_1' module has no attribute 'open' +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - For example submitting issues via roundup-mailgw breaks similar to this.:: +For example submitting issues via roundup-mailgw breaks similar to this:: - Command died with status 1: - "/usr/local/bin/python /usr/local/bin/roundup-mailgw /home/roundup". - Command output: Traceback (most recent call last): - File "/usr/local/bin/roundup-mailgw", line 178, in ? - sys.exit(main(sys.argv)) - File "/usr/local/bin/roundup-mailgw", line 153, in main - db = instance.open('admin') - AttributeError: '_roundup_instance_1' module has no attribute 'open' + Command died with status 1: + "/usr/local/bin/python /usr/local/bin/roundup-mailgw /home/roundup". + Command output: Traceback (most recent call last): + File "/usr/local/bin/roundup-mailgw", line 178, in ? + sys.exit(main(sys.argv)) + File "/usr/local/bin/roundup-mailgw", line 153, in main + db = instance.open('admin') + AttributeError: '_roundup_instance_1' module has no attribute 'open' - Happens if the user which accesses the instance has no read right - on 'INSTANCE/dbinit.py' or 'pyc'. +Happens if the user which accesses the instance has no read right +on 'INSTANCE/dbinit.py' or 'pyc'. - If the user has no rights on the 'INSTANCE/db' the mailgw finishes, - but is, of course, unable to add the message. A notification to - the roundup-admin is sent, with a longer trace ending in:: +If the user has no rights on the 'INSTANCE/db' the mailgw finishes, +but is, of course, unable to add the message. A notification to +the roundup-admin is sent, with a longer trace ending in:: - File "/opt/python/lib/python2.2/dbhash.py", line 16, in open - return bsddb.hashopen(file, flag, mode) - error: (13, 'Keine Berechtigung') + File "/opt/python/lib/python2.2/dbhash.py", line 16, in open + return bsddb.hashopen(file, flag, mode) + error: (13, 'Keine Berechtigung') - Replace 'Keine Berechtigung' by 'Not permitted' or ... +Replace 'Keine Berechtigung' by 'Not permitted' or ... - An easy way to test whether it's a permissions problem, or some other mail - server configuration problem is to cat an email-formatted text file - directly to the roundup-mailgw script as the roundup user.:: +An easy way to test whether it's a permissions problem, or some other mail +server configuration problem is to cat an email-formatted text file +directly to the roundup-mailgw script as the roundup user.:: - cat issue.txt | /usr/local/bin/roundup-mailgw /home/roundup + cat issue.txt | /usr/local/bin/roundup-mailgw /home/roundup - If that doesn't raise any errors, the problem is the permissions of the - MTA. +If that doesn't raise any errors, the problem is the permissions of the +MTA.
