Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
robotpkg-wip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
robotpkg-wip
Commits
20a99bc8
Commit
20a99bc8
authored
7 years ago
by
Justin Carpentier
Browse files
Options
Downloads
Patches
Plain Diff
[wip/py-eigen] Correct exception catch
parent
00a64add
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
py-eigen/Makefile
+1
-1
1 addition, 1 deletion
py-eigen/Makefile
py-eigen/distinfo
+1
-0
1 addition, 0 deletions
py-eigen/distinfo
py-eigen/patches/patch-ab
+29
-0
29 additions, 0 deletions
py-eigen/patches/patch-ab
with
31 additions
and
1 deletion
py-eigen/Makefile
+
1
−
1
View file @
20a99bc8
...
...
@@ -5,7 +5,7 @@
VERSION
=
1.4.0
DISTNAME
=
eigenpy-
${
VERSION
}
DISTFILES
=
eigenpy-
${
VERSION
}
b.tar.gz
PKGREVISION
=
1
PKGREVISION
=
2
MASTER_SITES
=
${
MASTER_SITE_OPENROBOTS:
=
${
PKGBASE
}
/
}
MASTER_REPOSITORY
=
${
MASTER_REPOSITORY_GITHUB
}
/stack-of-tasks/eigenpy
...
...
This diff is collapsed.
Click to expand it.
py-eigen/distinfo
+
1
−
0
View file @
20a99bc8
...
...
@@ -2,3 +2,4 @@ SHA1 (eigenpy-1.4.0b.tar.gz) = dd633c63cae2a7998d9aa0aaac899eda7eea183c
RMD160 (eigenpy-1.4.0b.tar.gz) = 7db21dd7b7983cab33fedbde20c45fab9e77eed2
Size (eigenpy-1.4.0b.tar.gz) = 857715 bytes
SHA1 (patch-aa) = 5d54a0d1ae21e859933d573fdee85cfe083a0431
SHA1 (patch-ab) = e8f2d3c53d032e7b27100257ed285ecb2eb9a009
This diff is collapsed.
Click to expand it.
py-eigen/patches/patch-ab
0 → 100644
+
29
−
0
View file @
20a99bc8
diff --git src/exception.cpp src/exception.cpp
index e67b298..6a7e6ed 100644
--- src/exception.cpp
+++ src/exception.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2016 LAAS-CNRS
+ * Copyright (c) 2015-2018 LAAS-CNRS
*
* This file is part of eigenpy.
* eigenpy is free software: you can redistribute it and/or
@@ -17,6 +17,8 @@
#include "eigenpy/exception.hpp"
#include "eigenpy/registration.hpp"
+#include <boost/python/exception_translator.hpp>
+
namespace eigenpy
{
@@ -26,7 +28,7 @@
namespace eigenpy
{
assert(NULL!=pyType);
// Return an exception object of type pyType and value object(e).
- PyErr_SetObject(Exception::pyType,boost::python::object(e).ptr());
+ PyErr_SetString(PyExc_RuntimeError, e.what());
}
void Exception::registerException()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment