Re: Index browsing doesn't work when default language is not English

2008-02-28 Thread Tibor Simko
Hi Ferran:

On Thu, 28 Feb 2008, Ferran Jorba wrote:

 here is my report.  When Invenio (0.92.1) is installed with a
 default language other than English, index browsing doesn't work
 well; specifically, when going to next page.

The CVS version has the same problem, but it is easy to fix.  I hope
to get to it in the afternoon...

Best regards
-- 
Tibor Simko ** CERN Document Server ** http://cds.cern.ch/



Index browsing doesn't work when default language is not English

2008-02-28 Thread Ferran Jorba
Hi again,

here is my report.  When Invenio (0.92.1) is installed with a default
language other than English, index browsing doesn't work well;
specifically, when going to next page.

Example:

 
http://ddd.uab.cat/search?p=smithf=authoraction_browse=Llistac=sf=so=drm=rg=10sc=0of=hb

and click 'Següent' (= next).  BTW, you can also see that some texts are
in Catalan even when changing language.

Author browsing works fine in other 0.92.1 installations:

 
http://cdsweb.cern.ch/search?p=smithf=authoraction_browse=Browsec=sf=so=drm=rg=10sc=1of=hb

 
http://romdoc.upb.ro/search?sc=1p=smithf=authoraction_browse=Browsec=Articles+%26+Preprintsc=Books+%26+Reportsc=Conferencesc=Multimedia+%26+Artsc=Periodicalsc=Presentationsc=UPB+Museumc=Workshops

 
http://sysdoc.com.dtu.dk/search?sc=1p=smithf=authoraction_browse=Browsec=Journal+and+Conference+Articles+c=Thesesc=Books+and+Book+Chaptersc=Teaching+Materialc=Reportsc=Multimedia

etc.

Thanks,

Ferran



Re: Index browsing doesn't work when default language is not English

2008-02-28 Thread Ferran Jorba
Pomoc Tibor,

 The CVS version has the same problem, but it is easy to fix.  I hope
 to get to it in the afternoon...

 Done.  I fixed a couple of other browse issues at the same time too.

Vďaka,

Ferran



Re: Index browsing doesn't work when default language is not English

2008-02-28 Thread Ferran Jorba
Hi Tibor,

 here is my report.  When Invenio (0.92.1) is installed with a
 default language other than English, index browsing doesn't work
 well; specifically, when going to next page.

 The CVS version has the same problem, but it is easy to fix.  I hope
 to get to it in the afternoon...

Oh, great!

Thanks so much,

Ferran



Re: Index browsing doesn't work when default language is not English

2008-02-28 Thread Tibor Simko
Hi Ferran:

On Thu, 28 Feb 2008, Tibor Simko wrote:

 The CVS version has the same problem, but it is easy to fix.  I hope
 to get to it in the afternoon...

Done.  I fixed a couple of other browse issues at the same time too.

Best regards
-- 
Tibor Simko ** CERN Document Server ** http://cds.cern.ch/



Re: Submission bug

2008-02-28 Thread Nicholas Robinson

Hi Zbigniew,

Thanks for reporting.  This bug appears to be one that has been  
corrected in the current CVS version of Invenio.  If all goes well,  
we're planning to make a new release within the next couple of weeks,  
so things should be better then . . .


Best wishes,
Nick.

On Feb 25, 2008, at 10:07 AM, Tibor Simko wrote:


Hi Zbigniew:

On Sat, 23 Feb 2008, Zbigniew Leonowicz wrote:


I found another one in submission:
When going directly from the first tab to the fourth I got:

MOD_PYTHON ERROR

ProcessId: 7083
Interpreter: 'zet10.ipee.pwr.wroc.pl'

ServerName: 'zet10.ipee.pwr.wroc.pl'
DocumentRoot: '/opt/cds-invenio/var/www'

URI: '/submit'
Location: '/submit'
Directory: None
Filename: '/opt/cds-invenio/var/www/submit'
PathInfo: ''

Phase: 'PythonHandler'
Handler: 'invenio.webinterface_layout'

Traceback (most recent call last):

File /usr/lib/python2.5/site-packages/mod_python/importer.py,  
line 1537,

in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)

File /usr/lib/python2.5/site-packages/mod_python/importer.py,  
line 1229,

in _process_target
result = _execute_target(config, req, object, arg)

File /usr/lib/python2.5/site-packages/mod_python/importer.py,  
line 1128,

in _execute_target
result = object(arg)

File
/usr/local/lib/python2.5/site-packages/invenio/ 
webinterface_handler.py,

line 231, in _handler
return root._traverse(req, path)

File
/usr/local/lib/python2.5/site-packages/invenio/ 
webinterface_handler.py,

line 191, in _traverse
result = obj(req, form)

File
/usr/local/lib/python2.5/site-packages/invenio/ 
websubmit_webinterface.py,

line 386, in index
return _index(req, **args)

File
/usr/local/lib/python2.5/site-packages/invenio/ 
websubmit_webinterface.py,

line 380, in _index
nbPg, curpage)

File /usr/local/lib/python2.5/site-packages/invenio/ 
websubmit_engine.py,

line 444, in interface
returnto = returnto,

File
/usr/local/lib/python2.5/site-packages/invenio/ 
websubmit_templates.py,

line 800, in tmpl_page_interface_js
'msg' : _(The field %(field)s is mandatory.) + '\n' + _(Going  
back to

page) + returnto['page'],

TypeError: cannot concatenate 'str' and 'long' objects


Thanks for the bug report.  CC-ing fellow developers who are dealing
with the submission system.

Best regards
--
Tibor Simko ** CERN Document Server ** http://cds.cern.ch/





Re: RFC: Invenio/Indico release numbering

2008-02-28 Thread Ferran Jorba
Hello Tibor.

 We have not yet proof-read English messages, so they may still change,
 so better to do nothing still.  Possibly we shall release 0.99.0 with
 old PO files, and incorporate translations into 0.99.1 only.  Now that
 our large codebase changes are mostly over, we do plan on releasing
 more frequently. ;-)

Ok with that 0.99.1.

 I have bug report/enhancement request that I'd really like to see it
 fixed before next release.  Where should I post it?  -users or
 -developers list?

 Better to -developers.  If the patches are big, then just send them to
 my personal address.

No, sorry I don't have any patch.  I'll write another mail to the
-developers list, anyway.

 Also, since no one responded to your concrete ADMINEMAIL vs
 SUPPORTEMAIL scenario, please feel free to adapt every send_email()
 call to your needs. ;-)

No problem, thanks,

Ferran



Re: RFC: Invenio/Indico release numbering

2008-02-28 Thread Tibor Simko
Hi Ferran:

On Wed, 27 Feb 2008, Ferran Jorba wrote:

 Ooops!  Please give us (the translators) a little more margin.  I do that
 part of my job volunteer from home (like now), but I'm really short of time.
 Moreover, a couple of weeks ago you wrote that we (the translators)
 should do nothing about some change I forgot ;-)

We have not yet proof-read English messages, so they may still change,
so better to do nothing still.  Possibly we shall release 0.99.0 with
old PO files, and incorporate translations into 0.99.1 only.  Now that
our large codebase changes are mostly over, we do plan on releasing
more frequently. ;-)

 I have bug report/enhancement request that I'd really like to see it
 fixed before next release.  Where should I post it?  -users or
 -developers list?

Better to -developers.  If the patches are big, then just send them to
my personal address.

Also, since no one responded to your concrete ADMINEMAIL vs
SUPPORTEMAIL scenario, please feel free to adapt every send_email()
call to your needs. ;-)

Best regards
-- 
Tibor Simko ** CERN Document Server ** http://cds.cern.ch/



CVS Commit Overview for 2008-02-27

2008-02-28 Thread CDS Invenio CVS
CVS Commit Overview for 2008-02-27
==

2008-02-27  Nicholas Robinson nicholas.robin...@cern.ch

* modules/websubmit/lib/websubmit_file_stamper.py: + Replaced use
of os.popen with os.system in places where it wasn't important   to
read anything back from a command.This should avoid problems
like the error code status being read, or theexistence of a
file [that should have been created by the command] beingtested
before the command that was launched under os.popen has actually
finished executing.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* modules/miscutil/demo/democfgdata.sql: Fixed syntax error in
BibClassify table insert statements.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* modules/bibclassify/lib/bibclassify_daemon.py: Fixed syntax error
in update_date_of_last_run().

2008-02-27  Samuele Kaplun samuele.kap...@cern.ch

* THANKS, modules/bibclassify/etc/Makefile.am,
modules/bibclassify/etc/NASA-subjects.rdf,
modules/bibclassify/etc/nasa-instruments.rdf,
modules/bibclassify/etc/nasa-subjects.rdf,
modules/bibclassify/lib/bibclassify_daemon.py,
modules/miscutil/demo/democfgdata.sql,
modules/miscutil/sql/tabcreate.sql: Removed NASA-instruments which
doesn't bring any results. Updated bibclassify to allow for a
location (e.g. a url or a full path) to a Taxonomy.

2008-02-27  Nicholas Robinson nicholas.robin...@cern.ch

* modules/websubmit/etc/Makefile.am: Added file_stamper_templates
to list of directories.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* configure.ac: Removed unused (and useless) Month.KB.

2008-02-27  Samuele Kaplun samuele.kap...@cern.ch

* modules/miscutil/lib/textutils.py: Enhanced wrap_text_in_a_box
function.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* configure.ac, modules/websubmit/etc/DEMOPIC.tpl,
modules/websubmit/etc/DEMOPICcreate.tpl,
modules/websubmit/etc/DEMOPICmodify.tpl,
modules/websubmit/etc/EDSRTEXT.tpl,
modules/websubmit/etc/EDSRTEXTcreate.tpl,
modules/websubmit/etc/EDSRTEXTmodify.tpl,
modules/websubmit/etc/EDSTEXT.tpl,
modules/websubmit/etc/EDSTEXTcreate.tpl,
modules/websubmit/etc/EDSTEXTmodify.tpl,
modules/websubmit/etc/Makefile.am,
modules/websubmit/etc/demo-stamp-left-logo.png,
modules/websubmit/etc/demo-stamp-left.tex: Moved WebSubmit config
files all in one etc place, with Nick.  Standardized stamper config
file names.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* modules/websubmit/etc/DEMOPIC.tpl,
modules/websubmit/etc/DEMOPICcreate.tpl,
modules/websubmit/etc/DEMOPICmodify.tpl,
modules/websubmit/etc/EDSRTEXT.tpl,
modules/websubmit/etc/EDSRTEXTcreate.tpl,
modules/websubmit/etc/EDSRTEXTmodify.tpl,
modules/websubmit/etc/EDSTEXT.tpl,
modules/websubmit/etc/EDSTEXTcreate.tpl,
modules/websubmit/etc/EDSTEXTmodify.tpl: Added comment with the
template version number.  Deleted trailing blank lines.  With Nick.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* po/POTFILES.in: Added inveniocfg.py.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* modules/webstyle/css/cds.css: Harmonized colours of the tab text
and the tab border for all three kinds of detailed record page tabs
(active, inactive, disabled).

2008-02-27  Tibor Simko tibor.si...@cern.ch

* configure.ac: Added check for pdftk and pdf2ps.  Bumped up the
version number.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* INSTALL: Documented need for pdftk and pdf2ps for fulltext file
stamping.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* config/invenio-autotools.conf.in: Added CFG_PATH_PDFTK and
CFG_PATH_PDF2PS.

2008-02-27  Samuele Kaplun samuele.kap...@cern.ch

* modules/miscutil/lib/textutils.py: Fixed a small bug and restyled
variables names.

2008-02-27  Tibor Simko tibor.si...@cern.ch

* modules/webmessage/lib/webmessage_templates.py: Fixed two I18N
output messages.  (Do not use more than one unnamed parameter (%s)
because some languages may need to invert the order.  Use named
parameters instead.)

2008-02-27  Samuele Kaplun samuele.kap...@cern.ch

* modules/miscutil/lib/textutils.py: Fixed style_name - style.
'DEFAULT' - '__DEFAULT'.

2008-02-27  Nicholas Robinson nicholas.robin...@cern.ch

* modules/websubmit/lib/websubmit_file_stamper.py: Import of some
CFG_ config variables from invenio.config; Updated help message;
Added example of how to call the tool via the CLI;

-- 
CDS Invenio Developers project-cdsware-develop...@cern.ch