[Zope] import error

2008-11-26 Thread sujitha mary
hi all,
The importing of my site is getting failed due to an error:
"Input MIME type 'text/x-web-markdown' for transform markdown_to_html is not 
registered in the MIME types registry"
I can't re-export my site as my system got crashed and i have only my backup 
which is a .zexp file.
Is there any other possibility?
Please help.
Thanks in advance.



   
-
 Bollywood news, movie reviews, film trailers and more!  Click here.___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] import error

2006-01-13 Thread Paul Winkler
On Wed, Jan 11, 2006 at 03:00:43PM -0700, David Bear wrote:
> thanks for the info. I went and actually read the help text on the
> import/export screen where it states:
> 
> ==
> 
> You may import Zope objects which have been previously exported to a file,
> by placing the file in the "import" directory of your Zope installation on
> the server. You should create the "import" directory in the root of your
> Zope installation if it does not yet exist.
> 
> Note that by default, you will become the owner of the objects that you are
> importing. If you wish the imported objects to retain their existing
> ownership information, select "retain existing ownership information".
> ===
> 
> does this mean I create a directory named 'import' at the instance home?

It should be there already, it's created by mkzopeinstance.py.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] import error

2006-01-11 Thread David Bear
thanks for the info. I went and actually read the help text on the import/export screen where it states:

==

You may import Zope objects which have been previously
exported to a file, by placing the file in the "import"
directory of your Zope installation on the server. You should create 
the "import" directory in the root of your Zope installation 
if it does not yet exist.




Note that by default, you will become the owner of the objects 
that you are importing. If you wish the imported objects to retain 
their existing ownership information, select "retain existing 
ownership information".

===

does this mean I create a directory named 'import' at the instance home? (what is the 'root' of my zope installation?)On 1/11/06, SER.RI-TIC-Alexis Roda
 <[EMAIL PROTECTED]> wrote:David Bear wrote:
> Will attempting to import a zexp file (and exported plone site) I get> the following error:>> result=apply(object,args) # Type s to step into published object.>   File "/home/webenv/zope/lib/python/OFS/ObjectManager.py", line 532, in
> manage_importObject> raise BadRequest, 'Invalid file name %s' % escape(file)> BadRequest: Invalid file name InfoTechnical.zexpAcording to ObjectManager source this exception is raised because you're
suplying a path with a directory component (some/dir/InfoTechnical.zexp) def manage_importObject(self, file, REQUEST=None, set_owner=1): """Import an object from a file"""
 dirname, file=os.path.split(file) if dirname: raise BadRequestException, 'Invalid file name %s' %escape(file)HTH--
  
(@ @)oOO(_)OOo--<>  
Ojo por ojo y el mundo acabara ciego/\ Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)---___
Zope maillist  -  Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev
 )-- David BearWhat's the difference between private knowledge and public knowledge?
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] import error

2006-01-11 Thread SER.RI-TIC-Alexis Roda

David Bear wrote:
Will attempting to import a zexp file (and exported plone site) I get 
the following error:


result=apply(object,args) # Type s to step into published object.
  File "/home/webenv/zope/lib/python/OFS/ObjectManager.py", line 532, in 
manage_importObject

raise BadRequest, 'Invalid file name %s' % escape(file)
BadRequest: Invalid file name InfoTechnical.zexp


Acording to ObjectManager source this exception is raised because you're 
suplying a path with a directory component (some/dir/InfoTechnical.zexp)


def manage_importObject(self, file, REQUEST=None, set_owner=1):
"""Import an object from a file"""
dirname, file=os.path.split(file)
if dirname:
raise BadRequestException, 'Invalid file name %s' % 
escape(file)



HTH
--
   
  (@ @)
oOO(_)OOo--
<>   Ojo por ojo y el mundo acabara ciego
/\ Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)
---

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] import error

2006-01-11 Thread David Bear
Will attempting to import a zexp file (and exported plone site) I get the following error:

2006-01-11T09:44:03 ERROR(200) SiteError http://127.0.0.1:8180/do2/manage_importObject
Traceback (most recent call last):
  File "/home/webenv/zope/lib/python/ZPublisher/Publish.py", line 101, in publish
    request, bind=1)
  File "/home/webenv/zope/lib/python/ZPublisher/mapply.py", line 88, in mapply
    if debug is not None: return debug(object,args,context)
  File "/home/webenv/zope/lib/python/ZPublisher/Publish.py", line 39, in call_object
    result=apply(object,args) # Type s to step into published object.
  File "/home/webenv/zope/lib/python/OFS/ObjectManager.py", line 532, in manage_importObject
    raise BadRequest, 'Invalid file name %s' % escape(file)
BadRequest: Invalid file name InfoTechnical.zexp
Either I'm missing something very simple, or something is very wrong. Any idea what the problem might be?
-- David BearWhat's the difference between private knowledge and public knowledge?
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Import Error 'PTKDemo' - but *no* PTKDemo objects around..

2000-08-15 Thread Tony McDonald

Hi all,
I'm having a nightmare here.

I have a Zope 2.2 (src, solaris) installation that I built from 
scratch. Then, because *it would not* import an exported folder from 
a 2.1.6 installation I had to use the Data.fs from the 2.1.6 
installation and strip out everything other than the folder I was 
interested in.

Things seemed to be ok, but I found a nasty error I can't get around.

I wanted to use the 'advanced' tab on a ZSQL method and immediately 
got this traceback. This happens on *any* ZSQL method. I use the 
ZMySQL database adaptor.





I've also tried this with Zope 2.2.1b1 and get the same result.

Any thoughts would be appreciated here, I'm out of ideas.
tone.
--
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5116
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )