This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| with import <nixpkgs>{}; { | |
| pyEnv = stdenv.mkDerivation { | |
| name = "py"; | |
| buildInputs = [ python34 python34Packages.virtualenv python34Packages.flask ]; | |
| shellHook = '' | |
| if [ ! -d venv ] | |
| then | |
| virtualenv --python=python3.4 venv | |
| fi | |
| export PATH=`pwd`/venv/bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2015-07-27 14:22:58.223 ERROR [rhodecode.controllers.api.base] Encountered unhandled exception | |
| Traceback (most recent call last): | |
| ... | |
| File "/nix/store/krqbqlq12v0vshcgd52wrkcmn6rngaci-python2.7-Pyro4-4.35/lib/python2.7/site-packages/Pyro4/core.py", line 168, in __call__ | |
| return self.__send(self.__name, args, kwargs) | |
| File "/nix/store/krqbqlq12v0vshcgd52wrkcmn6rngaci-python2.7-Pyro4-4.35/lib/python2.7/site-packages/Pyro4/core.py", line 395, in _pyroInvoke | |
| raise data | |
| UnicodeEncodeError: 'ascii' codec can't encode character u'\u0303' in position 2: ordinal not in range(128) | |
| +--- This exception occured remotely (Pyro) - Remote traceback: | |
| | Traceback (most recent call last): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import kivy | |
| from kivy.app import App | |
| from kivy.uix.label import Label | |
| from kivy.uix.widget import Widget | |
| from kivy.uix.gridlayout import GridLayout | |
| from kivy.uix.boxlayout import BoxLayout | |
| from kivy.uix.relativelayout import RelativeLayout | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| fabfile for Django | |
| ------------------ | |
| see http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/ | |
| modified for fabric 0.9/1.0 by Hraban (fiëé visuëlle) | |
| several additions, corrections and customizations, too |