Comments (10)
Adding:
reload(sys)
sys.setdefaultencoding('utf-8')
Seems to fix it on Ubuntu 14.04
from plaso.
Fixes it in fedora 20 as well (coincidentally encountered this issue as well at the same time)
from plaso.
Chaging the path passed to find_packages to Unicode:
packages=find_packages(u'.'),
Results in, while trying to build a deb:
TypeError: 'package' must be a string (dot-separated), list, or tuple
dh_auto_build: python setup.py build --force returned exit code 1
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
from plaso.
from plaso.
Issues due to change:
https://build.opensuse.org/package/live_build_log/home:gregfreemyer:Tools-for-forensic-boot-cd/python-plaso/openSUSE_13.2/x86_64
[ 57s] + python setup.py build
[ 57s] Traceback (most recent call last):
[ 57s] File "setup.py", line 89, in <module>
[ 57s] sys.setdefaultencoding(sys.stdin.encoding)
[ 57s] TypeError: must be string, not None
from plaso.
https://codereview.appspot.com/175320043/
from plaso.
Let's see if this c8fe2db fixes the side effect
from plaso.
In setup.py line 96, you still have it calling: sys.setdefaultencoding(sys.stdin.encoding)
Changing that to: sys.setdefaultencoding(encoding)
Makes it work for me. I assume you meant to do that.
from plaso.
My bad, yeah was early this morning, fixing in: http://codereview.appspot.com/175990043
from plaso.
from plaso.
Related Issues (20)
- Enhance Mac OS background items plist parser plugin
- Create parser and parser plugins for Apple Biome files (aka: SEBG files) HOT 10
- How do I select parsers? HOT 20
- How do I use the winiis text parser plugin? HOT 1
- Windows Event Log message strings support enhancements
- Release plaso 20240308
- Change winlnk parser to not generate distributed_link_tracking event data for duplicate identifier
- Add TeamViewer log parser HOT 1
- Image export: change default behavior to not export file system metadata files
- Windows shim databases produce spurious UTMP events HOT 1
- Replace Redis with Valkey
- Remove obsolete functionality
- acstore pre-release causing AttributeError: 'SQLiteStorageFile' object has no attribute '_CONTAINER_SCHEMA_TO_SQLITE_TYPE_MAPPINGS' HOT 8
- Remove indirect dependencies HOT 11
- Unable to use parser in event filter after version 20230717? HOT 3
- winevtx: unable to parse evtx files without dependency identifier and string integer and FILETIME values HOT 5
- Failed to parse bitlocker encrypted image, but success with same image mounted with bdemount
- Add support for MS HTTP Error logs
- CI tests failing HOT 1
- Add support for Hadoop YARN timeline server logs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plaso.