Giter VIP home page Giter VIP logo

umbra's Introduction

Umbra

https://secure.travis-ci.org/KelSolaar/Umbra.png?branch=master

https://gemnasium.com/KelSolaar/Umbra.png

Introduction

Umbra is the main package of sIBL_GUI and sIBL_Reporter.

http://thomasmansencal.com/Sharing/Umbra/Support/Documentation/Help/resources/pictures/Umbra_DevelopmentCentricLayout.jpg

Installation

The following dependencies are needed:

To install Umbra from the Python Package Index you can issue this command in a shell:

pip install Umbra

or this alternative command:

easy_install Umbra

You can also directly install from Github source repository:

git clone git://github.com/KelSolaar/Umbra.git
cd Umbra
python setup.py install

If you want to build the documentation you will also need:

Usage

Once installed, you can launch Umbra using this shell command:

Umbra

Please refer to Umbra - Api for precise usage examples.

About

Umbra by Thomas Mansencal – 2010 - 2014
Copyright © 2010 - 2014 – Thomas Mansencal – [email protected]
This software is released under terms of GNU GPL V3 license: http://www.gnu.org/licenses/

umbra's People

Contributors

kelsolaar avatar

Stargazers

DoNotEatTooMuch avatar  avatar

Watchers

 avatar James Cloos avatar

umbra's Issues

Fix "Search And Replace" dialog patterns related exception.

Traceback (most recent call last):
  File "/Users/kelsolaar/Documents/Development/Umbra/bin/Umbra", line 57, in <module>
    main()
  File "/Users/kelsolaar/Documents/Development/Umbra/umbra/launcher.py", line 84, in main
    ("factory.scriptEditor", "factory.preferencesManager", "factory.componentsManagerUi"))
  File "/Users/kelsolaar/Documents/Development/Umbra/umbra/engine.py", line 1864, in run
    return sys.exit(RuntimeGlobals.application.exec_())
  File "/Users/kelsolaar/Documents/Development/Umbra/umbra/components/factory/scriptEditor/searchAndReplace.py", line 77, in eventFilter
    object.search()
  File "/Users/kelsolaar/Documents/Development/Umbra/umbra/components/factory/scriptEditor/searchAndReplace.py", line 397, in search
    self.insertPattern(searchPattern, self.__searchPatternsModel)
  File "/Users/kelsolaar/Documents/Development/Umbra/umbra/components/factory/scriptEditor/searchAndReplace.py", line 379, in insertPattern
    model.insertPattern(foundations.strings.encode(pattern), index)
  File "/Users/kelsolaar/Documents/Development/Umbra/umbra/components/factory/scriptEditor/models.py", line 1002, in insertPattern
    self.removePattern(pattern)
  File "/Users/kelsolaar/Documents/Development/Umbra/umbra/components/factory/scriptEditor/models.py", line 1029, in removePattern
    self.patternRemoved.emit(patternNode)
TypeError: PatternsModel.patternRemoved[PatternNode].emit(): argument 1 has unexpected type 'GraphModelNode'

Fix encoding related issue in frozen builds.

Python seems to change the default encoding to "ascii" instead of keeping "utf-8" when the application is frozen using Py2App or Pyinstaller.

Stack Trace
_________________________________
0   <type 'exceptions.UnicodeEncodeError'>
1   
2   Traceback (most recent call last):
3   .. File "<string>", line 299, in <module>
4   .. File "<string>", line 296, in main
5   .. File "C:/Program Files/HDRLabs/sIBL_GUI 4\umbra\engine.py", line 1860, in run
6   .... RuntimeGlobals.engine = engine(None, componentsPaths, requisiteComponents, visibleComponents)
7   .. File "<string>", line 171, in __init__
8   .. File "C:/Program Files/HDRLabs/sIBL_GUI 4\umbra\engine.py", line 425, in __init__
9   .... hasattr(interface, "onStartup") and interface.onStartup()
10  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4/sibl_gui/components/core/collectionsOutliner\collectionsOutliner.py", line 738, in onStartup
11  .... self.__view.restoreModelSelection()
12  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4\sibl_gui\components\core\collectionsOutliner\views.py", line 285, in restoreModelSelection
13  .... return self.selectIndexes(indexes)
14  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4\umbra\ui\views.py", line 383, in selectIndexes
15  .... return self.selectViewIndexes(indexes, flags)
16  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4\umbra\ui\views.py", line 371, in selectViewIndexes
17  .... self.selectionModel().select(selection, flags)
18  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4/sibl_gui/components/core/collectionsOutliner\collectionsOutliner.py", line 875, in __view_selectionModel__selectionChanged
19  .... self.__iblSetsOutliner.refreshNodes.emit()
20  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4/sibl_gui/components/core/iblSetsOutliner\iblSetsOutliner.py", line 1258, in __model__refreshNodes
21  .... self.setIblSets()
22  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4/sibl_gui/components/core/iblSetsOutliner\iblSetsOutliner.py", line 1844, in setIblSets
23  .... attributesFlags=int(Qt.ItemIsSelectable | Qt.ItemIsEnabled))
24  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4\sibl_gui\components\core\database\nodes.py", line 302, in __init__
25  .... IblSetNode.__initializeNode(self)
26  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4\sibl_gui\components\core\database\nodes.py", line 315, in __initializeNode
27  .... self.updateToolTip()
28  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4\sibl_gui\components\core\database\nodes.py", line 357, in updateToolTip
29  .... self.databaseItem.time) or Constants.nullObject,
30  .. File "C:/Program Files/HDRLabs/sIBL_GUI 4\sibl_gui\ui\common.py", line 258, in getFormatedShotDate
31  .... LOGGER.debug("> Formating shot date with '{0}' date and '{1}' time.".format(date, time))
32  UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 0: ordinal not in range(128)

Implement a generic "fileSystemWatcher" class.

At the moment a few Umbra and sIBL_GUI modules implement their own file system watcher object, the codebase would be easier to manage with only one centralized generic "fileSystemWatcher" class.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.