ZFN

Problems Installing ZFN 0.1.1

Asked by Dragonman117

I run the install and it seems to work fine but when i get to a certain point it fails. Here is the terminal output for the install:

Mac-Attack:zfn-0.1.1 tjferrell$ python setup.py install

---------------------------------------------------------------------------
This script requires setuptools version 0.6c8 to run (even to display
help). I will attempt to download it for you (from
http://pypi.python.org/packages/2.5/s/setuptools/), but
you may need to enable firewall access for this script first.
I will start the download in 15 seconds.

(Note: if this machine does not have network access, please obtain the file

   http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg

and place it in this directory before rerunning this script.)
---------------------------------------------------------------------------
Downloading http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg

The python package 'Pyrex' is not available. If the .c files are available,
they will be built, but modifying the .pyx files will not rebuild them.

zip_safe flag not set; analyzing archive contents...
bzrlib.builtins: module references __path__
bzrlib.commands: module MAY be using inspect.trace
bzrlib.lsprof: module references __file__
bzrlib.osutils: module references __file__
bzrlib.plugin: module references __file__
bzrlib.plugin: module references __path__
bzrlib.version: module references __file__
bzrlib.version: module references __path__
bzrlib.doc.api.__init__: module references __file__
bzrlib.tests.__init__: module references __file__
/Users/tjferrell/Desktop/zfn-0.1.1/setuptools-0.6c8-py2.5.egg/setuptools/command/bdist_egg.py:422: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  symbols = dict.fromkeys(iter_symbols(code))
bzrlib.tests.test_patches: module references __file__
bzrlib.tests.test_plugins: module references __file__
bzrlib.tests.test_plugins: module references __path__
bzrlib.tests.test_setup: module references __file__
bzrlib.tests.test_source: module references __file__

Installed /Users/tjferrell/Desktop/zfn-0.1.1/bzr-1.6b3-py2.5-macosx-10.5-i386.egg
/Users/tjferrell/Desktop/zfn-0.1.1/setuptools-0.6c8-py2.5.egg/setuptools/dist.py:245: UserWarning: Module bzrlib was already imported from /var/folders/gR/gRUBfAh7GaSPDE8HxBxAb++++TI/-Tmp-/easy_install-o2-Xjl/bzr-1.6b3/bzrlib/__init__.py, but /Users/tjferrell/Desktop/zfn-0.1.1/bzr-1.6b3-py2.5-macosx-10.5-i386.egg is being added to sys.path
  working_set.add(dist)
running install
running bdist_egg
running egg_info
writing requirements to zfn.egg-info/requires.txt
writing zfn.egg-info/PKG-INFO
writing top-level names to zfn.egg-info/top_level.txt
writing dependency_links to zfn.egg-info/dependency_links.txt
writing entry points to zfn.egg-info/entry_points.txt
error: No such file or directory

Question information

Language:
English Edit question
Status:
Solved
For:
ZFN Edit question
Assignee:
No assignee Edit question
Solved by:
Ross Light
Solved:
Last query:
Last reply:
Whiteboard:
The associated bug is now fixed, and it will be released in 0.1.2.
Revision history for this message
Ross Light (quartz25) said :
#1

This seems like this is trying to install in developer mode, thus the bzrlib download. Sorry for all the install problems, Dragonman117.

Can you please try installing easy_install from <http://peak.telecommunity.com/DevCenter/EasyInstall> and then running at the command line:

easy_install http://zfilenet.googlecode.com/files/zfn-0.1.1-py2.5.egg

Again, sorry about all the install issues. I'm working on trying to develop a more user-friendly installer system.

Revision history for this message
Ross Light (quartz25) said :
#2

Oh, and one more thing: you may have to run easy_install as root (by adding sudo to the beginning of the line).

Revision history for this message
Dragonman117 (tj-ferrell) said :
#3

After completing the instructions i got this terminal feedback:

Mac-Attack:Desktop tjferrell$ sudo easy_install zfn-0.1.1-py2.5.egg
Password:
Processing zfn-0.1.1-py2.5.egg
Removing /Library/Python/2.5/site-packages/zfn-0.1.1-py2.5.egg
Copying zfn-0.1.1-py2.5.egg to /Library/Python/2.5/site-packages
zfn 0.1.1 is already the active version in easy-install.pth
Installing zfn-client script to /usr/local/bin
Installing zfn-blobserver script to /usr/local/bin
Installing zfn-indexserver script to /usr/local/bin

Installed /Library/Python/2.5/site-packages/zfn-0.1.1-py2.5.egg
Processing dependencies for zfn==0.1.1
Finished processing dependencies for zfn==0.1.1

Now i thought this would work but when i tried to connect to the web dave access using finder even for read only access and using the address http://Mac-Attack:8080/ which according to the readme should be the right connection for my machine i got the error:

You cannot connect to this server because it cannot be found on the network. Try again latter or try a different URL.

This was in a nice friendly dialog box with the buttons "try again" and "cancel"

It looked like it was installed but so far i cannot seem to find out how to test. If there is something i am missing and need to do to get this started please let me know.

Revision history for this message
Dragonman117 (tj-ferrell) said :
#4

My bad it seems that i should read further in the docs, i forgot ot start a index server, however when i typed in the command:
 zfn-indexserver database_file
to start a index server on my local host i got an error saying that there was no module named progtools what is this module and where do i get it? I have included the terminal response to give any further information you may need to help solve this problem:

Mac-Attack:Desktop tjferrell$ zfn-indexserver database_file
Traceback (most recent call last):
  File "/usr/local/bin/zfn-indexserver", line 8, in <module>
    load_entry_point('zfn==0.1.1', 'console_scripts', 'zfn-indexserver')()
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 277, in load_entry_point
    def get_entry_info(dist, group, name):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 2179, in load_entry_point
    except AttributeError:
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 1912, in load
    return entry
  File "build/bdist.linux-i686/egg/zfilenet/__init__.py", line 52, in <module>
  File "build/bdist.linux-i686/egg/zfilenet/blobserver.py", line 42, in <module>
ImportError: No module named progtools

ps. it seems that i have confermed that i have installed zfn since it started to do something after calling the index server creation comand. So i think i will start a new question for all other problems. Just an fyi

Revision history for this message
Best Ross Light (quartz25) said :
#5

Dragonman117, once again, you've found another problem with my packaging, so I'll file a bug report for this and fix it in the next release. It's infuriating that setuptools works fine with doing the source archives, but then messes up the egg; setuptools doesn't seem to work intuitively for me.

Anyway, for a temporary fix, download one of the source archives, then copy the progtools.py file into "/Library/Python/2.5/site-packages".

Revision history for this message
Dragonman117 (tj-ferrell) said :
#6

Thanks Ross Light, that solved my question.