-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


- --On 28. Dezember 2006 12:50:39 -0500 Tom Von Lahndorff <[EMAIL PROTECTED]> 
wrote:

>
> Im unable to install LocalFS 1.7rc1 into a Zope 2.10.1 instance. I place
> the folder in the Products directory but upon restart nothing shows up in
> Zope. Any ideas as to what may be causing the problem or any suggestions
> for an alternative product for accessing filesystem files in Zope? IM not
> getting any error message, it just doesnt show up in the list of
> installed products or the add menu.
>


Running Zope in debug mode will tell you:

2006-12-28 19:06:58 ERROR Application Could not import Products.LocalFS
Traceback (most recent call last):
  File 
"/Users/ajung_data/sandboxes/Zope-2.10/Zope/lib/python/OFS/Application.py", 
line 703, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File 
"/Users/ajung_data/sandboxes/Zope-2.10/Zope/lib/python/Products/LocalFS/__init__.py",
 
line 44, in ?
    import os, LocalFS
  File 
"/Users/ajung_data/sandboxes/Zope-2.10/Zope/lib/python/Products/LocalFS/LocalFS.py",
 
line 52, in ?
    from OFS.content_types import find_binary
ImportError: cannot import name find_binary
Traceback (most recent call last):
  File 
"/Users/ajung_data/sandboxes/Zope-2.10/Zope/lib/python/Zope2/Startup/run.py", 
line 56, in ?
    run()
  File 
"/Users/ajung_data/sandboxes/Zope-2.10/Zope/lib/python/Zope2/Startup/run.py", 
line 21, in run
    starter.prepare()
  File 
"/Users/ajung/sandboxes/Zope-2.10/Zope/lib/python/Zope2/Startup/__init__.py", 
line 102, in prepare
    self.startZope()
  File 
"/Users/ajung/sandboxes/Zope-2.10/Zope/lib/python/Zope2/Startup/__init__.py", 
line 278, in startZope
    Zope2.startup()
  File 
"/Users/ajung/sandboxes/Zope-2.10/Zope/lib/python/Zope2/__init__.py", line 
47, in startup
    _startup()
  File 
"/Users/ajung/sandboxes/Zope-2.10/Zope/lib/python/Zope2/App/startup.py", 
line 45, in startup
    OFS.Application.import_products()
  File 
"/Users/ajung_data/sandboxes/Zope-2.10/Zope/lib/python/OFS/Application.py", 
line 680, in import_products
    import_product(product_dir, product_name, raise_exc=debug_mode)
  File 
"/Users/ajung_data/sandboxes/Zope-2.10/Zope/lib/python/OFS/Application.py", 
line 703, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File 
"/Users/ajung_data/sandboxes/Zope-2.10/Zope/lib/python/Products/LocalFS/__init__.py",
 
line 44, in ?
    import os, LocalFS
  File 
"/Users/ajung_data/sandboxes/Zope-2.10/Zope/lib/python/Products/LocalFS/LocalFS.py",
 
line 52, in ?
    from OFS.content_types import find_binary


Try to adjust the code to use zope.contenttype

- -aj

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFlAgGCJIWIbr9KYwRAiqmAJ91dGtq2DB0kh9kDCL6G/lXzrU2ugCbBRUN
GGxLaV3+1+1CXML7eBpcLIY=
=K54p
-----END PGP SIGNATURE-----

_______________________________________________
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 )

Reply via email to