Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
Dear all
am instal trac in linux but it is givig error am unable get solution for it can any one help me please
thanks in advans
am getting error is
Code:
Oops…
Trac detected an internal error:
OperationalError: (1194, "Table 'wiki' is marked as crashed and should be repaired")
# File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 444, in _dispatch_request
Code fragment:
439. try:
440. if not env and env_error:
441. raise HTTPInternalError(env_error)
442. try:
443. dispatcher = RequestDispatcher(env)
444. dispatcher.dispatch(req)
445. except RequestDone:
446. pass
447. resp = req._response or []
448.
449. except HTTPException, e:
Local variables:
Name Value
after [u' except RequestDone:', u' pass', u' resp = ...
before [u' try:', u' if not env and env_error:', u' raise ...
dispatcher <trac.web.main.RequestDispatcher object at 0x2b4cb74d46d0>
e <_mysql_exceptions.OperationalError instance at 0x2b4cb91fe518>
env <trac.env.Environment object at 0x2b4cb573db90>
env_error None
exc_info (<class _mysql_exceptions.OperationalError at 0x2b4cb6881fb0>, ...
filename '/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py'
frames [{'function': '_dispatch_request', 'lines_before': [u' try:', u' ...
has_admin True
line u' dispatcher.dispatch(req)'
lineno 443
message u'OperationalError: (1194, "Table \'wiki\' is marked as crashed and should ...
req <Request "GET u'/wiki'">
resp []
tb <traceback object at 0x2b4cb91febd8>
tb_hide None
traceback u'Traceback (most recent call last):\n File ...
# File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 205, in dispatch
Code fragment:
200. req.args.get('__FORM_TOKEN') != req.form_token:
201. raise HTTPBadRequest('Missing or invalid form token. '
202. 'Do you have cookies enabled?')
203.
204. # Process the request and render the template
205. resp = chosen_handler.process_request(req)
206. if resp:
207. if len(resp) == 2: # Clearsilver
208. chrome.populate_hdf(req)
209. template, content_type = \
210. self._post_process_request(req, *resp)
Local variables:
Name Value
chosen_handler <trac.wiki.web_ui.WikiModule object at 0x2b4cb74d4950>
chrome <trac.web.chrome.Chrome object at 0x2b4cb7091390>
err (<class _mysql_exceptions.OperationalError at 0x2b4cb6881fb0>, ...
handler <trac.wiki.web_ui.WikiModule object at 0x2b4cb74d4950>
req <Request "GET u'/wiki'">
self <trac.web.main.RequestDispatcher object at 0x2b4cb74d46d0>
# File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/wiki/web_ui.py", line 166, in process_request
Code fragment:
161. format = req.args.get('format')
162. if format:
163. Mimeview(self.env).send_converted(req, 'text/x-trac-wiki',
164. versioned_page.text,
165. format, versioned_page.name)
166. return self._render_view(req, versioned_page)
167.
168. # ITemplateProvider methods
169.
170. def get_htdocs_dirs(self):
171. return []
Local variables:
Name Value
action 'view'
format None
old_version None
page <trac.wiki.model.WikiPage object at 0x2b4cb9214e10>
pagename 'WikiStart'
req <Request "GET u'/wiki'">
self <trac.wiki.web_ui.WikiModule object at 0x2b4cb74d4950>
version None
versioned_page <trac.wiki.model.WikiPage object at 0x2b4cb9214dd0>
# File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/wiki/web_ui.py", line 522, in _render_view
Code fragment:
517. next_version = v
518. except ValueError:
519. version = None
520.
521. prefix = self.PAGE_TEMPLATES_PREFIX
522. templates = [template[len(prefix):] for template in
523. WikiSystem(self.env).get_pages(prefix) if
524. 'WIKI_VIEW' in req.perm('wiki', template)]
525.
526. # -- prev/up/next links
527. if prev_version:
Local variables:
Name Value
_[1] []
conversion ('txt', 'Plain Text', 'txt', 'text/x-trac-wiki', 'text/plain', 9, ...
conversion_href '/trac/wiki/WikiStart?format=txt'
data {'action': '', 'page': <trac.wiki.model.WikiPage object at ...
latest_page <trac.wiki.model.WikiPage object at 0x2b4cb9214c50>
next_version None
page <trac.wiki.model.WikiPage object at 0x2b4cb9214dd0>
prefix 'PageTemplates/'
prev_version None
req <Request "GET u'/wiki'">
self <trac.wiki.web_ui.WikiModule object at 0x2b4cb74d4950>
version None
# File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/wiki/api.py", line 215, in get_pages
Code fragment:
210. """Iterate over the names of existing Wiki pages.
211.
212. If the `prefix` parameter is given, only names that start with that
213. prefix are included.
214. """
215. self._update_index()
216. # Note: use of keys() is intentional since iterkeys() is prone to
217. # errors with concurrent modification
218. for page in self._index.keys():
219. if not prefix or page.startswith(prefix):
220. yield page
Local variables:
Name Value
prefix 'PageTemplates/'
self <trac.wiki.api.WikiSystem object at 0x2b4cb8f15a90>
# File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/wiki/api.py", line 199, in _update_index
Code fragment:
194. now = time.time()
195. if now > self._last_index_update + WikiSystem.INDEX_UPDATE_INTERVAL:
196. self.log.debug('Updating wiki page index')
197. db = self.env.get_db_cnx()
198. cursor = db.cursor()
199. cursor.execute("SELECT DISTINCT name FROM wiki")
200. self._index = {}
201. for (name,) in cursor:
202. self._index[name] = True
203. self._last_index_update = now
204. finally:
Local variables:
Name Value
cursor <trac.db.util.IterableCursor object at 0x2b4cb9237f90>
db <trac.db.pool.PooledConnection object at 0x2b4cb8f184b0>
now 1268403494.9613349
self <trac.wiki.api.WikiSystem object at 0x2b4cb8f15a90>
# File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/db/util.py", line 60, in execute
Code fragment:
55. except Exception, e:
56. self.log.debug('execute exception: %r', e)
57. raise
58. if args:
59. return self.cursor.execute(sql_escape_percent(sql), args)
60. return self.cursor.execute(sql)
61.
62. def executemany(self, sql, args=None):
63. if self.log:
64. self.log.debug('SQL: %r', sql)
65. try:
Local variables:
Name Value
args None
self <trac.db.util.IterableCursor object at 0x2b4cb9237f90>
sql 'SELECT DISTINCT name FROM wiki'
# File "/usr/lib64/python2.4/site-packages/MySQLdb/cursors.py", line 163, in execute
Code fragment:
158. self.errorhandler(self, TypeError, m)
159. except:
160. exc, value, tb = exc_info()
161. del tb
162. self.messages.append((exc, value))
163. self.errorhandler(self, exc, value)
164. self._executed = query
165. self._warning_check()
166. return r
167.
168. def executemany(self, query, args):
Local variables:
Name Value
ListType <type 'list'>
TupleType <type 'tuple'>
args None
charset 'utf8'
db <weakproxy at 0x2b4cb8f079f0 to Connection at 0x2b4cbcdae5a0>
exc <class _mysql_exceptions.OperationalError at 0x2b4cb6881fb0>
exc_info <built-in function exc_info>
query 'SELECT DISTINCT name FROM wiki'
self <trac.db.mysql_backend.MySQLUnicodeCursor object at 0x2b4cb8f15710>
value <_mysql_exceptions.OperationalError instance at 0x2b4cb91fe518>
# File "/usr/lib64/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729)
Trac: 0.11.5
Python: 2.4.3 (#1, Jul 27 2009, 17:56:30) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]
setuptools: 0.6c5
MySQL: server: "5.0.77", client: "5.0.77", thread-safe: 0
MySQLdb: 1.2.1
Genshi: 0.5.1
mod_python: 3.2.8
Subversion: 1.4.2 (r22196)
jQuery: 1.2.6
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.