Installed toga-demo on Ubuntu 12.04.1 in a brand new virtualenv; pip used the source tar.gz package.
Upon launching "toga-demo" from the CLI it crashes due to missing icons. After checking it looks like the icons are indeed missing from the source package on Pypi. This did not happen on OSX 10.8 where the wheel package gets used by pip and everything installs and runs fine.
(toga)cdoussin@lsdev:~$ toga-demo
Traceback (most recent call last):
File "/home/cdoussin/Code/envs/toga/local/lib/python2.7/site-packages/toga/platform/gtk/app.py", line 27, in _startup
self.main_window.app = self
File "/home/cdoussin/Code/envs/toga/local/lib/python2.7/site-packages/toga/platform/gtk/window.py", line 61, in app
self._startup()
File "/home/cdoussin/Code/envs/toga/local/lib/python2.7/site-packages/toga/platform/gtk/window.py", line 36, in _startup
item_impl.set_icon_widget(toolbar_item.icon._impl_32)
File "/home/cdoussin/Code/envs/toga/local/lib/python2.7/site-packages/toga/platform/gtk/widgets/icon.py", line 33, in <lambda>
_impl_32 = property(lambda self: self.__impl(32))
File "/home/cdoussin/Code/envs/toga/local/lib/python2.7/site-packages/toga/platform/gtk/widgets/icon.py", line 28, in __impl
GdkPixbuf.Pixbuf.new_from_file(self._filename).scale_simple(size, size, GdkPixbuf.InterpType.BILINEAR)
File "/home/cdoussin/Code/envs/toga/local/lib/python2.7/site-packages/gi/types.py", line 72, in constructor
return info.invoke(cls, *args, **kwargs)
gi._glib.GError: Failed to open file '/home/cdoussin/Code/envs/toga/local/lib/python2.7/site-packages/toga_demo/icons/brutus-32.png': No such file or directory
(toga)cdoussin@lsdev:~$
Installed toga-demo on Ubuntu 12.04.1 in a brand new virtualenv; pip used the source tar.gz package. Upon launching "toga-demo" from the CLI it crashes due to missing icons. After checking it looks like the icons are indeed missing from the source package on Pypi. This did not happen on OSX 10.8 where the wheel package gets used by pip and everything installs and runs fine.