Forum OpenACS Development: Re: exec tcl proc

Collapse
4: Re: exec tcl proc (response to 1)
Posted by Dave Bauer on
Well :)

You'll need to debug that. What is the parameter value. Why is parameter::get returning that value etc.

Collapse
5: Re: exec tcl proc (response to 4)
Posted by Iuri Sampaio on
I debugged and i don't understand why is that. Since in the file "packages/acs-mail-lite/tcl/incoming-mail-procs.tcl"

we have the proc at line 29

ad_proc -private load_mails { ...

line 59
the var $queue_dir is used as the path of maildir.

# get list of all incoming mail
if {[catch {
set messages [glob "$queue_dir/new/*"]
} errmsg]} {

So i wonder why in the file

"packages/acs-mail-lite/tcl/acs-mail-lite-init.tcl" line 14

we have this proc that returns 1 and assign into $queue_dir

set queue_dir [parameter::get_from_package_key -parameter "BounceMailDir" -package_key "acs-mail-lite"]

I

Collapse
6: Re: exec tcl proc (response to 5)
Posted by Brian Fenton on
Hi Iuri,

I can't tell you how to create the bugtracker entry, but Malte has documented how to set up the ACS mail lite here: http://www.cognovis.de/developer/en/incoming_email_install

hope this helps
Brian

Collapse
7: Re: exec tcl proc (response to 6)
Posted by Iuri Sampaio on
Hi Brian,

I figured that out.
Now i am stuck at adding email attachments as uploaded files on bugtracker.

I need help! :)
I am at #openacs