Openmoko Bug #2083: Missing Dependency python-pygps --> python-datetime

Openmoko Public Trac bugs at docs.openmoko.org
Sat Oct 25 11:09:53 CEST 2008


#2083: Missing Dependency python-pygps --> python-datetime
-----------------------------+----------------------------------------------
 Reporter:  ugh              |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  normal           |      Milestone:  Om2008.9       
Component:  System Software  |        Version:                 
 Severity:  normal           |       Keywords:                 
 Haspatch:  0                |      Blockedby:                 
Estimated:                   |    Patchreview:                 
 Blocking:                   |   Reproducible:  always         
-----------------------------+----------------------------------------------
 When using the python gps-module, this error may occur:
 {{{
 ImportError: No module named calendar
 }}}
 Steps to reproduce and solution:
 {{{
 root at om-gta02:~# python
 Python 2.5.2 (r252:60911, Aug  7 2008, 05:27:32)
 [GCC 4.1.2] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import gps
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/lib/python2.5/site-packages/gps.py", line 6, in <module>
     import time, calendar, math, socket, sys, select
 ImportError: No module named calendar
 >>> exit()
 root at om-gta02:~# opkg install python-datetime
 Installing python-datetime (2.5.2-ml0) to root...
 Downloading http://downloads.openmoko.org/repository/Om2008.8/armv4t
 /python-datetime_2.5.2-ml0_armv4t.opk
 Configuring python-datetime
 root at om-gta02:~# python
 Python 2.5.2 (r252:60911, Aug  7 2008, 05:27:32)
 [GCC 4.1.2] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import gps
 >>> exit()
 root at om-gta02:~#
 }}}
 python-datetime should be added as a dependency to the python-pygps
 package.

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2083>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the openmoko-kernel mailing list