On Tue, 24 Nov 2009, Cyril Brulebois wrote:
> > Since networkx is shipped with nice unittests battery I would advise
> > to make used of it while building the package -- might catch you
> > before you upload not tested package :-P (or it does not fail on
> > your box? just curious)
> Do you mean that?
quite so.... if I know that the test battery is stable and has only few
(or none) occasional false positives - I run unittests on 'installed'
version unless 'nocheck' is provided in DEB_BUILD_OPTIONS... smth like

install/python-nipype::
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        PYTHONPATH=$(DEB_DESTDIR)/usr/lib/python2.5/site-packages python -c 
"import nipype; nipype.test(verbose=0);"
endif

helps to assure that everything is cool ;-)

> | Python 2.5.4 (r254:67916, Nov 19 2009, 22:14:20)
> | [GCC 4.3.4] on linux2
> | Type "help", "copyright", "credits" or "license" for more information.
> | >>> import networkx
> | >>> networkx.tests()
> | >>> networkx.test()
> | ....................................
> | ----------------------------------------------------------------------
> | Ran 36 tests in 9.071s

> | OK
> Nice try at patronizing me, but you failed.
;-)
are you sure you are running installed ~rc1~svn* whatever version you've
uploaded? ;)

in any case... problem remains on my box with different (pretty much default) 
LANG:
,---
| $> export | grep LANG
| GDM_LANG=en_US.UTF-8
| LANG=en_US.UTF-8
| LANGUAGE=''
`---
,---
| $> python -c 'import networkx; print networkx.__version__'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/usr/lib/pymodules/python2.5/networkx/__init__.py", line 68, in 
<module>
|     from algorithms import *
|   File "/usr/lib/pymodules/python2.5/networkx/algorithms/__init__.py", line 
5, in <module>
|     from isomorphism import *
|   File 
"/usr/lib/pymodules/python2.5/networkx/algorithms/isomorphism/__init__.py", 
line 2, in <module>
|     import isomorphvf2
|   File 
"/usr/lib/pymodules/python2.5/networkx/algorithms/isomorphism/isomorphvf2.py", 
line 141
| SyntaxError: Non-ASCII character '\xc3' in file 
/usr/lib/pymodules/python2.5/networkx/algorithms/isomorphism/isomorphvf2.py on 
line 141, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details
`---
would you mind sharing what was your language environment (or any other
related) set to?  I never had such problem before, so may be all
environment is irrelevant... 


-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]





-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to