Cannot insert Templates with Version 1.1.2

Asked by Kai Dehrmann

Version 1.1.1 worked fine for me under Windows XP and LinuxMint 10 ( = Ubuntu 10.10)

When I upgraded to Version 1.1.2, I could no longer load Templates, in both OS.

2011-01-01 16:44:07,960 DEBUG sys.stdout logging level: 20
2011-01-01 16:44:07,960 INFO Writing log to file "/home/kai/.rednotebook/rednotebook.log"
2011-01-01 16:44:07,961 DEBUG LANG: de_DE.utf8
2011-01-01 16:44:07,961 DEBUG Default locale: de_DE
2011-01-01 16:44:07,961 INFO Set default locale: "de_DE"
2011-01-01 16:44:07,964 INFO Module glade found
2011-01-01 16:44:08,290 INFO chardet not found. Let's hope all your files are unicode
2011-01-01 16:44:08,313 INFO Running in portable mode: False
2011-01-01 16:44:08,314 INFO First Start: False
2011-01-01 16:44:08,314 INFO RedNotebook version: 1.1.2
2011-01-01 16:44:08,322 INFO System info: machine: i686, platform: Linux-2.6.35-22-generic-i686-with-LinuxMint-10-julia, processor: , python_version: 2.6.6, release: 2.6.35-22-generic, system: Linux, GTK version: (2, 22, 0), PyGTK version: (2, 21, 0), Yaml version: 3.09
2011-01-01 16:44:08,784 INFO Using webkit for previews: True

2011-01-01 16:44:09,172 INFO Using pywebkitgtk for the clouds.
2011-01-01 16:44:09,224 DEBUG Tray icon visible: False
2011-01-01 16:44:09,226 INFO Using zeitgeist: False
2011-01-01 16:44:09,227 INFO Opening journal at /home/kai/.rednotebook
2011-01-01 16:44:09,227 DEBUG Starting to load files in dir "/home/kai/.rednotebook"
2011-01-01 16:44:09,228 DEBUG Start loading file "/home/kai/.rednotebook/2010-12.txt"
2011-01-01 16:44:09,235 DEBUG Finished loading file "/home/kai/.rednotebook/2010-12.txt"
2011-01-01 16:44:09,236 DEBUG Start loading file "/home/kai/.rednotebook/2011-01.txt"
2011-01-01 16:44:09,245 DEBUG Finished loading file "/home/kai/.rednotebook/2011-01.txt"
2011-01-01 16:44:09,245 DEBUG Finished loading files in dir "/home/kai/.rednotebook"
2011-01-01 16:44:09,340 DEBUG Update the cloud (Type: word, Force: True)
2011-01-01 16:44:09,353 DEBUG Retrieved WordCountDict. Length: 26
2011-01-01 16:44:09,353 DEBUG Turning the word_count_dict into html
2011-01-01 16:44:09,353 DEBUG Length word_count_dict: 26
2011-01-01 16:44:09,353 DEBUG Filtered short words. Length word_count_dict: 16
2011-01-01 16:44:09,354 DEBUG Filtered blacklist words. Length word_count_dict: 14
2011-01-01 16:44:09,354 DEBUG Selected most frequent words. Length CloudWords: 14
2011-01-01 16:44:09,354 DEBUG Min word count: 1, Max word count: 2
2011-01-01 16:44:09,354 DEBUG Sorted cloud words. Length CloudWords: 14
2011-01-01 16:44:09,354 DEBUG 14 cloud words found
2011-01-01 16:44:09,356 DEBUG Cloud updated
2011-01-01 16:44:09,367 INFO Connected Signals: 1 2 3 6 15 20
2011-01-01 16:44:09,371 DEBUG Start took 1.0816450119 seconds
2011-01-01 16:44:09,371 DEBUG Trying to enter the gtk main loop
2011-01-01 16:44:27,489 INFO chardet not found. Let's hope all your files are unicode
Traceback (most recent call last):
  File "/usr/share/rednotebook/rednotebook/templates.py", line 281, in <lambda>
    lambda widget: self.on_insert(widget))
  File "/usr/share/rednotebook/rednotebook/templates.py", line 100, in on_insert
    text = self.get_text(title)
  File "/usr/share/rednotebook/rednotebook/templates.py", line 168, in get_text
    date = date.decode(date)
LookupError: unknown encoding: Samstag, 01.01.2011 16:44:27
2011-01-01 16:44:33,629 DEBUG Main frame destroyed
2011-01-01 16:44:33,631 INFO Goodbye!

Is this possibly a bug ???

Kind regards

Kai Dehrmann

Question information

Language:
English Edit question
Status:
Answered
For:
RedNotebook Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tim㋡ (tim.h.s) said :
#1

Yes see Bug #696205: Templates won't work (won't get pasted)

Can you help with this problem?

Provide an answer of your own, or ask Kai Dehrmann for more information if necessary.

To post a message you must log in.