Menu

Library install errors, ubuntu

Help
Amadeus
2006-08-17
2013-04-17
  • Amadeus

    Amadeus - 2006-08-17

    Hello,

    I'm trying to get tv_grab_be_tlm to run under Ubuntu Dapper.

    Following the "instructions" in INSTALL for pytvgrab-lib-0.5.1

    This is what you get on 'python setup.py install':

    ======================================================================
    FAIL: test108 (timezone.Timezone_UnitTest)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "timezone.py", line 829, in test108
        def test108(self): self.vt(d(2007,4,1,1,59,59),'US/Eastern',('-5:00:00','-4:00:00'))
      File "timezone.py", line 714, in vt
        assert rv==expected, str(rv) + "!=" + str(expected)
    AssertionError: ('-4:00:00', '-4:00:00')!=('-5:00:00', '-4:00:00')

    ======================================================================
    FAIL: test109 (timezone.Timezone_UnitTest)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "timezone.py", line 830, in test109
        def test109(self): self.vt(d(2007,10,28,1,59,59),'US/Eastern',('-4:00:00','-5:00:00'))
      File "timezone.py", line 714, in vt
        assert rv==expected, str(rv) + "!=" + str(expected)
    AssertionError: ('-4:00:00', '-4:00:00')!=('-4:00:00', '-5:00:00')

    ...

    Ran 299 tests in 0.462s

    FAILED (failures=44)

    ERROR: pytvgrab-lib failed to install on your system.
      os_name          = posix
      sys_platform     = linux2
      sys_version_info = (2, 4, 3, 'final', 0)
      sys_version      = 2.4.3 (#2, Apr 27 2006, 14:43:58)
    [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]

    I'm submitting a bug report too.

    Amadeus

     
    • Amadeus

      Amadeus - 2006-08-28

      The solution was to disable tests:

      [from Chris]

      The tests are run from the setup.py file.
      > > You just need to change one line of code.  (line 51)
      > >
      > >
      > > - if os.name == 'posix' or True:
      > > + if False:
      > >
      > >
      > > Then it will skip doing the tests.

      The library installs. be_tlm is broken as well so I switched to jxmltv which is ok.

      Amadeus

       

Log in to post a comment.