[Python-modules-team] Bug#614414: python-pygraph: should depend on python-pkg-resources

2011-02-21 Thread Alexander Heinlein
Package: python-pygraph
Version: 1.7.0-1
Severity: important


Hi

python-pygraph should depend on python-pkg-resources, otherwise even
simple use cases will break because of the missing pkg_resources module:

Traceback (most recent call last):
from pygraph.classes.graph import graph
File /usr/lib/pymodules/python2.6/pygraph/classes/graph.py, line 35, in 
module
from pygraph.mixins.labeling import labeling
  File /usr/lib/pymodules/python2.6/pygraph/mixins/__init__.py, line 33, in 
module
__import__('pkg_resources').declare_namespace(__name__)
ImportError: No module named pkg_resources


Regards,
Alex


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (850, 'testing'), (750, 'stable'), (600, 
'experimental'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-pygraph depends on:
ii  python  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-pydot1.0.2-1  Python interface to Graphviz's dot
ii  python-support  1.0.11   automated rebuilding support for P

python-pygraph recommends no packages.

Versions of packages python-pygraph suggests:
pn  libgv-python  none (no description available)
ii  python-pyparsing  1.5.2-2Python parsing module

-- no debconf information



___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#596071: python-pygraphviz: weird behaviour when naming file to read 'graph.dot'

2010-09-08 Thread Alexander Heinlein
Package: python-pygraphviz
Version: 1.0-1
Severity: normal

Hi,

When loading a graph from a file and using 'graph.dot' as the filename, the
program acts very weird and always reports:
 Warning:  syntax error in line 1 near '.'
Although there is no syntax error. Renaming the file from 'graph.dot' so
something other like g.dot doesn't issue the error and loads the file
correctly.

example file:
graph s {
 a -- b
}

example script:
#!/usr/bin/python
import pygraphviz
g = pygraphviz.AGraph(graph.dot)
print sorted(g.edges())

Both files are also attached.


Regards,
Alex


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (850, 'testing'), (750, 'stable'), (600, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-pygraphviz depends on:
ii  graphviz  2.26.3-5   rich set of graph drawing tools
ii  libc6 2.11.2-4   Embedded GNU C Library: Shared lib
ii  libcdt4   2.26.3-5   rich set of graph drawing tools - 
ii  libcgraph52.26.3-5   rich set of graph drawing tools - 
ii  python2.6.5-13   interactive high-level object-orie
ii  python-support1.0.9  automated rebuilding support for P

python-pygraphviz recommends no packages.

python-pygraphviz suggests no packages.

-- no debconf information
graph s {
 a -- b
}
#!/usr/bin/python

import pygraphviz

g = pygraphviz.AGraph('g.dot')
print sorted(g.edges())
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team