Custom Query (330 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 330)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
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):

File "email2trac.py", line 2223, in <module>

logger = setup_log(settings, os.path.basename(settings.project), debug_inter

active)

File "email2trac.py", line 2128, in setup_log

log_handler = logging.handlers.SysLogHandler?('/dev/log')

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\handlers.py", line 594, in ini

t

self._connect_unixsocket(address)

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\handlers.py", line 602, in _conn

ect_unixsocket

self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)

AttributeError?: 'module' object has no attribute 'AF_UNIX' Error in atexit._run_exitfuncs: Traceback (most recent call last):

File "C:\Program Files\BitNami? Trac Stack\python\lib\atexit.py", line 24, in _

run_exitfuncs

func(*targs, kargs)

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\init.py", line 1355, in shut

down

h.close()

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\handlers.py", line 635, in close

self.socket.close()

AttributeError?: SysLogHandler? instance has no attribute 'socket' Error in sys.exitfunc: Traceback (most recent call last):

File "C:\Program Files\BitNami? Trac Stack\python\lib\atexit.py", line 24, in _

run_exitfuncs

func(*targs, kargs)

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\init.py", line 1355, in shut

down

h.close()

File "C:\PROGRA~1\BITNAM~1\python\lib\logging\handlers.py", line 635, in close

self.socket.close()

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 ] ; \

then \

./install-sh -c -m 644 -o root email2trac.conf etc/email2trac.conf ;\

fi

./install-sh -d /bin/bin for script in delete_spam.py email2trac.py ; \

do \

name=basename $script '.py' ;\ ./install-sh -m 755 -o root $script /bin/bin/$name ;\

done

./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.

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.