Priya S | 23 May 23:21

Re: restoring the backup

Hi Chris,

Thank you for the reply. Installed using unified installer, linux based.  Copied the file into a correct location /opt/plone-2.5.4/zeocluster/server/var.

Started the service saying ~/zeocluster/bin/startcluster.sh.

Where is the log file located, I can have a look at tail -f , so that will know what is happening while connecting...

Thanks
Priya

On Wed, May 23, 2012 at 11:12 PM, Chris Crownhart <chris-Y4Xf+uDJK0tS6bkBglNCWfegYHeGw8Jk@public.gmane.org> wrote:
Priya,

If you installed 2.5.4 from a buildout based installer, then the Data.fs file needs to go into <install_root>/var/filestorage/.

Also, if you installed it to have a ZEO server and a client, then you need to start two servers/services... Something like bin/zeoserver start and bin/instance start.

Chris


On 5/23/12 3:04 PM, Priya S wrote:
Hi,

I have a backup file, data.fs taken from Plone version 2.5.4. I want to fetch the data from the content. Hence installed the same version in my linux box and able to see zope running, created a test plone site, its fine.

But when I copy the backup of Data.fs into /opt/plone/zeocluster/server/var, the site is not getting up. It keeps saying connecting to the site....

Could anyone let me know how to solve this.

Thank you in advance.

Regards
Priya



------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________ Plone-Users mailing list Plone-Users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-users

-- Chris Crownhart Core Software Group http://www.coresoftwaregroup.com Office: 970/672-0303 Mobile: 303/809-1001

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Priya S | 23 May 23:04

restoring the backup

Hi,

I have a backup file, data.fs taken from Plone version 2.5.4. I want to fetch the data from the content. Hence installed the same version in my linux box and able to see zope running, created a test plone site, its fine.

But when I copy the backup of Data.fs into /opt/plone/zeocluster/server/var, the site is not getting up. It keeps saying connecting to the site....

Could anyone let me know how to solve this.

Thank you in advance.

Regards
Priya

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Chris Duan | 23 May 09:38
Picon

jodconverter connect error When try to setup "Document Viewer"

Hi everybody

I want to install add-on "Document Viewer"
(http://plone.org/products/document-viewer) for word, excel, powerpoint file
view online.

Install requirements have setted followed
http://plone.org/products/document-viewer and
http://documentcloud.github.com/docsplit/ .Added collective.documentviewer
to eggs and zcml, re-build , turn on it in Plone, everythins seems fine.

Upload PDF files,the online view is ok, but got errorr when try to convert
word files(also excel,powerpoint).The "Document Viewer Conversion Error" is:

+++++ error messages begin ++++++
……

Exception: Command
/usr/bin/docsplit pdf
/usr/local/Plone.B/dvpdffiles/9/2/9229882623514927837dbcae4d06ab40/dump.doc
--output /usr/local/Plone.B/dvpdffiles/9/2/9229882623514927837dbcae4d06ab40
finished with return code
1
and output:
Exception in thread "main"
org.artofsolving.jodconverter.office.OfficeException: failed to start and
connect
……
Caused by: java.util.concurrent.ExecutionException:
org.artofsolving.jodconverter.office.OfficeException: could not establish
connection
……
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not
establish connection
……
Caused by: org.artofsolving.jodconverter.office.OfficeException: office
process died with exit code 134
……
+++++ error messages end ++++++

the source codes can found at
http://code.google.com/p/jodconverter/source/browse/trunk/jodconverter-core/src/main/java/org/artofsolving/jodconverter/office/ManagedOfficeProcess.java?r=215

I had try to solve it with:

1.
# ln -s libreoffice /usr/bin/soffice
# ls -l /usr/bin/ | grep office
lrwxrwxrwx 1 root   root          34 May  3 08:42 libreoffice ->
../lib/libreoffice/program/soffice
-rwxr-xr-x 1 root   root          53 May  3 07:38 loffice
lrwxrwxrwx 1 root   root          11 Mar  1 20:03 openoffice.org ->
libreoffice
lrwxrwxrwx 1 root   root          11 May 23 14:20 soffice -> libreoffice

2.start soffice in terminal 
#/usr/bin/soffice --headless --nologo --nofirststartwizard --invisible
--accept="socket,host=127.0.0.1,port=8100;urp" & > /dev/null
# ps aux | grep office
root     16116  0.0  0.0 127976  2288 pts/0    Sl   14:25   0:00
/usr/lib/libreoffice/program/oosplash --headless --nologo
--nofirststartwizard --invisible
--accept=socket,host=127.0.0.1,port=8100;urp
root     16135  0.0  0.3 604344 129144 pts/0   Sl   14:25   0:02
/usr/lib/libreoffice/program/soffice.bin --headless --nologo
--nofirststartwizard --invisible
--accept=socket,host=127.0.0.1,port=8100;urp
root     16229  0.0  0.0   6496   608 pts/0    S+   15:17   0:00 grep
--color=auto office
(the port of zeo-server had changed before)

but nothing changed. So what should i do now ?

other infomastions (maybe useful)
1.Plone 4.1.5 (4114)
This Plone is new setup,and is upgrade from 4.1.4

2.eggs added 
++++++++++++++++++++
eggs =
# Products.LinguaPlone==4.1.1
Products.LinguaPlone
# Products.PloneFormGen==1.7.0
Solgema.fullcalendar
collective.z3cform.norobots
webcouturier.dropdownmenu
collective.ckeditor
Products.FCKeditor
collective.documentviewer
Products.OpenXml

zcml =
# plone.reload
Solgema.fullcalendar
collective.z3cform.norobots
webcouturier.dropdownmenu
collective.ckeditor
Products.FCKeditor
collective.documentviewer
+++++++++++++++++++++++++

3.
Installed graphicsmagick & ghostscript with source code
Installed docsplit with gem
Installed others with apt-get

4.
++++++++++++++++
# ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
++++++++++++++++
++++++++++++++++
# gem -v
1.8.24
++++++++++++++++
++++++++++++++++
# gs -v
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
+++++++++++++++++
+++++GraphicsMagick+++++++
# gm version
GraphicsMagick 1.3.15 2012-04-28 Q8 http://www.GraphicsMagick.org/
Copyright (C) 2002-2012 GraphicsMagick Group.
Additional copyrights and licenses apply to this software.
See http://www.GraphicsMagick.org/www/Copyright.html for details.

Feature Support:
Thread Safe yes
Large Files (> 32 bit) yes
Large Memory (> 32 bit) yes
BZIP yes
DPS no
FlashPix no
FreeType yes
Ghostscript (Library) no
JBIG no
JPEG-2000 yes
JPEG yes
Little CMS yes
Loadable Modules no
OpenMP yes (200805)
PNG yes
TIFF yes
TRIO no
UMEM no
WMF yes
X11 yes
XML yes
ZLIB yes

Host type: x86_64-unknown-linux-gnu

Configured using the command:
./configure

Final Build Parameters:
CC = gcc -std=gnu99
CFLAGS = -fopenmp -g -O2 -Wall -pthread
CPPFLAGS = -I/usr/include/freetype2 -I/usr/include/libxml2
CXX = g++
CXXFLAGS = -pthread
LDFLAGS = -L/usr/lib -L/usr/lib
LIBS = -llcms2 -ltiff -lfreetype -ljasper -ljpeg -lpng12 -lwmflite -lXext
-lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lgomp -lpthread
+++++++++++++++++++++++++++++

5.The full messages of error
+++++++++++++++++++++++++++++
Traceback (most recent call last):
  File
"/usr/local/Plone.B/buildout-cache/eggs/collective.documentviewer-2.0.1-py2.6.egg/collective/documentviewer/convert.py",
line 477, in __call__
    pages = self.run_conversion()
  File
"/usr/local/Plone.B/buildout-cache/eggs/collective.documentviewer-2.0.1-py2.6.egg/collective/documentviewer/convert.py",
line 373, in run_conversion
    return docsplit.convert(self.storage_dir, **args)
  File
"/usr/local/Plone.B/buildout-cache/eggs/collective.documentviewer-2.0.1-py2.6.egg/collective/documentviewer/convert.py",
line 283, in convert
    self.convert_to_pdf(path, filename, output_dir)
  File
"/usr/local/Plone.B/buildout-cache/eggs/collective.documentviewer-2.0.1-py2.6.egg/collective/documentviewer/convert.py",
line 255, in convert_to_pdf
    self._run_command(cmd)
  File
"/usr/local/Plone.B/buildout-cache/eggs/collective.documentviewer-2.0.1-py2.6.egg/collective/documentviewer/convert.py",
line 116, in _run_command
    raise Exception(error)
Exception: Command
/usr/bin/docsplit pdf
/usr/local/Plone.B/dvpdffiles/9/2/9229882623514927837dbcae4d06ab40/dump.doc
--output /usr/local/Plone.B/dvpdffiles/9/2/9229882623514927837dbcae4d06ab40
finished with return code
1
and output:
Exception in thread "main"
org.artofsolving.jodconverter.office.OfficeException: failed to start and
connect
	at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:64)
	at
org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:101)
	at
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:62)
	at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:112)
Caused by: java.util.concurrent.ExecutionException:
org.artofsolving.jodconverter.office.OfficeException: could not establish
connection
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
	at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:62)
	... 3 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not
establish connection
	at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:142)
	at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:31)
	at
org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:58)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)
Caused by: org.artofsolving.jodconverter.office.OfficeException: office
process died with exit code 134
	at
org.artofsolving.jodconverter.office.ManagedOfficeProcess$6.attempt(ManagedOfficeProcess.java:136)
	at
org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:40)
	at
org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:30)
	at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:120)
	... 8 more
+++++++++++++++++++++++++++++

--
View this message in context: http://plone.293351.n2.nabble.com/jodconverter-connect-error-When-try-to-setup-Document-Viewer-tp7555762.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plone-Users mailing list
Plone-Users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users
Priya S | 22 May 19:04

How to import Data.fs from Plone-2.5.4 to Plone-4.1.4

Hi,

I am new to Plone. I have a backup file of Data.fs from Plone-2.5.4(Linux), now I want to import it into Plone-4.1.4 which has been installed in Ubuntu linux 11.10.

Could you please tell me how to do it?.

Thank you in advance.

Warm regards
Priya

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Picon

Related items in Collection query results

I stumbled across this behaviour to-day:
https://dev.plone.org/ticket/8325

Is there any way I can remove related items from the collection view?

--

-- 

Tarlika Elisabeth Schmitz

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Enzo Cesanelli | 21 May 18:36
Picon

future of versioning on Plone

Hi list,

It has been a whileŠ but I haven't stopped advocating Plone all over the
world! :)

I'm trying to convince my current employer to adopt Plone as the next
(well to be honest the first!) CMS but someone from the company (the head
of IT operations) pointed out that:

"workflow management with built-in staging and versioning capabilities [Š]
is the feature that went catastrophically wrong for me at a previous
employer and cost us very, very dearly. However, they were trying to work
with multi-gigabyte diffs between stage and production, I think that's
what completely broke it."

So I was just wondering if there is any plan for future evolutions of
staging and versioning features in Plone as I remember Andreas Jung was
working on it some time ago (i.e. zopyx.versioning) but I also know that
he recently abandoned MongoDBŠ

I would like to give my colleague an informed and updated answer regarding
this topic.

If anyone can help me, I would really appreciate it!

Cheers,

Enzo

PS. Andreas I cc'ed you because I believe you're not following this list
anymore.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Christoph Pingel | 16 May 16:18

jQuery tools overlay and validation/error handling

For my archetyps content types, I built custom add forms (as browser views) which are called via the jQuery
tools overlay architecture. 
Everything works like a charm, except for validation resp. error handling.

I'm wondering how this is done using the included jquery validation script and the usual .prepOverlay configuration.

Is there any piece of code in Plone where I could learn how this is done? 
I could not find any useful documentation on plone.org or other places on the web.

Thanks for any input,
best regards,
Christoph

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Philip Kilner | 15 May 13:29
Picon
Favicon

Dealing with Missing BLOBs

Hi,

I've been asked to recover a site which has been passed to me in a 
Data.fs file - no BLOB storage, and for reasons that are outside my 
control little hope of regaining access to the original data.

In use, the site works fine, but if I attempt a catalog clear and 
rebuild, it dies with the following traceback: -

Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Products.CMFPlone.CatalogTool, line 459, in manage_catalogRebuild
Module plone.app.discussion.patches, line 47, in patchedClearFindAndRebuild
Module OFS.FindSupport, line 239, in ZopeFindAndApply
Module OFS.FindSupport, line 239, in ZopeFindAndApply
Module OFS.FindSupport, line 239, in ZopeFindAndApply
Module OFS.FindSupport, line 227, in ZopeFindAndApply
Module plone.app.discussion.patches, line 26, in indexObject
Module Products.Archetypes.CatalogMultiplex, line 38, in indexObject
Module Products.CMFPlone.CatalogTool, line 387, in catalog_object
Module Products.ZCatalog.ZCatalog, line 476, in catalog_object
Module Products.ZCatalog.Catalog, line 339, in catalogObject
Module Products.ZCTextIndex.ZCTextIndex, line 186, in index_object
Module Products.Archetypes.BaseObject, line 533, in SearchableText
Module Products.SimpleAttachment.content.file, line 41, in getIndexValue
Module plone.app.blob.field, line 291, in getFilename
AttributeError: getFilename

Am I correct in thinking that this is it hitting a missing BLOB?

Either way, is there a way to identify the content object that has the 
issue?

This is a large site by my standards (5,000+ pages), but is 100% 
text-based so I'd really like to simply find and delete anything with 
binaries.

FWIW, the content manager of the site in question seems to have randomly 
created "Page" content with News, Page, and Rich Document Content types 
- so perhaps one possible option here is to walk the content with a 
script and create simple pages, leaving the BLOB issue behind.

--

-- 

Regards,

PhilK

e: phil@... - m: 07775 796 747

'work as if you lived in the early days of a better nation'
- alasdair gray

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Carol Ganz | 14 May 23:47
Favicon

Plone Tune-Up Friday May 18th

FOCUS
The May 18th Plone Tune-Up will focus on triaging tickets in TinyMCE. There will be experts in TinyMCE
around to answer questions and provide advice. 

ABOUT
Plone Tune-Ups are regularly scheduled online events that give developers the chance to select and work on
resolving issues. Not everyone wants to be a core developer or maintain a product in Plone, but most people
have the ability to squash a few bugs, provide QA or improve documentation. Every time you give time back to
the community you make Plone a better solution for everyone.   As an open source system, Plone relies on
developers of all interests and skill levels to participate so that Plone can continue to be a leader among
open source Content Management Systems. Experts will be available in a special IRC chat #plone-tuneup if
you need help getting started.

THE PRIZE: THE EVER POPULAR PLONE TUNE-UP T-SHIRT
The Tune-Up prize will be a rare and coveted Plone Tune-Up t-shirt. In the past, these shirts have been
awarded for: closing the most tickets, helping new people get started or generally being helpful to
others. Up to one shirt may be awarded per Tune-Up at the discretion of the Tune-Up managers.


--------------------------------------
PLONE TUNE-UP
Friday, May 18, 2012
9am-6pm in your local time zone!
http://plone-tuneup.ning.com
Join us at #plone-tuneup on irc.freenode.net
Twitter tag: #plonetuneup
View the list of tickets for this Tune-Up: http://dev.plone.org/plone/report/56
View the list of other tickets you could work on: http://tinyurl.com/TuneUpBugs
(if you choose tickets in this list, please tag them "TuneUp56")
-------------------------------------- 

WHAT'S UP?
* The most recent development release is Plone 4.2!  If you are working on Plone 4 tickets, please point your
buildouts to https://github.com/plone/buildout.coredev

HOW TO GET STARTED
-> On Tune-Up day, go to #plone-tuneup in IRC and ask for a ticket to work on if you don't know which one to pick.
If you're wondering about the sort of tickets people start out with, look for tickets tagged as "newbie" or
"greenbelt." 
-> Once you have chosen a ticket, be sure to "accept" it. If you can't, review the process to get commit rights
at  http://plone.org/community/develop
-> Fixes for 4.1 are on http://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.1/
-> Fixes for 4.2 are on http://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.2/
-> Paste error messages and code to http://pastie.org/ to share them with others in the Tune-Up room.

Thanks,

Carol------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Plone-developers mailing list
Plone-developers@...
https://lists.sourceforge.net/lists/listinfo/plone-developers
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Johannes Graumann | 13 May 21:51
Picon

Migrating 4.1.3 from 32bit to 64bit (both unified installer)

Hello,

Does someone have any pointers regarding what the necessary steps are for 
the migration referenced in the Subject? Do I just migrate the database 
after having used the unified installer on 64bit?

Thanks for any hints, Joh

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
gus urban | 12 May 05:39
Picon

Re: problems with advanced seach

Eric, Jens
I have the same problem.
For example I have another mount point in these site and I have not the problem but in these I have again the problem
Any other possibilities?
Thanks

Gus

2012/5/11 Eric Bréhault <ebrehault-Re5JQEeQqe8@public.gmane.orgm>
Hello,

I had a similar case.
As far as I remember, it was due to a content type that was not existing anymore but that were still listed in the Search settings.
Go to Site setup / Search, change the list of searchable type and save.

Eric


On Fri, May 11, 2012 at 3:29 PM, gus urban <gusunavarro-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Jens
Thanks very much but I have the same problem.
Here the error.
Any help?

Thanks very much
Gus

  • URL: file:/usr/local/Plone/buildout-cache/eggs/Products.CMFPlone-4.1.4-py2.6.egg/Products/CMFPlone/skins/plone_forms/search_form.pt
    Line 162, Column 24
    Expression: <PythonExpr portal_types.getTypeInfo(type).Title()>
    Names:
    {'container': <PloneSite at /pagina>, 'context': <PloneSite at /pagina>, 'default': <object object at 0x7f0e4985eb20>, 'here': <PloneSite at /pagina>, 'loop': {u'sublist': <Products.PageTemplates.Expressions.PathIterator object at 0x8ab3150>, u'type': <Products.PageTemplates.Expressions.PathIterator object at 0x95b8f50>}, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x70a0c58>, 'request': <HTTPRequest, URL=http://www.koluel.org/search_form>, 'root': <Application at >, 'template': <FSPageTemplate at /pagina/search_form>, 'traverse_subpath': [], 'user': <PropertiedUser 'admin'>}
  • Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
    __traceback_info__: portal_types.getTypeInfo(type).Title()
  •  
  • Module PythonExpr, line 1, in <expression>
  •  
  • Module AccessControl.ImplPython, line 675, in guarded_getattr

AttributeError: 'NoneType' object has no attribute 'Title'




2012/5/11 Jens W. Klein <jens-/xXJnQbHT9YO4ta96kjR9g@public.gmane.org>

On 2012-05-11 06:57, gus urban wrote:
> Hello
>
> I have a problem . When I go to advanced search . I have these problem.
> Any can help me.
>
> Thanks
> Gus
>
>   * *URL:
>     file:/usr/local/Plone/buildout-cache/eggs/Products.CMFPlone-4.1.4-py2.6.egg/Products/CMFPlone/skins/plone_forms/search_form.pt
>     <http://search_form.pt>*
>     *Line 162, Column 24*
>     *Expression: <PythonExpr portal_types.getTypeInfo(type).Title()>*
>     *Names:*
>
>     {'container':<PloneSite at /pagina>,
>       'context':<PloneSite at /pagina>,
>       'default':<object object at 0x7ff80efbfb20>,
>       'here':<PloneSite at /pagina>,
>       'loop': {u'sublist':<Products.PageTemplates.Expressions.PathIterator object at 0xd6099d0>,
>                u'type':<Products.PageTemplates.Expressions.PathIterator object at 0xd07aed0>},
>       'nothing': None,
>       'options': {'args': ()},
>       'repeat':<Products.PageTemplates.Expressions.SafeMapping object at 0xbe879f0>,
>       'request':<HTTPRequest, URL=http://www.koluel.org/search_form>,
>       'root':<Application at>,
>       'template':<FSPageTemplate at /pagina/search_form>,
>       'traverse_subpath': [],
>       'user':<PropertiedUser'admin'>}
>
>   * Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
>     __traceback_info__: portal_types.getTypeInfo(type).Title()
>   * Module PythonExpr, line 1, in <expression>
>   * Module AccessControl.ImplPython, line 675, in guarded_getattr
>
> AttributeError: 'NoneType' object has no attribute 'Title'

Had the same recently after removing an addon and with it its type
definition. Go to ZMI -> portal_catalog -> advanced tab and click "clear
and rebuild" (might take a while). It solved the problem (at least for me).

hth Jens
--
Klein & Partner KG, member of BlueDynamics Alliance


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plone-Users mailing list
Plone-Users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plone-Users mailing list
Plone-Users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users

Gmane