Hello,


I have installed Invenio<http://invenio-software.org/> v1.2.2.1-5df3f-dirty .  
It works.

But I have seen the error in invenio.err logfile



more invenio.err

* 2017-02-15 09:51:47 -> WARNING: <class '_mysql_exceptions.Warning'>: Out of 
range value for column 'nbrecs' at row 1 
(/usr/lib64/python2.6/site-packages/invenio/dbquery.py:258)

** Traceback details

  File "/opt/invenio/bin/webcoll", line 32, in <module>
    main()
  File "/usr/lib64/python2.6/site-packages/invenio/websearch_webcoll.py", line 
1088, in main
    task_run_fnc=task_run_core)
  File "/usr/lib64/python2.6/site-packages/invenio/bibtask.py", line 610, in 
task_init
    ret = _task_run(task_run_fnc)
  File "/usr/lib64/python2.6/site-packages/invenio/bibtask.py", line 1173, in 
_task_run
    if callable(task_run_fnc) and task_run_fnc():
  File "/usr/lib64/python2.6/site-packages/invenio/websearch_webcoll.py", line 
1190, in task_run_core
    coll.update_reclist()
  File "/usr/lib64/python2.6/site-packages/invenio/websearch_webcoll.py", line 
908, in update_reclist
    (self.nbrecs, self.reclist.fastdump(), self.id))
  File "/usr/lib64/python2.6/site-packages/invenio/dbquery.py", line 258, in 
run_sql
    rc = cur.execute(sql, param)
  File 
"/usr/lib/python2.6/site-packages/MySQL_python-1.2.5-py2.6-linux-x86_64.egg/MySQLdb/cursors.py",
 line 207, in execute
    if not self._defer_warnings: self._warning_check()
  File 
"/usr/lib/python2.6/site-packages/MySQL_python-1.2.5-py2.6-linux-x86_64.egg/MySQLdb/cursors.py",
 line 117, in _warning_check
    warn(w[-1], self.Warning, 3)
  File "/usr/lib64/python2.6/site-packages/invenio/errorlib.py", line 647, in 
new_showwarning
    traceback.print_stack(file=invenio_err)



I modified some parameters in my.cnf. But the error still happens.

How to fix the problem?



I will appreciate any help.



Thank you very much!



Best regards,

Lanxin

Reply via email to