Issue 20 in goobook: unknown encoding

1 view
Skip to first unread message

goo...@googlecode.com

unread,
Sep 7, 2010, 9:50:18 PM9/7/10
to goobook...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 20 by Sridhar....@gmail.com: unknown encoding
http://code.google.com/p/goobook/issues/detail?id=20

Version 1.3 has encoding issues, at least on MacOSX and Python 2.7

$ goobook srid
Traceback (most recent call last):
File "/Users/sridharr/Library/Python/2.7/bin/goobook", line 9, in <module>
load_entry_point('goobook==1.3', 'console_scripts', 'goobook')()

File "/Users/sridharr/Library/Python/2.7/lib/python/site-packages/goobook/application.py",
line 76, in main
args = [arg.decode(ENCODING) for arg in sys.argv[1:]]
LookupError: unknown encoding:
$

As a workaround, I had to the set the following environment variable:

LC_ALL=C

Still, I got "raise Exception("ERROR: Missing email or password") # TODO"
but then I realize that this is a todo item.

goo...@googlecode.com

unread,
Sep 8, 2010, 3:31:11 AM9/8/10
to goobook...@googlegroups.com

Comment #1 on issue 20 by h...@furuvik.net: unknown encoding
http://code.google.com/p/goobook/issues/detail?id=20

I will look closer at your first problem but the TODO part of the second is
just the formatting of the error message. Check your configuration so that
goobook get both your email and password, one or both of them are missing.

goo...@googlecode.com

unread,
Sep 9, 2010, 4:04:25 PM9/9/10
to goobook...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 20 by h...@furuvik.net: unknown encoding
http://code.google.com/p/goobook/issues/detail?id=20

OK, I think that I have fixed the problem but I don't have a Mac to test on.

Has also improved the error messages.

If anyone tests this in the latest devel version, please let me know.

Reply all
Reply to author
Forward
0 new messages