Skip to content

Commit c99d14a

Browse files
author
Engelbert Gruber
committed
reformatted for stx processing.
add troubleshooting - mailgw bouncing.
1 parent 92c7ea3 commit c99d14a

File tree

1 file changed

+74
-32
lines changed

1 file changed

+74
-32
lines changed

doc/FAQ.txt

Lines changed: 74 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,102 @@
1-
2002-02-05 eg
1+
Roundup FAQ
22

3-
NOTE: This is just a grabbag, most of this should go into
4-
documentation.
3+
'$Date: 2002-02-14 08:50:14 $'
4+
5+
NOTE: This is just a grabbag, most of this should go into documentation.
56

67
Changing HTML layout
78

89
Note changes to the files in html take place immediatly without
910
restart, even when running roundup-server.
1011

12+
Displaying whole messages not only the summary
13+
14+
Modify instance/html/msg.index change::
15+
16+
<td><display call="plain('summary')"></td>
17+
18+
to::
19+
20+
<td><pre><display call="plain('content')"></pre></td>
21+
22+
displays the whole message not only the first line and 'pre'
23+
prevents the browser from reformatting.
24+
25+
Getting the nosy list picker instead of textfield.
26+
27+
In classic template there is plenty of space below the text field.
28+
So one could modify instance/html/issue.item to use it.
29+
30+
At the file top set 'border=1' to see cell boundaries, then
31+
replace::
32+
33+
<td class="form-text"><display call="field('nosy',size=20)"></td>
34+
35+
by::
36+
37+
<td rowspan=5 class="form-text"><display call="menu('nosy',height=10)"></td>
38+
39+
and remove the last cell in the next four rows, either by deleting a cell
40+
or by reducing colspan.
41+
42+
Want to see the issue id (the number) on the issue item display
43+
44+
The number is really a central information and not an internal one.
45+
46+
In file INSTANCE/html/issue.item displays the creator, so one could add
47+
the number to it.::
1148

49+
<td class="form-text"><display call="reldate('creation', pretty=1)">
50+
(<display call="plain('creator')">)</td>
1251

13-
Q: Displaying messages not only the summary
52+
to see::
1453

15-
A: in instance/html/msg.index
54+
<td class="form-text"><display call="reldate('creation', pretty=1)">
55+
(issue<display call="plain('id')"> by <display call="plain('creator')">)</td>
1656

17-
change
18-
<td><display call="plain('summary')"></td>
19-
to
20-
<td><pre><display call="plain('content')"></pre></td>
57+
Installation
2158

22-
displays the whole message not only the first line and <pre>
23-
prevents the browser from reformatting.
59+
Living without a mailserver.
2460

61+
Remove the nosy reactor, means delete the file 'INSTANCE/detectors/nosyreactor.py'.
2562

63+
Rights issues (MISSING)
2664

27-
Q: Getting the nosy list picker instead of textfield.
65+
Different jobs run under different users.
2866

29-
In classic template there is plenty of space below the text field.
67+
* Standalone roundup-server is started by whome ?
3068

31-
A: in instance/html/issue.item
69+
* Running cgi under apache.
3270

33-
At the file top set border=1 to see cell boundaries.
71+
* roundup-mailgw called via .forward from MTA, or running a cron job
72+
fetching via pop.
3473

35-
replace
36-
<td class="form-text"><display call="field('nosy',size=20)"></td>
37-
by
38-
<td rowspan=5 class="form-text"><display call="menu('nosy',height=10)"></td>
3974

40-
remove the last cell in the next four rows, either by deleting a cell
41-
or by reducing colspan.
75+
Troubleshooting
4276

77+
mailgw bouncing
4378

79+
messages are bouncing with the following error message.::
4480

45-
Q: I wanted to see the issue id (the number) on the issue item display:
81+
Command died with status 1:
82+
"/usr/local/bin/python /usr/local/bin/roundup-mailgw /home/roundup".
83+
Command output: Traceback (most recent call last):
84+
File "/usr/local/bin/roundup-mailgw", line 178, in ? sys.exit(main(sys.argv))
85+
File "/usr/local/bin/roundup-mailgw", line 153, in main db =
86+
instance.open('admin') AttributeError: '_roundup_instance_1' module
87+
has no attribute 'open'
4688

47-
A:
48-
In file INSTANCE/html/issue.item change, showed e.g. "(anonymous)"
49-
<td class="form-text"><display call="reldate('creation', pretty=1)">
50-
(<display call="plain('creator')">)</td>
89+
90+
Happens when roundup-mailgw is called by a user that doesn't have
91+
read/execute permissions to the instance_home directory and sub
92+
directories.
5193

52-
to to see "(
53-
<td class="form-text"><display call="reldate('creation', pretty=1)">
54-
(issue<display call="plain('id')"> by <display call="plain('creator')">)</td>
94+
An easy way to test whether it's a permissions problem, or some other mail
95+
server configuration problem is to cat an email-formatted text file
96+
directly to the roundup-mailgw script as the roundup user.::
5597

56-
Q: Living without a mailserver.
98+
cat issue.txt | /usr/local/bin/roundup-mailgw /home/roundup
5799

58-
A: Remove the nosy reactor - delete the file
59-
<instance home>/detectors/nosyreactor.py
100+
If that doesn't raise any errors, the problem is the permissions of the
101+
MTA.
60102

0 commit comments

Comments
 (0)