LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 03-12-2010, 03:08 AM   #1
kumarsalmeda
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Trac detected an internal error:


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
am new to this please ...........

ooooooop

Last edited by XavierP; 03-12-2010 at 04:39 AM.
 
Old 03-12-2010, 04:09 AM   #2
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Use code tags, else no one will be able to read what you have written.

e.g.
Code:
int main () 
{
}
Read this w.r.t code tags
http://www.phpbb.com/community/faq.php?mode=bbcode

Last edited by Aquarius_Girl; 03-12-2010 at 04:13 AM.
 
Old 03-12-2010, 04:19 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
You can still try their mailing lists Trac-users

http://trac.edgewall.org/wiki/MailingList
 
Old 03-12-2010, 04:39 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal Wireless card is not detected r00tNinj4 Linux - Wireless Networking 12 01-25-2007 10:43 AM
internal modem detected not working agpev1 Fedora 5 08-22-2005 02:46 AM
D-Link Internal Modem, not Detected maheshpidshetti Linux - Hardware 0 09-30-2004 10:16 PM
Dell Internal Modem not detected 4x4hunter Linux - Laptop and Netbook 5 07-16-2004 05:47 AM
motorola sm56 internal modem- not detected.. kiru Linux - Hardware 8 07-08-2003 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration