Hi Theodoros,

In data lunedì 18 gennaio 2010 10:13:16, Theodoros Theodoropoulos ha scritto:
> Hello to all and Happy new year!
> 
> I've installed 0.99.90.20091222 and, in general, it seems to be working
> pretty well :)
> Having said that, I'm getting the following exception when trying to
> access Admin Area->Websubmit->(any doc type)->(Any Action), View
> Interface. (ie
> admin/websubmit/websubmitadmin.py/doctypeconfigure?doctype=DEMOART ->
> SBI -> view interface).
> 
> Can you reproduce it? I cannot understand if it's related to a custom
> page/webfunction/etc that's missing, or is a generic error that may
> appear in all installations.
> 
> Also, I found in the changelog the following excerpt, that might be
> relevant:
> 2007-03-20  Nicholas Robinson <[email protected]>
> * modules/websubmit/lib/websubmit_engine.py: Bug Fix: If a
> WebSubmit function returns a NoneType (or indeed a non-string), it
> no longer causes a TypeError due to concatenation of strings with
> non-strings when creating page containing the output of functions.
> NoneTypes returned by functions are now replaced with an empty
> string, and all other return values are casted to a strings;
> 
> (FYI, pagenb from sbmFIELD in the DB is always a number, not null and
> the pages were displaying properly in 0.99.1)
> 
> Any ideas?

happy new year too! Yep this bug (and some more that you might not have yet 
spot in the different Administration interfaces) were caused by small bugs in 
the WSGI re-implementation of mod_python publisher handler.

These have been fixed in the latest GIT repository (after the prerelease).

You can apply to your testing installation the following patches:

<http://cdsware.cern.ch/repo/?p=cds-
invenio.git;a=commitdiff_plain;h=84a3b001d54c9fba8cb0b1a7b75cb2fa8e631a9c>

<http://cdsware.cern.ch/repo/?p=cds-
invenio.git;a=commitdiff_plain;h=9cfbd12667de72bce75120898d8be06ea8a44158>

in order to have a working WebSubmit admin interface.

Best regards,
        Sam

-- 
Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to