Skip to content

Petit crashes when parsing /var/log/syslog on Debian #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hi,

One of the Debian users has the following issue : 

---8<---
Hi,

I have a crash while using --hash with the /var/log/syslog file :

bureau:~# petit --hash /var/log/syslog
Traceback (most recent call last):
  File "/usr/bin/petit", line 348, in <module>
    get_options(sys.argv[1:])
  File "/usr/bin/petit", line 135, in get_options
    hash(filename)
  File "/usr/bin/petit", line 164, in hash
    log = Log(args)
  File "/usr/share/petit/crunchtools.py", line 631, in __init__
    self.append(Entry(line))
  File "/usr/share/petit/crunchtools.py", line 87, in __init__
    self.hour, self.minute, self.second = clocktime.split(":") 
ValueError: need more than 1 value to unpack

Bye,
Carl Chenet
---8<---

The original bug report is available at 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589691

Bye,
Carl Chenet - Debian maintainer

Blog: http://carlchenet.wordpress.com
Identi.ca: http://identi.ca/carlchenet

Original issue reported on code.google.com by cha...@ohmytux.com on 20 Jul 2010 at 2:30

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions