onlyone0001 / petit-log

Automatically exported from code.google.com/p/petit-log
0 stars 0 forks source link

ImportError: No module named crunchtools.CrunchLog #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. wget http://crunchtools.com/wp-content/files/petit/petit-current.deb; sudo 
dpkg -i petit-current.deb
2. petit --wordcount /var/log/messages

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/usr/bin/petit", line 41, in <module>
    from crunchtools.CrunchLog import Log
ImportError: No module named crunchtools.CrunchLog

What version of the product are you using? On what operating system?
Petit Version: 1.1.0

Distributor ID: Ubuntu
Description:    Ubuntu 9.04
Release:    9.04
Codename:   jaunty

Please provide any additional information below.

Same symptom's on Ubuntu 10.10, crunchtools.CrunchLog module not packaged in 
.deb?

Original issue reported on code.google.com by stelio.g...@gmail.com on 28 Feb 2011 at 11:18

Attachments:

GoogleCodeExporter commented 8 years ago
Any solution yet?

Original comment by stelio.g...@gmail.com on 28 Mar 2011 at 2:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The issue here seemed to be this line in build/scripts/tar-install.sh:
cp -vf ./src/lib/crunchtools/* /usr/share/petit/crunchtools/

Running:
cp -vrf ./src/lib/crunchtools/* /usr/share/petit/crunchtools/

seemed to have fixed it

Original comment by dixi...@gmail.com on 14 Feb 2013 at 1:56

GoogleCodeExporter commented 8 years ago
add this line in build/scripts/tar-install.sh:
mkdir -p /usr/share/petit/crunchtools

Original comment by genneret...@gmail.com on 3 Mar 2013 at 3:40