Re: Format template exception (SERVER_RETURN: 404)

2012-11-02 Thread Tibor Simko
On Wed, 31 Oct 2012, Jerome Caffaro wrote:
> Yep, that is this known long-standing js_quicktags.js toolbar from
> mod_python era that we need to fix (kill) from the BibFormat admin
> interface.

Fixed its location, for maint-1.0 and above.  Thanks for reporting the
bug, Theodoros.



Best regards
-- 
Tibor Simko


Re: Format template exception (SERVER_RETURN: 404)

2012-10-31 Thread Jerome Caffaro
Dear Theodoros,

Theodoros Theodoropoulos wrote:

> I keep getting (140 times and counting) the following exception every time i 
> try to edit a format template, although the rest of the interface works 
> fine... I cannot figure out why it appears... Any ideas? It happens for 
> built-in templates as well as custom ones...

Yep, that is this known long-standing js_quicktags.js toolbar from mod_python 
era that we need to fix (kill) from the BibFormat admin interface. 
That is also related to your previous message titled "ReferenceError: edToolbar 
is not defined".

You can safely ignore these notifications in the meantime...

Best regards
-- 
Jerome Caffaro ** CERN Document Server ** 

Format template exception (SERVER_RETURN: 404)

2012-10-31 Thread Theodoros Theodoropoulos

Hello everyone,

I keep getting (140 times and counting) the following exception every time i 
try to edit a format template, although the rest of the interface works fine... 
I cannot figure out why it appears... Any ideas? It happens for built-in 
templates as well as custom ones...

BTW, this specific box runs a 3 weeks old, pre-1.1 version of master branch, 
but i tried with a latest maint-1.1 box and appears also.


 * 2012-10-31 20:10:55 -> SERVER_RETURN: 404 
(webinterface_handler.py:427:_handler)

** User details
 agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:16.0) Gecko/20100101 Firefox/16.0
...
 guest: 0
  language: en
  login_method: AUTH
  nickname: 001000107412
precached_canseehiddenmarctags: True
precached_permitted_restricted_collections: []
precached_useadmin: True
   precached_usealerts: True
  precached_useapprove: True
  precached_usebaskets: True
   precached_usegroups: True
precached_useloans: True
 precached_usemessages: True
 precached_usepaperattribution: True
   precached_usepaperclaim: True
precached_usestats: True
   precached_viewclaimlink: False
 precached_viewsubmissions: True
   
referer:
   remote_host:
 remote_ip: 155.207.48.160
   session: 7b8dade1060076d9856df1736fa8b8a0
   uid: 1
   uri: 

** Traceback details

Traceback (most recent call last):
  File 
"/usr/lib64/python2.6/site-packages/invenio/webinterface_handler_wsgi.py", line 
462, in application
ret = invenio_handler(req)
  File "/usr/lib64/python2.6/site-packages/invenio/webinterface_handler.py", 
line 362, in _profiler
return _handler(req)
  File "/usr/lib64/python2.6/site-packages/invenio/webinterface_handler.py", 
line 427, in _handler
raise apache.SERVER_RETURN, apache.HTTP_NOT_FOUND
SERVER_RETURN: 404

** Stack frame details

Frame application in 
/usr/lib64/python2.6/site-packages/invenio/webinterface_handler_wsgi.py at line 
472
---
   469 admin_to_be_alerted = 
alert_admin_for_server_status_p(status,
   470   
req.headers_in.get('referer'))
   471 if admin_to_be_alerted:
>  472 register_exception(req=req, alert_admin=True)
   473 if not req.response_sent_p:
   474 start_response(req.get_wsgi_status(), 
req.get_low_level_headers(), sys.exc_info())
   475 return generate_error_page(req, admin_to_be_alerted)
---
  status =  '404'
  start_response =  ''
 req =  
''
 admin_to_be_alerted =  'True'
possible_handler =  'None'
 possible_module =  'None'
...

Best regards,
Theodoros Theodoropoulos