Custom Query (332 matches)
Results (307 - 309 of 332)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#225 | fixed | Attribute Error(s) | bas | anonymous |
Description |
I am receiving the following after running python email2trac.py < C:\Inetpub\mailroot\Drop\msg.eml from the command prompt: Traceback (most recent call last):
active)
t
ect_unixsocket
AttributeError?: 'module' object has no attribute 'AF_UNIX' Error in atexit._run_exitfuncs: Traceback (most recent call last):
run_exitfuncs
down
AttributeError?: SysLogHandler? instance has no attribute 'socket' Error in sys.exitfunc: Traceback (most recent call last):
run_exitfuncs
down
AttributeError?: SysLogHandler? instance has no attribute 'socket' Here's my environment: Trac running on Windows Server 2003, SP 2, x86 That server is not running Exchange, so I installed the built-in SMTP server. I followed the directions at https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracInstallation/Windows (downloaded the three files, renamed them, put them in C:\Program Files\BitNami? Trac Stack\python\, and changed #configfile = '@email2trac_conf@' to configfile = 'email2trac.conf') My overall goal is to be able to send emails to an email address, and have those emails generate a ticket within Trac. I am able to see that my email made it to C:\Inetpub\mailroot\Drop\, but it looks like the email is not being processed. My guess is that there is an issue with the configuration of a few files, but I'm at a loss as to a fix, as I am a complete noob. Does anyone have any thoughts? |
|||
#246 | wontfix | permission denied | bas | anonymous |
Description |
[root@leblanc1 email2trac-2.1.0]# ./configure --prefix=/usr/local --exec_prefix=$prefix/bin --sysconfdir=$prefix/etc --with-mta_user=nobody --with-trac_user=www-data checking for a Python interpreter with version >= 2.4... python checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no configure: creating ./config.status config.status: creating Makefile config.status: creating email2trac.py config.status: creating delete_spam.py [root@leblanc1 email2trac-2.1.0]# make gcc -DMTA_USER=\"nobody\" -DTRAC_USER=\"www-data\" -DTRAC_SCRIPT_NAME=\"email2trac\" -DTRAC_SCRIPT_PATH=\"/bin/bin\" -DDEBUG=0 -o run_email2trac run_email2trac.c [root@leblanc1 email2trac-2.1.0]# make install if [ ! -f etc/email2trac.conf ] ; \
./install-sh -d /bin/bin for script in delete_spam.py email2trac.py ; \
./install-sh -m 4111 -o root run_email2trac /bin/bin but when trying to send mail , i am getting permission denied error in maillog as Jun 12 23:43:25 leblanc1 local[13255]: fatal: execvp /usr/local/bin/run_email2trac: Permission denied Jun 12 23:43:25 leblanc1 postfix/local[13248]: 33C7D2423C7: to=<leblanc-prototype@…>, relay=local, delay=0.01, delays=0/0/0/0, dsn=4.3.0, status=deferred (temporary failure. Command output: local: fatal: execvp /usr/local/bin/run_email2trac: Permission denied ) |
|||
#247 | fixed | Fix for problem with long attachment's filenames on native language | bas | anonymous |
Description |
Sympthoms: when user attached into email for trac file with long name (more then 25+ characters) or file with filename on native laguage (like russian) - email2trac can't store that attachment from message and do nothing. No notify about fail for user, or create new ticket or modify exist ticket WITHOUT attachment from message. Solution: Required external python module trans. URL: http://pypi.python.org/pypi/trans "At the moment, Czech, Greek, Latvian, Polish, Turkish, Russian, Ukrainian alphabets are supported (it covers 99% of needs)." Path file in attach. Also included some fix for reopen ticket via email. |