|
1 | 1 | Roundup FAQ |
2 | 2 |
|
3 | | - '$Date: 2002-02-14 08:50:14 $' |
| 3 | + '$Date: 2002-02-14 11:11:36 $' |
4 | 4 |
|
5 | 5 | NOTE: This is just a grabbag, most of this should go into documentation. |
6 | 6 |
|
@@ -71,25 +71,38 @@ Installation |
71 | 71 | * roundup-mailgw called via .forward from MTA, or running a cron job |
72 | 72 | fetching via pop. |
73 | 73 |
|
| 74 | + see Troubleshooting. |
74 | 75 |
|
75 | 76 | Troubleshooting |
76 | 77 |
|
77 | | - mailgw bouncing |
| 78 | + |
| 79 | + AttributeError: '_roundup_instance_1' module has no attribute 'open' |
| 80 | + |
| 81 | + Sorry: in html it is not formatted correct. |
78 | 82 |
|
79 | | - messages are bouncing with the following error message.:: |
| 83 | + For example submitting issues via roundup-mailgw breaks similar to this.:: |
80 | 84 |
|
81 | 85 | Command died with status 1: |
82 | 86 | "/usr/local/bin/python /usr/local/bin/roundup-mailgw /home/roundup". |
83 | 87 | 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' |
88 | | - |
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. |
| 88 | + File "/usr/local/bin/roundup-mailgw", line 178, in ? |
| 89 | + sys.exit(main(sys.argv)) |
| 90 | + File "/usr/local/bin/roundup-mailgw", line 153, in main |
| 91 | + db = instance.open('admin') |
| 92 | + AttributeError: '_roundup_instance_1' module has no attribute 'open' |
| 93 | + |
| 94 | + Happens if the user which accesses the instance has no read right |
| 95 | + on 'INSTANCE/dbinit.py' or 'pyc'. |
| 96 | + |
| 97 | + If the user has no rights on the 'INSTANCE/db' the mailgw finishes, |
| 98 | + but is, of course, unable to add the message. A notification to |
| 99 | + the roundup-admin is sent, with a longer trace ending in:: |
| 100 | + |
| 101 | + File "/opt/python/lib/python2.2/dbhash.py", line 16, in open |
| 102 | + return bsddb.hashopen(file, flag, mode) |
| 103 | + error: (13, 'Keine Berechtigung') |
| 104 | + |
| 105 | + Replace 'Keine Berechtigung' by 'Not permitted' or ... |
93 | 106 |
|
94 | 107 | An easy way to test whether it's a permissions problem, or some other mail |
95 | 108 | server configuration problem is to cat an email-formatted text file |
|
0 commit comments