FuXi Installation broken

75 views
Skip to first unread message

Jean-Marc Vanel

unread,
Nov 11, 2009, 6:54:39 AM11/11/09
to fuxi-discussion

Uche Ogbuji

unread,
Nov 12, 2009, 1:36:42 AM11/12/09
to fuxi-di...@googlegroups.com
I've been going through all my projects and eliminating the need for setuptools.  I'd recommend the same for FuXi.

--Uche

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "fuxi-discussion" group.
To post to this group, send email to fuxi-di...@googlegroups.com
To unsubscribe from this group, send email to fuxi-discussi...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fuxi-discussion?hl=en
-~----------~----~----~----~------~----~------~--~---




--
Uche Ogbuji                       http://uche.ogbuji.net
Founding Partner, Zepheira        http://zepheira.com
Linked-in profile: http://www.linkedin.com/in/ucheogbuji
Articles: http://uche.ogbuji.net/tech/publications/
Friendfeed: http://friendfeed.com/uche
Twitter: http://twitter.com/uogbuji

Jean-Marc Vanel

unread,
Jun 7, 2010, 3:14:15 AM6/7/10
to fuxi-di...@googlegroups.com
2009/11/12 Uche Ogbuji <uc...@ogbuji.net>:

> I've been going through all my projects and eliminating the need for
> setuptools.  I'd recommend the same for FuXi.

The problem is still pending, I saw it today, 7 months later, by
installing FuXi on my laptop.

Please change line 17 in ez_setup.py like this :
DEFAULT_VERSION = "0.6c11" # jmv "0.6c5"

> --


>
> You received this message because you are subscribed to the Google Groups
> "fuxi-discussion" group.

> To post to this group, send email to fuxi-di...@googlegroups.com.


> To unsubscribe from this group, send email to

> fuxi-discussi...@googlegroups.com.


> For more options, visit this group at

> http://groups.google.com/group/fuxi-discussion?hl=.
>

--
Jean-Marc Vanel
Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/
+33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16
( we rarely listen to voice messages, please send a mail instead )

Chimezie Ogbuji

unread,
Jun 7, 2010, 8:46:11 PM6/7/10
to fuxi-di...@googlegroups.com
On Mon, Jun 7, 2010 at 3:14 AM, Jean-Marc Vanel
<jeanmar...@gmail.com> wrote:
> 2009/11/12 Uche Ogbuji <uc...@ogbuji.net>:
>> I've been going through all my projects and eliminating the need for
>> setuptools.  I'd recommend the same for FuXi.
>
> The problem is still pending, I saw it today, 7 months later, by
> installing FuXi on my laptop.

Hmm.. Well, the only issue with moving away from setuptools is the
difficulty of automatically installing the dated version of rdflib
(2.4) that FuXi currently depends on. However, I see Graham Higgins
is porting FuXi to use rdflib 3.0, so this may be a moot point.

-- Chime

Chimezie

unread,
Jun 7, 2010, 8:55:07 PM6/7/10
to fuxi-discussion
On Jun 7, 3:14 am, Jean-Marc Vanel <jeanmarc.va...@gmail.com> wrote:
> Please change line 17 in ez_setup.py like this :
> DEFAULT_VERSION = "0.6c11" # jmv "0.6c5"

I've made [1] this change in SVN trunk

[1] http://code.google.com/p/fuxi/source/detail?r=ade3a47cc7124e0bcef43996de7ffb496baf9cc9

-- Chime

owen

unread,
Jul 1, 2010, 6:27:18 AM7/1/10
to fuxi-discussion
Using the updated code I was able to run the installation script with
apparent success on OS X 10.6.4 as follows; I'll report unit test
results separately:


Installation script:

sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/FuXi*
sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/setuptools*.*
sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/rdflib*.*
wget http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py
easy_install fuxi

================================================================

results:

Last login: Thu Jul 1 04:13:04 on ttys002
Macintosh-3:~ onewnan$ /Users/Shared/workspaces/demos/fuxi-6-30-10/one
\ time.command ; exit;
Password:
--04:17:02-- http://peak.telecommunity.com/dist/ez_setup.py
=> `ez_setup.py.3'
Resolving peak.telecommunity.com... 209.190.5.234
Connecting to peak.telecommunity.com|209.190.5.234|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10,285 (10K) [text/plain]

100%[====================================>] 10,285 20.68K/
s

04:17:03 (20.60 KB/s) - `ez_setup.py.3' saved [10285/10285]

Downloading http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
Processing setuptools-0.6c11-py2.6.egg
Copying setuptools-0.6c11-py2.6.egg to /Library/Frameworks/
Python.framework/Versions/2.6/lib/python2.6/site-packages
Adding setuptools 0.6c11 to easy-install.pth file
Installing easy_install script to /Library/Frameworks/Python.framework/
Versions/2.6/bin
Installing easy_install-2.6 script to /Library/Frameworks/
Python.framework/Versions/2.6/bin

Installed /Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/setuptools-0.6c11-py2.6.egg
Processing dependencies for setuptools==0.6c11
Finished processing dependencies for setuptools==0.6c11
Processing fuxi
Running setup.py -q bdist_egg --dist-dir /Users/onewnan/fuxi/egg-dist-
tmp-rPgQZS
Adding FuXi 1.0.dev to easy-install.pth file
Installing FuXi script to /Library/Frameworks/Python.framework/
Versions/2.6/bin

Installed /Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/FuXi-1.0.dev-py2.6.egg
Processing dependencies for FuXi==1.0.dev
Searching for rdflib<3a
Reading http://pypi.python.org/simple/rdflib/
Reading http://rdflib.net/
Best match: rdflib 2.4.2
Downloading http://rdflib.net/rdflib-2.4.2.tar.gz
Processing rdflib-2.4.2.tar.gz
Running rdflib-2.4.2/setup.py -q bdist_egg --dist-dir /var/folders/yN/
yNVCI5CMGGm7dmdKQkYp-++++TI/-Tmp-/easy_install-fixjpu/rdflib-2.4.2/egg-
dist-tmp-r5Kevu
warning: no files found matching 'example.py'
In file included from /usr/include/architecture/i386/math.h:626,
from /usr/include/math.h:28,
from /Library/Frameworks/Python.framework/Versions/
2.6/include/python2.6/pyport.h:235,
from /Library/Frameworks/Python.framework/Versions/
2.6/include/python2.6/Python.h:58,
from src/bison/SPARQLParser.c:7:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building
for Intel with Mac OS X Deployment Target < 10.4 is invalid.
zip_safe flag not set; analyzing archive contents...
Adding rdflib 2.4.2 to easy-install.pth file
Installing rdfpipe script to /Library/Frameworks/Python.framework/
Versions/2.6/bin

Installed /Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/rdflib-2.4.2-py2.6-macosx-10.3-fat.egg
Finished processing dependencies for FuXi==1.0.dev
logout

[Process completed]

Augusto Herrmann

unread,
Aug 24, 2010, 2:03:21 PM8/24/10
to fuxi-discussion
Hi.

I've been using FuXi from the svn repository trunk for a while, no
problems. But then I needed to distribute and deploy a package which
depended on FuXi, automatically downloading and installing
dependencies using distrubute / setuptools. So I tried using
virtualenv 1.4.5 to see if I could do a clean install of Fuxi.
Unfortunately, it failed with an ImportError of the ez_setup module
(using distribute 0.6.10):

$ virtualenv --no-site-packages fuxi-test
$ cd fuxi-test
$ source bin/activate
(fuxi-test)$ easy_install fuxi

==================================
results:

Searching for fuxi
Reading http://pypi.python.org/simple/fuxi/
Reading http://code.google.com/p/python-dlp/wiki/FuXi
Reading http://code.google.com/p/fuxi
Reading http://python-dlp.googlecode.com/svn/trunk/fuxi/
Best match: FuXi 1.0-rc-II.dev
Downloading http://pypi.python.org/packages/source/F/FuXi/FuXi-1.0-rc-II.dev.tar.gz#md5=74b218ca85c35899da41e397b317c18a
Processing FuXi-1.0-rc-II.dev.tar.gz
Running FuXi-1.0-rc-II.dev/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-QHtw0t/FuXi-1.0-rc-II.dev/egg-dist-tmp-4vx6Jt
Traceback (most recent call last):
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/bin/
easy_install", line 9, in <module>
load_entry_point('distribute==0.6.10', 'console_scripts',
'easy_install')()
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 1714, in main
with_ei_usage(lambda:
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 1695, in with_ei_usage
return f()
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 1718, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in
run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in
run_command
cmd_obj.run()
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 236, in run
self.easy_install(spec, not self.no_deps)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 471, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 501, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 680, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 957, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/command/
easy_install.py", line 946, in run_setup
run_setup(setup_script, args)
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/
sandbox.py", line 29, in run_setup
lambda: execfile(
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/
sandbox.py", line 70, in run
return func()
File "/home/herrmann/Documentos/desenvolvimento/sw/fuxi-test/lib/
python2.6/site-packages/distribute-0.6.10-py2.6.egg/setuptools/
sandbox.py", line 31, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 1, in <module>
ImportError: No module named ez_setup

==================================

Is this the same issue as described before in this topic? I see that
distribute (setuptools) tried to download and install FuXi 1.0 RC2, so
maybe the problem is that this issue is already solved in the trunk
version, but not yet in the version linked at PyPI.

I wonder how William Waites solved this problem in ORDF, as it is a
package that depends on FuXi. How could one install such a package,
automatically using setuptools / distribute, without having to
manually install FuXi from the trunk?

Cheers,
Augusto Herrmann

Owen Newnan

unread,
Aug 25, 2010, 6:50:37 PM8/25/10
to fuxi-di...@googlegroups.com
On Tue, Aug 24, 2010 at 12:03 PM, Augusto Herrmann <hell...@gmail.com> wrote:
Hi.

I've been using FuXi from the svn repository trunk for a while, no
problems. 

The svn repository for FuXi has been deprecated fro some time.  FuXi now resides under Mercurial at http://code.google.com/p/fuxi/source/checkout.  More recently a FuXi-required variant of rdflib, dubbed LayerCake, was posted to svn at http://python-dlp.googlecode.com/svn/trunk/layercake-python.
Reply all
Reply to author
Forward
0 new messages