[python-arrayfire] 190/250: Updating the error message when arrayfire libraries isn't found

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.

commit c5f174fa9684836af2197da4dac016deb3ade1d7
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Mon Dec 14 14:15:04 2015 -0500

    Updating the error message when arrayfire libraries isn't found
    
    - Emits the link to the wiki page which discusses the environment variables
---
 arrayfire/library.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arrayfire/library.py b/arrayfire/library.py
index 0b49930..5b6b808 100644
--- a/arrayfire/library.py
+++ b/arrayfire/library.py
@@ -376,7 +376,8 @@ class _clibrary(object):
                 pass
 
         if (self.__name is None):
-            raise RuntimeError("Could not load any ArrayFire libraries")
+            raise RuntimeError("Could not load any ArrayFire libraries.\n" +
+                               "Please look at https://github.com/arrayfire/arrayfire-python/wiki for more information.")
 
     def get_id(self, name):
         return self.__backend_name_map[name]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git



More information about the debian-science-commits mailing list