[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging InVesalius



Hi Thiago,

On Tue, Feb 05, 2013 at 06:29:53PM -0200, Thiago Franco de Moraes wrote:
> I managed to create the package. I created a new package in debian/control and a new file called debian/invesalius-examples.examples. I think I did correctly. 

The binary is created correctly.  I did enhanced the description a bit
and also made sure that the example does not end up in *both* packages.
BTW, you did only moved one of two samples - what about
sample/sample2.inv3 ?

> I realized that the patches are not being applied anymore. I wasn't able to fix this. Could you, please, take a look at this?

How did you realise this?  I commited the result of

   quilt push
   quilt refresh

but this is definitely cosmetics and does not have a real influenze.
Apropos cosmetics on patches: It would be nice if you could add some
Description fields as described in DEP3[1] to let others understand
the rationale of the patch (and who wrote it when).

However, I found another problem which is probably connected to a
missing dependency:

 $ invesalius-3.0 
Traceback (most recent call last):
  File "invesalius.py", line 303, in <module>
    main()
  File "invesalius.py", line 261, in main
    application = InVesalius(0)
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "invesalius.py", line 67, in OnInit
    self.splash = SplashScreen()
  File "invesalius.py", line 138, in __init__
    session.CreateItens()
  File "/usr/share/invesalius-3.0/invesalius/session.py", line 45, in CreateItens
    import constants as const
  File "/usr/share/invesalius-3.0/invesalius/constants.py", line 25, in <module>
    from project import Project
  File "/usr/share/invesalius-3.0/invesalius/project.py", line 34, in <module>
    import data.mask as msk
  File "/usr/share/invesalius-3.0/invesalius/data/mask.py", line 30, in <module>
    import imagedata_utils as iu
  File "/usr/share/invesalius-3.0/invesalius/data/imagedata_utils.py", line 24, in <module>
    import gdcm
ImportError: No module named gdcm
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/share/invesalius-3.0/invesalius/session.py", line 269, in run
    debug("Session: trying to write into inexistent file")
  File "/usr/share/invesalius-3.0/invesalius/utils.py", line 74, in debug
    if session.debug:
AttributeError: 'Session' object has no attribute 'debug'

 
Kind regards

        Andreas.

[1] http://dep.debian.net/deps/dep3/ 

-- 
http://fam-tille.de


Reply to: