Re: [PacketFence-users] Portal Personalization
Hi Fabrice, Yes, I'm living in Brittany. I've found exactly the same file with a grep command and I think there is no other way to make it works. So I've translate it in French in this file. I've got a last problem with my Packetfence system which is no generating diagram. When I'm going on the link generated by graphite, it tell me this error : Graphite encountered an unexpected error while handling your request. Please contact your site administrator if the problem persists. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 99, in get_response resolver_match = resolver.resolve(request.path_info) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 339, in resolve sub_match = pattern.resolve(new_path) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 339, in resolve sub_match = pattern.resolve(new_path) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 223, in resolve return ResolverMatch(self.callback, args, kwargs, self.name) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 230, in callback self._callback = get_callable(self._callback_str) File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 32, in wrapper result = func(*args) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 97, in get_callable mod = import_module(mod_name) File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module __import__(name) File "/usr/lib/python2.7/site-packages/graphite/render/views.py", line 34, in from graphite.render.evaluator import evaluateTarget, extractPathExpressions File "/usr/lib/python2.7/site-packages/graphite/render/evaluator.py", line 72, in from graphite.render.functions import SeriesFunctions,NormalizeEmptyResultError File "/usr/lib/python2.7/site-packages/graphite/render/functions.py", line 34, in from graphite.render.glyph import format_units File "/usr/lib/python2.7/site-packages/graphite/render/glyph.py", line 20, in import cairocffi as cairo ImportError: No module named cairocffi I don't know how should it works in standard mode because I never seen it works because. Sincerely, Yohann Yohann LE GALL Administrateur Systèmes et Réseaux junior [http://biocoop.eu/SignatureBiocoop/OWA_trait_biocoop.png] y.leg...@biocoop.fr De : Durand fabrice via PacketFence-users [mailto:packetfence-users@lists.sourceforge.net] Envoyé : mardi 25 juillet 2017 05:31 À : packetfence-users@lists.sourceforge.net Cc : Durand fabrice <fdur...@inverse.ca> Objet : Re: [PacketFence-users] Portal Personalization Hello Yohann, Yohann from Brittany ? Ok so since it's a string combined then it's probably not localize. What you can do (hack) is to edit html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Root.pm and change the string to french. Also i will have a look to fix it. Regards Fabrice Le 2017-07-20 à 05:56, LE GALL Yohann via PacketFence-users a écrit : Hi community, I'm currently configuring my packetfence's infrastructure for a Guest access. I'm french and all my Guest will be french, so I'm modifying the html template for that. I found all css and texts files except one text which is : « Role guest has been assigned to your device with unregistration date : » Did you know where this text is written ? Thank's for your job Sincerly, Yohann Yohann LE GALL Administrateur Systèmes et Réseaux junior [http://biocoop.eu/SignatureBiocoop/OWA_trait_biocoop.png] y.leg...@biocoop.fr<mailto:y.leg...@biocoop.fr> -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net<mailto:PacketFence-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/packetfence-users -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users
Re: [PacketFence-users] Portal Personalization
Hello Yohann, can you check if those 2 packages are installed: cairo-1.14.2-1.el7.x86_64 pycairo-1.8.10-8.el7.x86_64 Regards Fabrice Le 2017-07-25 à 05:10, LE GALL Yohann a écrit : > > Hi Fabrice, > > > > Yes, I’m living in Brittany. > > > > I’ve found exactly the same file with a grep command and I think there > is no other way to make it works. So I’ve translate it in French in > this file. > > > > I’ve got a last problem with my Packetfence system which is no > generating diagram. When I’m going on the link generated by graphite, > it tell me this error : > > *Graphite encountered an unexpected error while handling your request.* > > *Please contact your site administrator if the problem persists.* > > > > Traceback (most recent call last): > > File > "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line > 99, in get_response > > resolver_match = resolver.resolve(request.path_info) > > File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", > line 339, in resolve > > sub_match = pattern.resolve(new_path) > > File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", > line 339, in resolve > > sub_match = pattern.resolve(new_path) > > File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", > line 223, in resolve > > return ResolverMatch(self.callback, args, kwargs, self.name) > > File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", > line 230, in callback > > self._callback = get_callable(self._callback_str) > > File "/usr/lib/python2.7/site-packages/django/utils/functional.py", > line 32, in wrapper > > result = func(*args) > > File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", > line 97, in get_callable > > mod = import_module(mod_name) > > File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", > line 40, in import_module > > __import__(name) > > File "/usr/lib/python2.7/site-packages/graphite/render/views.py", > line 34, in > > from graphite.render.evaluator import evaluateTarget, > extractPathExpressions > > File > "/usr/lib/python2.7/site-packages/graphite/render/evaluator.py", line > 72, in > > from graphite.render.functions import > SeriesFunctions,NormalizeEmptyResultError > > File > "/usr/lib/python2.7/site-packages/graphite/render/functions.py", line > 34, in > > from graphite.render.glyph import format_units > > File "/usr/lib/python2.7/site-packages/graphite/render/glyph.py", > line 20, in > > import cairocffi as cairo > > ImportError: No module named cairocffi > > > > > > > > I don’t know how should it works in standard mode because I never seen > it works because. > > > > Sincerely, > > Yohann > > > > -------------------- > > *Yohann* *LE GALL* > Administrateur Systèmes et Réseaux junior > http://biocoop.eu/SignatureBiocoop/OWA_trait_biocoop.png > y.leg...@biocoop.fr > > > > > *De :*Durand fabrice via PacketFence-users > [mailto:packetfence-users@lists.sourceforge.net] > *Envoyé :* mardi 25 juillet 2017 05:31 > *À :* packetfence-users@lists.sourceforge.net > *Cc :* Durand fabrice <fdur...@inverse.ca> > *Objet :* Re: [PacketFence-users] Portal Personalization > > > > Hello Yohann, > > Yohann from Brittany ? > > Ok so since it's a string combined then it's probably not localize. > > What you can do (hack) is to edit > html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Root.pm > and change the string to french. > > Also i will have a look to fix it. > > Regards > > Fabrice > > > > > > Le 2017-07-20 à 05:56, LE GALL Yohann via PacketFence-users a écrit : > > Hi community, > > > > I’m currently configuring my packetfence’s infrastructure for a > Guest access. I’m french and all my Guest will be french, so I’m > modifying the html template for that. I found all css and texts > files except one text which is : > > > > « Role guest has been assigned to your device with unregistration > date : » > > > > Did you know where this text is written ? > > > > Thank’s for your job > > > > Sincerly, > > Yohann > > > > --
Re: [PacketFence-users] Portal Personalization
Hello Yohann, Yohann from Brittany ? Ok so since it's a string combined then it's probably not localize. What you can do (hack) is to edit html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Root.pm and change the string to french. Also i will have a look to fix it. Regards Fabrice Le 2017-07-20 à 05:56, LE GALL Yohann via PacketFence-users a écrit : Hi community, I’m currently configuring my packetfence’s infrastructure for a Guest access. I’m french and all my Guest will be french, so I’m modifying the html template for that. I found all css and texts files except one text which is : « Role guest has been assigned to your device with unregistration date : » Did you know where this text is written ? Thank’s for your job Sincerly, Yohann *Yohann**LE GALL* Administrateur Systèmes et Réseaux junior http://biocoop.eu/SignatureBiocoop/OWA_trait_biocoop.png y.leg...@biocoop.fr -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users