Skip to content

Commit fd6a4aa

Browse files
author
Engelbert Gruber
committed
more detail on failing open.
1 parent c99d14a commit fd6a4aa

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

doc/FAQ.txt

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Roundup FAQ
22

3-
'$Date: 2002-02-14 08:50:14 $'
3+
'$Date: 2002-02-14 11:11:36 $'
44

55
NOTE: This is just a grabbag, most of this should go into documentation.
66

@@ -71,25 +71,38 @@ Installation
7171
* roundup-mailgw called via .forward from MTA, or running a cron job
7272
fetching via pop.
7373

74+
see Troubleshooting.
7475

7576
Troubleshooting
7677

77-
mailgw bouncing
78+
79+
AttributeError: '_roundup_instance_1' module has no attribute 'open'
80+
81+
Sorry: in html it is not formatted correct.
7882

79-
messages are bouncing with the following error message.::
83+
For example submitting issues via roundup-mailgw breaks similar to this.::
8084

8185
Command died with status 1:
8286
"/usr/local/bin/python /usr/local/bin/roundup-mailgw /home/roundup".
8387
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 ...
93106

94107
An easy way to test whether it's a permissions problem, or some other mail
95108
server configuration problem is to cat an email-formatted text file

0 commit comments

Comments
 (0)