[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-07-16 Thread Launchpad Bug Tracker
This bug was fixed in the package python-pygraphviz - 1.4~rc1-1build2.1

---
python-pygraphviz (1.4~rc1-1build2.1) bionic; urgency=medium

  * No change rebuild (LP: #1834379)

 -- Emerson Knapp (aubdsk)   Thu, 27 Jun 2019
17:08:25 -0700

** Changed in: python-pygraphviz (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-07-09 Thread Kyle Fazzari
Just finished taking this for a spin, both on armhf (to ensure it now
works) and amd64 (to smoke test for no regressions).

Here is an up-to-date amd64 using 1.4~rc1-1build2:

$ cat << EOF >> test.py
> #!/usr/bin/env python3
> 
> import pygraphviz
> 
> graph = pygraphviz.AGraph()
> graph.add_node('foo')
> graph.add_node('bar')
> graph.add_edge('foo', 'bar')
> print('success!')
> EOF
$ chmod a+x test.py
$ ./test.py 
success!


After installing 1.4~rc1-1build2.1 the results are unchanged-- it continues 
working:

$ sudo apt install python3-pygraphviz/bionic-proposed

Setting up python3-pygraphviz (1.4~rc1-1build2.1) ...
$ ./test.py 
success!


Now, here is an up-to-date armhf using 1.4~rc1-1build2:

$ cat << EOF >> test.py
> #!/usr/bin/env python3
> 
> import pygraphviz
> 
> graph = pygraphviz.AGraph()
> graph.add_node('foo')
> graph.add_node('bar')
> graph.add_edge('foo', 'bar')
> print('success!')
> EOF
$ chmod a+x test.py
$ ./test.py 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1561, in 
__new__
nh = gv.agnode(graph.handle, n.encode(graph.encoding), _Action.find)
KeyError: 'agnode: no key'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./test.py", line 8, in 
graph.add_edge('foo', 'bar')
  File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 478, in 
add_edge
e = Edge(self, eh=eh)
  File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1625, in 
__new__
s = Node(graph, nh=source)
  File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1563, in 
__new__
raise KeyError("Node %s not in graph." % n)
KeyError: 'Node None not in graph.'


Broken, as mentioned in the bug report. Now with 1.4~rc1-1build2.1:

$ sudo apt install python3-pygraphviz/bionic-proposed

Setting up python3-pygraphviz (1.4~rc1-1build2.1) ...
$ ./test.py 
success!

Fixed! Marking verification done.

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-07-09 Thread Brian Murray
Hello Emerson, or anyone else affected,

Accepted python-pygraphviz into bionic-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/python-
pygraphviz/1.4~rc1-1build2.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: python-pygraphviz (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-07-03 Thread Mathew Hodson
** No longer affects: python-pygraphviz (Ubuntu Cosmic)

** No longer affects: python-pygraphviz (Ubuntu Disco)

** No longer affects: python-pygraphviz (Ubuntu Eoan)

** Changed in: python-pygraphviz (Ubuntu)
   Status: Invalid => Fix Released

** Changed in: python-pygraphviz (Ubuntu)
   Importance: Undecided => Medium

** Changed in: python-pygraphviz (Ubuntu Bionic)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-30 Thread Graham Inggs
** Changed in: python-pygraphviz (Ubuntu Bionic)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-30 Thread Graham Inggs
Uploaded as version 1.4~rc1-1build2.1.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-30 Thread Graham Inggs
Hi Emerson

I'm looking to sponsor this upload.  The version number in your change
log conflicts with version 1.4~rc1-1build3 in Cosmic.  I've looked at
the security team's versioning guidelines [1], and this is an unusual
case since Cosmic already has a no-change rebuild.  I suggest using
1.4~rc1-1build2.1 for the Bionic upload.

Regards
Graham

[1]
https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-28 Thread Thomas Ward
** Changed in: python-pygraphviz (Ubuntu Cosmic)
   Status: Fix Released => Invalid

** Changed in: python-pygraphviz (Ubuntu Disco)
   Status: Fix Released => Invalid

** Changed in: python-pygraphviz (Ubuntu Eoan)
   Status: Fix Released => In Progress

** Changed in: python-pygraphviz (Ubuntu Eoan)
   Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-28 Thread Kyle Fazzari
I've confirmed that this issue is only present in Bionic.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-28 Thread Kyle Fazzari
** Changed in: python-pygraphviz (Ubuntu Eoan)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-28 Thread Kyle Fazzari
** Changed in: python-pygraphviz (Ubuntu Disco)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-28 Thread Kyle Fazzari
** Changed in: python-pygraphviz (Ubuntu Cosmic)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-28 Thread Kyle Fazzari
** Changed in: python-pygraphviz (Ubuntu Bionic)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-27 Thread Didier Roche
** Also affects: python-pygraphviz (Ubuntu Eoan)
   Importance: Undecided
   Status: New

** Also affects: python-pygraphviz (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: python-pygraphviz (Ubuntu Disco)
   Importance: Undecided
   Status: New

** Also affects: python-pygraphviz (Ubuntu Cosmic)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-27 Thread Emerson Knapp
** Patch added: "deb.diff"
   
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+attachment/5273831/+files/deb.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-27 Thread Kyle Fazzari
** Description changed:

  [Impact]
  
  python3-pygraphviz does not work for even simple use cases on armhf
  Bionic. See error output in Test Case section from adding an edge to a
  graph.
  
  This package is currently being used as a dependency of ROS2, which is
  now including armhf as a target platform. The functionality that depends
  on this package fails to run.
  
  Conclusion from below testing is that the current package is somehow
  corrupted.
  
  A no-change rebuild in ppa:emersonknapp/ppa works properly on armhf.
  
  [Test Case]
  
  Using the following test file, and running python3 test.py, the program
  raises an error. However program exits with no output as expected on
  x86_64 and aarch64
  
  ```
  # test.py
  #!/usr/bin/env python3
  
  import pygraphviz
  
  graph = pygraphviz.AGraph()
  graph.add_node('foo')
  graph.add_node('bar')
  graph.add_edge('foo', 'bar')
  ```
  
  Error seen
  
  ```
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1561, in 
__new__
  nh = gv.agnode(graph.handle, n.encode(graph.encoding), _Action.find)
  KeyError: 'agnode: no key'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "test.py", line 8, in 
  graph.add_edge('foo', 'bar')
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 478, in 
add_edge
  e = Edge(self, eh=eh)
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1625, in 
__new__
  s = Node(graph, nh=source)
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1563, in 
__new__
  raise KeyError("Node %s not in graph." % n)
  KeyError: 'Node None not in graph.'
  ```
  
- 
  [Regression Potential]
  
- This package doesn't currently seem to work at all, so I don't see how
- it could get worse.
+ This is a no-change rebuild, regression potential is very low.
  
  [Other Info]
  
  If I upgrade to 1.5 via pip after installing the apt dependency
  libgraphviz-dev, this same snippet works on all of these platforms.
  
  It also works if I install pygraphviz 1.4rc1 from pip. Also, it seems to
  work with the debian package python3-pygraphviz 1.4 from cosmic. As far
  as I can tell, there are no differences between the cosmic and the
  bionic packages, other than it was rebuilt for Python 3.7.
  
  Here's a summary:
  
  Bionic1.4~rc1 Debian  Broken
  Cosmic1.4~rc1 Debian  Works
  Disco 1.5 Debian  Works
  Bionic1.4~rc1 pip Works
  Bionic1.5 pip Works
  
  And one more data point; if I pull down the debian sources (apt-get
  source python3-pygraphviz ; apt-get build-dep python3-pygraphviz), build
  with no modifications (debuild -uc -us), and then install (dpkg -i
  python3-pygraphviz_1.4~rc1-1build2_armhf.deb), it works just fine.
  
  From all of this, I can only conclude that the Ubuntu Bionic armhf
  debian package is somehow corrupt. Perhaps a rebuild of the package
  would solve the problem.
  
- 
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: python3-pygraphviz 1.4~rc1-1build2
  ProcVersionSignature: Ubuntu 4.15.0-1041.43-aws 4.15.18
  Uname: Linux 4.15.0-1041-aws aarch64
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: armhf
  Date: Wed Jun 26 22:23:47 2019
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  SourcePackage: python-pygraphviz
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-27 Thread Emerson Knapp
diff -Nru python-pygraphviz-1.4~rc1/debian/changelog 
python-pygraphviz-1.4~rc1/debian/changelog
--- python-pygraphviz-1.4~rc1/debian/changelog  2017-08-05 02:38:34.0 
-0700
+++ python-pygraphviz-1.4~rc1/debian/changelog  2019-06-27 17:08:25.0 
-0700
@@ -1,3 +1,9 @@
+python-pygraphviz (1.4~rc1-1build3) bionic; urgency=medium
+
+  * No change rebuild (LP: #1834379)
+
+ -- Emerson Knapp (aubdsk)  Thu, 27 Jun 2019 17:08:25 -0700
+
 python-pygraphviz (1.4~rc1-1build2) artful; urgency=medium
 
   * No change rebuild to drop Python 3.5 support.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-27 Thread Emerson Knapp
** Description changed:

+ [Impact]
+ python3-pygraphviz does not work for even simple use cases on armhf Bionic. 
See error output in Test Case section from adding an edge to a graph.
+ 
+ This package is currently being used as a dependency of ROS2, which is
+ now including armhf as a target platform. The functionality that depends
+ on this package fails
+ 
+ Conclusion from below testing is that the current package is somehow
+ corrupted.
+ 
+ A no-change rebuild in ppa:emersonknapp/ppa works properly on armhf.
+ 
+ [Test Case]
+ 
  Using the following test file, and running python3 test.py, the program
  raises an error. However program exits with no output as expected on
  x86_64 and aarch64
  
  ```
  # test.py
  #!/usr/bin/env python3
  
  import pygraphviz
  
  graph = pygraphviz.AGraph()
  graph.add_node('foo')
  graph.add_node('bar')
  graph.add_edge('foo', 'bar')
  ```
  
  Error seen
  
  ```
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1561, in 
__new__
  nh = gv.agnode(graph.handle, n.encode(graph.encoding), _Action.find)
  KeyError: 'agnode: no key'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "test.py", line 8, in 
  graph.add_edge('foo', 'bar')
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 478, in 
add_edge
  e = Edge(self, eh=eh)
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1625, in 
__new__
  s = Node(graph, nh=source)
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1563, in 
__new__
  raise KeyError("Node %s not in graph." % n)
  KeyError: 'Node None not in graph.'
  ```
  
  If I upgrade to 1.5 via pip after installing the apt dependency
  libgraphviz-dev, this same snippet works on all of these platforms.
  
  It also works if I install pygraphviz 1.4rc1 from pip. Also, it seems to
  work with the debian package python3-pygraphviz 1.4 from cosmic. As far
  as I can tell, there are no differences between the cosmic and the
  bionic packages, other than it was rebuilt for Python 3.7.
  
  Here's a summary:
  
  Bionic1.4~rc1 Debian  Broken
  Cosmic1.4~rc1 Debian  Works
  Disco 1.5 Debian  Works
  Bionic1.4~rc1 pip Works
  Bionic1.5 pip Works
  
  And one more data point; if I pull down the debian sources (apt-get
  source python3-pygraphviz ; apt-get build-dep python3-pygraphviz), build
  with no modifications (debuild -uc -us), and then install (dpkg -i
  python3-pygraphviz_1.4~rc1-1build2_armhf.deb), it works just fine.
  
  From all of this, I can only conclude that the Ubuntu Bionic armhf
  debian package is somehow corrupt. Perhaps a rebuild of the package
  would solve the problem.
  
+ [Regression Potential] 
+ This package doesn't currently seem to work at all, so I don't see how it 
could get worse.
+ 
+ 
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: python3-pygraphviz 1.4~rc1-1build2
  ProcVersionSignature: Ubuntu 4.15.0-1041.43-aws 4.15.18
  Uname: Linux 4.15.0-1041-aws aarch64
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: armhf
  Date: Wed Jun 26 22:23:47 2019
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  SourcePackage: python-pygraphviz
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  [Impact]
  python3-pygraphviz does not work for even simple use cases on armhf Bionic. 
See error output in Test Case section from adding an edge to a graph.
  
  This package is currently being used as a dependency of ROS2, which is
  now including armhf as a target platform. The functionality that depends
- on this package fails
+ on this package fails to run.
  
  Conclusion from below testing is that the current package is somehow
  corrupted.
  
  A no-change rebuild in ppa:emersonknapp/ppa works properly on armhf.
  
  [Test Case]
  
  Using the following test file, and running python3 test.py, the program
  raises an error. However program exits with no output as expected on
  x86_64 and aarch64
  
  ```
  # test.py
  #!/usr/bin/env python3
  
  import pygraphviz
  
  graph = pygraphviz.AGraph()
  graph.add_node('foo')
  graph.add_node('bar')
  graph.add_edge('foo', 'bar')
  ```
  
  Error seen
  
  ```
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1561, in 
__new__
  nh = gv.agnode(graph.handle, n.encode(graph.encoding), _Action.find)
  KeyError: 'agnode: no key'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "test.py", line 8, in 
  graph.add_edge('foo', 'bar')
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 478, in 
add_edge
  e = Edge(self, eh=eh)
    File "/usr/lib/python3/dist-packages/pygraphviz/agraph.py", line 1625, in 
__new__
  s = Node(graph, 

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-27 Thread Emerson Knapp
Ok - I created a PPA and did a no-change rebuild (correctly to the best
of my knowledge, this is my first time uploading to a PPA)

Build:
https://launchpad.net/~emersonknapp/+archive/ubuntu/ppa/+build/17197601

If I use that build, the test file works now.

```
add-apt-repository ppa:emersonknapp/ppa
apt-get update
apt-get install -y python3-pygraphviz
python3 test.py
```

Seems pretty conclusive - what are the next steps?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1834379] Re: armhf Bionic python3-pygraphviz package errors for simple use case

2019-06-27 Thread Kyle Fazzari
Can you try getting a no-change rebuild in a PPA?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834379

Title:
  armhf Bionic python3-pygraphviz package errors for simple use case

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/1834379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs