SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0000322: smart throws error on serial console and with xen - MantisBT
MantisBT - Endian Firewall
View Issue Details
0000322Endian FirewallInstallationpublic2007-11-19 17:202008-02-02 07:28
peter-endian 
peter-endian 
normalminoralways
closedfixed 
2.2-beta1 
2.2-beta32.2-beta3 
0000322: smart throws error on serial console and with xen
When upgrading a package using smart an error occurs after the package has been installed. This happens only with serial console and with xen.

Here's the traceback:

Traceback (most recent call last):
  File "/usr/bin/smart", line 194, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 167, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.4/site-packages/smart/commands/install.py", line 189, in main
    ctrl.commitTransaction(trans, confirm=confirm)
  File "/usr/lib/python2.4/site-packages/smart/control.py", line 505, in commitTransaction
    return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
  File "/usr/lib/python2.4/site-packages/smart/control.py", line 563, in commitChangeSet
    pmclass().commit(pmcs, pkgpaths)
  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/pm.py", line 218, in commit
    probs = ts.run(cb, None)
  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/pm.py", line 309, in __call__
    self.prog.show()
  File "/usr/lib/python2.4/site-packages/smart/progress.py", line 110, in show
    self.expose(topic, percent, *info)
  File "/usr/lib/python2.4/site-packages/smart/interfaces/text/progress.py", line 107, in expose
    out.write(self._topicmaskn % (n, topic))
ValueError: unsupported format character '-' (0x2d) at index 9
No tags attached.
Issue History
2007-11-19 17:20peter-endianNew Issue
2007-11-19 17:21peter-endianStatusnew => assigned
2007-11-19 17:21peter-endianAssigned To => peter-endian
2008-01-09 20:18peter-endianTarget Version => 2.2-beta3
2008-01-25 15:12peter-endianStatusassigned => resolved
2008-01-25 15:12peter-endianFixed in Version => 2.2-beta3
2008-01-25 15:12peter-endianResolutionopen => fixed
2008-01-25 15:12peter-endianNote Added: 0000855
2008-02-02 07:28raphael-endianStatusresolved => closed

Notes
(0000855)
peter-endian   
2008-01-25 15:12   
sent upstream