Hello. In attachment you can find patch to fix the following warnings:

* xX.c:101: warning: implicit declaration of function 'exit'
* tcpdump.c:93: warning: implicit declaration of function 'exit'
* signal_handler.c:91: warning: implicit declaration of function 'exit'
* sleep.c:65: warning: implicit declaration of function 'exit'
* signal_handler.c:91: warning: implicit declaration of function 'exit'
* sleep.c:65: warning: implicit declaration of function 'exit'
* sleep.c:65: warning: implicit declaration of function 'exit'


Also note, that it looks like trac registration is broken. I've tried to
register but at the end I've got Oops. Some additional information (cut
and paste from web-browser window) in trac-oops.txt.

And looks like there are other issues with trac too. I see 

Error: Failed to load processor TagIt 
No macro or processor named 'TagIt' found

on most pages, e.g:
http://tcpreplay.synfin.net/trac/wiki/flowreplayDesign

With best regards,
-- 
Peter.
 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * xX.c:101: warning: implicit declaration of function 'exit'
 * tcpdump.c:93: warning: implicit declaration of function 'exit'
 * signal_handler.c:91: warning: implicit declaration of function 'exit'
 * sleep.c:65: warning: implicit declaration of function 'exit'
 * signal_handler.c:91: warning: implicit declaration of function 'exit'
 * sleep.c:65: warning: implicit declaration of function 'exit'
 * sleep.c:65: warning: implicit declaration of function 'exit'

=== modified file 'src/common/err.h'
--- src/common/err.h	2009-04-03 11:02:19 +0000
+++ src/common/err.h	2009-04-03 11:06:00 +0000
@@ -50,6 +50,8 @@
 extern int debug;
 #endif
 
+#include <stdlib.h>
+
 /*
  * We define five functions for reporting errors, warnings and debug messages:
  * err()   - Fatal error.  Pass exit code followed by static string

Context Navigation
Oops…
Trac detected an internal error:

URLError: <urlopen error (2, 'Temporary failure in name resolution')>

There was an internal error in Trac. It is recommended that you inform your 
local Trac administrator and give him all the information he needs to reproduce 
the issue.

To that end, you could 
==================================================================================================================
==== How to Reproduce ====

While doing a POST operation on `/register`, Trac issued an internal error. 
''(please provide additional details here)'' Request parameters: {{{ 
{'__FORM_TOKEN': u'c2f416169427c60c2aad914f', 'action': u'create', 'email': 
u'p...@gentoo.org', 'name': u'', 'password': u'duevyeds', 'password_confirm': 
u'duevyeds', 'recaptcha_challenge_field': 
u'02unukESAT5rnBPHF-coQ1M5RWJHJaVoY6Fm0jcJlaqw1FQKpsJmtHypCPYD4Fgo-3nVeCBs3IV9ohGRuiRSquFK6y5sn8z8Q0zj58QyFqnvolEksveV1Tt65VYHpuocvWM8CmHNDj-NA8osRD-MgY7ijyOmk4uCOWZe3YNVuD0MDms0fd1nEHuhrkUzIsELlCyYwm6GcqdX6USM0QNvY6uw2MjNPCMX0RbDHSzbzbT2FF3v_KkWppD9alna3OCER15AX_jlsbXUY6_-aPcOYdpU-2YoEB',
 'recaptcha_response_field': u'watching solyed', 'user': u'pva'} }}} User Agent 
was: `Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.8) Gecko/2009040111 Gentoo 
Firefox/3.0.8` ==== System Information ==== || '''Trac''' || `0.11.3` || || 
'''Python''' || `2.5.4 (r254:67916, Jan 4 2009, 16:29:29) ` [[br]] `[GCC 4.0.1 
(Apple Inc. build 5465)]` || || '''setuptools''' || `0.6c9` || || '''SQLite''' 
|| `3.6.11` || || '''pysqlite''' || `2.3.2` || || '''Genshi''' || `0.5` || || 
'''Pygments''' || `1.0` || || '''Subversion''' || `1.5.6 (r36142)` || || 
'''jQuery:''' || `1.2.6` || ==== Python Traceback ==== {{{ Traceback (most 
recent call last): File 
"/opt/local/lib/python2.5/site-packages/trac/web/main.py", line 435, in 
_dispatch_request dispatcher.dispatch(req) File 
"/opt/local/lib/python2.5/site-packages/trac/web/main.py", line 205, in 
dispatch resp = chosen_handler.process_request(req) File 
"build/bdist.macosx-10.5-i386/egg/recaptcharegister/web_ui.py", line 31, in 
process_request req.remote_addr, File 
"build/bdist.macosx-10.5-i386/egg/recaptcha/client/captcha.py", line 84, in 
submit httpresp = urllib2.urlopen (request) File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py",
 line 124, in urlopen return _opener.open(url, data) File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py",
 line 381, in open response = self._open(req, data) File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py",
 line 399, in _open '_open', req) File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py",
 line 360, in _call_chain result = func(*args) File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py",
 line 1107, in http_open return self.do_open(httplib.HTTPConnection, req) File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py",
 line 1082, in do_open raise URLError(err) URLError: <urlopen error (2, 
'Temporary failure in name resolution')> }}}
==================================================================================================================
a ticket.

The action that triggered the error was:

POST: /register


Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to