GithubHelp home page GithubHelp logo

jendrikseipp / rednotebook Goto Github PK

View Code? Open in Web Editor NEW
471.0 26.0 108.0 33.63 MB

RedNotebook is a cross-platform journal

Home Page: https://rednotebook.app

License: GNU General Public License v2.0

Shell 0.75% Python 90.31% Inno Setup 1.57% CSS 2.82% HTML 4.04% JavaScript 0.50%
python journal diary cross-platform offline desktop gtk hashtags

rednotebook's Introduction

RedNotebook

RedNotebook is a modern desktop journal. It lets you format, tag and search your entries. You can also add pictures, links and customizable templates, spell check your notes, and export to plain text, HTML, Latex or PDF.

Installers for Linux and Windows: rednotebook.app/downloads.html

Requirements

Needed for running RedNotebook:

Needed for installing RedNotebook:

Run from source

Install all dependencies:

Start RedNotebook:

  • Linux/macOS: python3 rednotebook/journal.py
  • Windows: py rednotebook/journal.py

Set up pre-commit hooks

Install pre-commit, then run pre-commit install.

Run tests

Install tox, then run tox.

Thanks to

  • The authors of the libraries listed under 'Requirements'.
  • Ciaran for creating the RedNotebook icon.
  • The txt2tags team for their markup conversion tool.
  • Dieter Verfaillie for his elib.intl module.
  • Maximilian Köhl for his pygtkspellcheck project.
  • The Weblate team for hosting translations for RedNotebook.

License notes

RedNotebook is published under the GPLv2+. Since it bundles code released under the LGPLv3+, the resulting work is licensed under the GPLv3+. See debian/copyright for detailed license information.

Enjoy!

rednotebook's People

Contributors

albanobattistella avatar bitmuster avatar carygravel avatar curioussushiroll avatar dependabot[bot] avatar dgcampea avatar felixmz avatar iamjackg avatar idle-code avatar iesoftwaredeveloper avatar jendrikseipp avatar kathenas avatar kianmeng avatar laraconda avatar mailaender avatar maxkrummenacher avatar mejans avatar milotype avatar nikolas-n avatar przemub avatar rj722 avatar rnorris avatar ronbrownjr avatar scx avatar sjg20 avatar sorashadow avatar takluyver avatar turnage avatar welaq avatar zygimantus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rednotebook's Issues

Freeze on application start

Originally reported at launchpad:


When I start rednotebook in Jaunty window appears with no text and locks up (freezes). When I run from the command line I get:
andrew@andrew:~$ rednotebook
INFO AppDir: /usr/share/rednotebook/rednotebook
INFO BaseDir: /usr/share/rednotebook
INFO First Start: False
INFO RedNotebook version: 0.7.4
INFO System info: machine: x86_64, platform: Linux-2.6.28-13-generic-x86_64-with-Ubuntu-9.04-jaunty, processor: , python_version: 2.6.2, release: 2.6.28-13-generic, system: Linux, GTK version: (2, 16, 1), PyGTK version: (2, 14, 1), Yaml version: 3.08,
INFO The config file /usr/share/rednotebook/rednotebook/files/default.cfg was read
INFO The config file /home/andrew/.rednotebook/configuration.cfg was read
/usr/share/rednotebook/rednotebook/gui/mainWindow.py:61: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
self.wTree = gtk.glade.XML(self.gladefile)
INFO Cloud ignore list: ['filter', 'these', 'comma', 'separated', 'words', 'about', 'again', 'almost', 'looking', 'seems', 'stuff', 'which', 'whole', 'putting', 'going', 'handling', 'makes', 'unused', 'update', 'search', 'remove', 'removed', 'replacement', 'tomorrow', 'thing', "that's", 'there', 'solve', 'still', 'monday', 'looked', 'needs', 'items', 'files', 'fixed', 'folder', 'found', 'further', 'getting', 'having', 'helping', 'include', 'started', 'other', 'until', 'given', 'details', 'directory', 'discovered', 'email', 'enable', 'class', 'completed', 'building']
INFO Opening journal at /home/andrew/.rednotebook/data/
INFO 0.7.4 is newest version. You have version 0.7.4
INFO Connected Signals: 1 2 3 6 15 20

I then have to forcibly kill the application.

No warning for unsaved Journal

Originally reported by picmax at https://bugs.launchpad.net/bugs/1174983 (2013-04-30T23:41:14Z):


I have the journal file stored on a mapped network drive. I was able to work on the journal nornally for almost a whole month without noticing any issue. However after a reboot the journal file for the month of April is not there. It appears that the file was never created on the drive because I have exceed the limit for number of files for the drive.

RedNoteBook should issue warning immediately when it cannot save a file. It is unacceptable it doesn't.

I am running Windows 7 64 bit Enterprise edition.

Export fails on Windows

Originally reported by jendrikseipp at https://bugs.launchpad.net/bugs/575999 (2010-05-05T20:00:20Z):


When I try to export no new files can be found and I have this in the log:

2010-05-01 17:35:07,186 DEBUG Selected Categories for Export: [u'Movies', u'Done', u'Tags', u'Cool Stuff', u'Todo', u'Ideas']
Traceback (most recent call last):
File "rednotebook\gui\exportAssistant.pyc", line 188, in on_quit
File "rednotebook\gui\exportAssistant.pyc", line 346, in export
File "rednotebook\gui\exportAssistant.pyc", line 382, in get_export_string
File "rednotebook\util\markup.pyc", line 67, in getMarkupForDay
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 3-7: unsupported Unicode code range
Traceback (most recent call last):
File "rednotebook\gui\keepnote\gui\richtext_init_.pyc", line 833, in _do_paste_object
File "rednotebook\gui\keepnote\gui\richtext\richtextbuffer.pyc", line 622, in insert_contents
File "rednotebook\gui\keepnote\gui\richtext\textbuffer_tools.pyc", line 303, in insert_buffer_contents
File "rednotebook\gui\keepnote\gui\richtext\richtextbasebuffer.pyc", line 34, in add_child_to_buffer
File "rednotebook\gui\keepnote\gui\richtext\richtextbuffer.pyc", line 734, in add_child
File "rednotebook\gui\keepnote\gui\richtext\richtextbuffer.pyc", line 819, in _determine_image_name
NameError: global name 'keepnote' is not defined

rednotebook crashes when adding tags

Originally reported by margarethe-meier at https://bugs.launchpad.net/bugs/1029411 (2012-07-26T12:07:03Z):


When im creating new tags rednotebook (fresh install) crashes very often. Apport analysis:

ProblemType: Crash
CrashCounter: 1
Date: Thu Jul 26 13:57:31 2012
ExecutablePath: /usr/share/rednotebook/run.py
ExecutableTimestamp: 1343122800
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/rednotebook
ProcCwd: /home/###
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcMaps:
...
ProcStatus:
Name: rednotebook
State: R (running)
Tgid: 8631
Pid: 8631
PPid: 1
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 256
Groups: 4 24 27 30 46 109 124 126 1000
VmPeak: 204432 kB
VmSize: 204432 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 47724 kB
VmRSS: 47724 kB
VmData: 83476 kB
VmStk: 212 kB
VmExe: 2396 kB
VmLib: 78860 kB
VmPTE: 248 kB
VmSwap: 0 kB
Threads: 7
SigQ: 0/32124
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180084027
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed: 3
Cpus_allowed_list: 0-1
Mems_allowed: 1
Mems_allowed_list: 0
voluntary_ctxt_switches: 7775
nonvoluntary_ctxt_switches: 1949
PythonArgs: ['/usr/bin/rednotebook']
Traceback:
Traceback (most recent call last):
File "/usr/share/rednotebook/rednotebook/gui/search.py", line 44, in on_entry_changed
self.search(self.get_active_text())
File "/usr/share/rednotebook/rednotebook/gui/search.py", line 71, in search
self.main_window.search_tree_view.update_data(search_text, tags)
File "/usr/share/rednotebook/rednotebook/gui/search.py", line 93, in update_data
for date_string, entries in self.journal.search(search_text, tags):
File "/usr/share/rednotebook/rednotebook/journal.py", line 516, in search
results.append(day.search(text, tags))
File "/usr/share/rednotebook/rednotebook/data.py", line 186, in search
entries = self.get_entries(day_tag)
File "/usr/share/rednotebook/rednotebook/data.py", line 144, in get_entries
return sorted(self.content.get(category, {}).keys())
AttributeError: 'NoneType' object has no attribute 'keys'
UserGroups: adm cdrom davfs2 dip lpadmin plugdev sambashare sudo
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
Dependencies:
aspell 0.60.720110707-1
aspell-en 6.0-0-6ubuntu2
coreutils 8.13-3ubuntu3
dconf-gsettings-backend 0.12.0-0ubuntu1
dconf-service 0.12.0-0ubuntu1
debconf 1.5.42ubuntu1
debianutils 4.2.1ubuntu2
dictionaries-common 1.12.1ubuntu2
dpkg 1.16.1.2ubuntu7
fontconfig 2.8.0-3ubuntu9
fontconfig-config 2.8.0-3ubuntu9
gcc-4.6-base 4.6.3-1ubuntu5
gir1.2-glib-2.0 1.32.0-1
glib-networking 2.32.1-1ubuntu1
glib-networking-common 2.32.1-1ubuntu1
glib-networking-services 2.32.1-1ubuntu1
gsettings-desktop-schemas 3.4.1-0ubuntu1
iso-codes 3.31-1
libacl1 2.2.51-5ubuntu1
libaspell15 0.60.7
20110707-1
libatk1.0-0 2.4.0-0ubuntu1
libatk1.0-data 2.4.0-0ubuntu1
libattr1 1:2.4.46-5ubuntu1
libavahi-client3 0.6.30-5ubuntu2
libavahi-common-data 0.6.30-5ubuntu2
libavahi-common3 0.6.30-5ubuntu2
libbz2-1.0 1.0.6-1
libc-bin 2.15-0ubuntu10
libc6 2.15-0ubuntu10
libcairo2 1.10.2-6.1ubuntu3
libcomerr2 1.42-1ubuntu2
libcups2 1.5.3-0ubuntu1
libdatrie1 0.2.5-3
libdb5.1 5.1.25-11build1
libdbus-1-3 1.4.18-1ubuntu1
libdbus-glib-1-2 0.98-1ubuntu1
libdconf0 0.12.0-0ubuntu1
libenchant1c2a 1.6.0-7
libexpat1 2.0.1-7.2ubuntu1
libffi6 3.0.11rc1-5
libfontconfig1 2.8.0-3ubuntu9
libfreetype6 2.4.8-1ubuntu2
libgail18 2.24.10-0ubuntu6
libgcc1 1:4.6.3-1ubuntu5
libgcrypt11 1.5.0-3ubuntu0.1
libgdk-pixbuf2.0-0 2.26.1-1
libgdk-pixbuf2.0-common 2.26.1-1
libgeoclue0 0.12.0-1ubuntu12
libgirepository-1.0-1 1.32.0-1
libglib2.0-0 2.32.3-0ubuntu1
libgnutls26 2.12.14-5ubuntu3.1
libgpg-error0 1.10-2ubuntu1
libgssapi-krb5-2 1.10+dfsg
beta1-2ubuntu0.1
libgstreamer-plugins-base0.10-0 0.10.36-1ubuntu0.1
libgstreamer0.10-0 0.10.36-1ubuntu1
libgtk2.0-0 2.24.10-0ubuntu6
libgtk2.0-common 2.24.10-0ubuntu6
libhunspell-1.3-0 1.3.2-4
libice6 2:1.0.7-2build1
libicu48 4.8.1.1-3
libjasper1 1.900.1-13
libjavascriptcoregtk-1.0-0 1.8.0-0ubuntu2
libjpeg-turbo8 1.1.90+svn733-0ubuntu4.1
libjpeg8 8c-2ubuntu7
libk5crypto3 1.10+dfsgbeta1-2ubuntu0.1
libkeyutils1 1.5.2-2
libkrb5-3 1.10+dfsg
beta1-2ubuntu0.1
libkrb5support0 1.10+dfsgbeta1-2ubuntu0.1
liblzma5 5.1.1alpha+20110809-3
libncursesw5 5.9-4
liborc-0.4-0 1:0.4.16-1ubuntu2
libp11-kit0 0.12-2ubuntu1
libpam-modules 1.1.3-7ubuntu2
libpam-modules-bin 1.1.3-7ubuntu2
libpam0g 1.1.3-7ubuntu2
libpango1.0-0 1.30.0-0ubuntu3.1
libpcre3 8.12-4
libpixman-1-0 0.24.4-1
libpng12-0 1.2.46-3ubuntu4
libproxy1 0.4.7-0ubuntu4
libreadline6 6.2-8
libselinux1 2.1.0-4.1ubuntu1
libsm6 2:1.2.0-2build1
libsoup2.4-1 2.38.1-1
libsqlite3-0 3.7.9-2ubuntu1
libssl1.0.0 1.0.1-4ubuntu5.3
libstdc++6 4.6.3-1ubuntu5
libtasn1-3 2.10-1ubuntu1.1
libtext-iconv-perl 1.7-5
libthai-data 0.1.16-3
libthai0 0.1.16-3
libtiff4 3.9.5-2ubuntu1.2
libtinfo5 5.9-4
libuuid1 2.20.1-1ubuntu3
libwebkitgtk-1.0-0 1.8.0-0ubuntu2
libwebkitgtk-1.0-common 1.8.0-0ubuntu2
libx11-6 2:1.4.99.1-0ubuntu2
libx11-data 2:1.4.99.1-0ubuntu2
libxau6 1:1.0.6-4
libxcb-render0 1.8.1-1
libxcb-shm0 1.8.1-1
libxcb1 1.8.1-1
libxcomposite1 1:0.4.3-2build1
libxcursor1 1:1.1.12-1
libxdamage1 1:1.1.3-2build1
libxdmcp6 1:1.1.0-4
libxext6 2:1.3.0-3build1
libxfixes3 1:5.0-4ubuntu4
libxft2 2.2.0-3ubuntu2
libxi6 2:1.6.0-0ubuntu2
libxinerama1 2:1.1.1-3build1
libxml2 2.7.8.dfsg-5.1ubuntu4.1
libxrandr2 2:1.3.2-2
libxrender1 1:0.9.6-2build1
libxslt1.1 1.1.26-8ubuntu1
libxt6 1:1.1.1-2build1
libyaml-0-2 0.1.4-2
lsb-base 4.0-0ubuntu20
mime-support 3.51-1ubuntu1
multiarch-support 2.15-0ubuntu10
ncurses-bin 5.9-4
passwd 1:4.1.4.2+svn3283-3ubuntu5
perl-base 5.14.2-6ubuntu2
python 2.7.3-0ubuntu2
python-cairo 1.8.8-1ubuntu3
python-gi 3.2.2-1
precise
python-gobject 3.2.2-1precise
python-gobject-2 2.28.6-10ubuntu1
python-gtk2 2.24.0-3
python-minimal 2.7.3-0ubuntu2
python-support 1.0.14ubuntu2
python-webkit 1.1.8-2ubuntu2
python-yaml 3.10-2
python2.7 2.7.3-0ubuntu3
python2.7-minimal 2.7.3-0ubuntu3
readline-common 6.2-8
sed 4.2.1-9
sensible-utils 0.0.6ubuntu2
shared-mime-info 1.0-0ubuntu4.1
tar 1.26-4ubuntu1
ttf-dejavu-core 2.33-2ubuntu1
tzdata 2012b-1
ucf 3.0025+nmu2ubuntu1
x11-common 1:7.6+12ubuntu1
xz-utils 5.1.1alpha+20110809-3
zlib1g 1:1.2.3.4.dfsg-3ubuntu4
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
Package: rednotebook 1.5.0-1
1027~precise1 [origin: LP-PPA-rednotebook-daily]
PackageArchitecture: all
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic-pae 3.2.21
SourcePackage: rednotebook
Tags: third-party-packages precise
Title: run.py crashed with AttributeError in get_entries(): 'NoneType' object has no attribute 'keys'
Uname: Linux 3.2.0-27-generic-pae i686
UnreportableReason: Dies ist kein offizielles Ubuntu-Paket. Bitte entfernen Sie alle Pakete von Drittanbietern und wiederholen Sie den Vorgang.
UpgradeStatus: No upgrade log present (probably fresh install)

Rednotebook does not work with Turkish locale

Originally reported by jwiltshire at https://bugs.launchpad.net/bugs/555425 (2010-07-10T17:49:01Z):


Binary package hint: rednotebook

As described in the title when we try to open Rednotebook with Turkish locale we get this error:

Traceback (most recent call last):
File "/usr/bin/rednotebook", line 12, in
rednotebook.redNotebook.main()
File "/usr/share/rednotebook/rednotebook/redNotebook.py", line 985, in main
redNotebook = RedNotebook()
File "/usr/share/rednotebook/rednotebook/redNotebook.py", line 286, in init
self.frame = MainWindow(self)
File "/usr/share/rednotebook/rednotebook/gui/mainWindow.py", line 156, in init
self.setup_format_menu()
File "/usr/share/rednotebook/rednotebook/gui/mainWindow.py", line 655, in setup_format_menu
('Underline', ('Underline')))]
File "/usr/share/rednotebook/rednotebook/gui/mainWindow.py", line 643, in get_action
return (format, getattr(gtk, 'STOCK
' + format.upper()),
AttributeError: 'module' object has no attribute 'STOCK_ITALiC'

I think this is because of STOCK_ITALiC part.

When we start Rednotebook like that the application is successfuly opened.

LC_ALL=C rednotebook

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: rednotebook 0.9.2-1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CheckboxSubmission: 2d318cb415d02b5308568dbff5236c6c
CheckboxSystem: 8747e013a552447cbd294fa2163135be
Date: Mon Apr 5 03:28:24 2010
ExecutablePath: /usr/share/rednotebook/run.py
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/rednotebook
ProcEnviron:
PATH=(custom, user)
LANG=tr_TR.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/bin/rednotebook']
SourcePackage: rednotebook
Title: run.py crashed with AttributeError in get_action()
UserGroups: adm admin cdrom dialout lpadmin plugdev pulse pulse-access sambashare vboxusers

RN running only in background

Originally reported by charlymr at https://bugs.launchpad.net/bugs/871688 (2011-10-10T10:51:37Z):


I installed the new version (1.2) yesterday and since then I have the problem, that it looks like RN is running in the background and I can't see it or stop it. When I try to open it I get the following message:

RedNotebook scheint bereits zu laufen
Das kann passieren, wenn sich die Anwendung im Systembereich verbirgt oder sie nicht korrekt beendet wurde. Wenn eine zweite Instanz von RedNotebook gestartet wird, kann das zu Datenverlusten führen. Bitte prüfe deshalb, ob die Anwendung nicht schon läuft.

Soll trotzdem eine neue Instanz von RedNotebook gestartet werden?

To delete the "running" line in the conf-file doesn't help! Also it is not located in the sys-tray.

Here are my conf and log files:

log:
2011-10-10 11:10:11,497 DEBUG sys.stdout logging level: 20
2011-10-10 11:10:11,499 INFO Writing log to file "/home/charly/.rednotebook/rednotebook.log"
2011-10-10 11:10:12,139 WARNING RedNotebook instance already running

conf:
checkForNewVersion=1
closeToTray=0
cloudIgnoreList=*, , abgest, ausführ, bereich, die, doch, durch, einer, erfolgt, eventuell, ist, kein, keine, kommt, möglich, nicht, nur, offen, seitens, vorgesehen, weitere, werden, wurde
cloudIncludeList=job, juli, mtv, spam
cloudTabActive=1
dataDir=/media/Kingston/Firma/Notizen_Frima
dateTimeString=%A, %x %X
exportDateFormat=%A, %x
firstStart=0
leftDividerPosition=236
mainFontSize=-1
mainFrameHeight=576
mainFrameMaximized=1
mainFrameWidth=1024
mainFrameX=0
mainFrameY=24
rightDividerPosition=540
running=1
spellcheck=1
userDir=
weekNumbers=1

I hope you find a quick solution, because I use RN on daily basis in my work and can't do anything with it now!!
Is there a way to install the old version (1.1.8)?

charly

RedNotebook shouldn't load backup files as journal files

Originally reported by domdelimar at https://bugs.launchpad.net/bugs/705260 (2011-01-20T04:44:52Z):


I don't know if there's some convention about linux *~ backup files but to me at least it was unexpected behavior when I edited my journal file outside RedNotebook (which automatically, based on my preferences, created a backup of the that file with "~" suffix) and started RedNotebook only to find my changes were not applied.
Log explained why this was:

INFO Opening journal at /.rednotebook/data
DEBUG Starting to load files in dir "
/.rednotebook/data"
DEBUG Start loading file "/.rednotebook/data/2011-01.txt"
DEBUG Finished loading file "
/.rednotebook/data/2011-01.txt"
DEBUG Start loading file "/.rednotebook/data/2011-01.txt"
DEBUG Finished loading file "/.rednotebook/data/2011-01.txt"
DEBUG Finished loading files in dir "~/.rednotebook/data"

So RN read both files and in this case gave higher priority to my backup file.

I don't know if editing journal files directly is supported and if this behavior could thus be considered a simple wishlist and not a bug, but the reason I edited the file outside RN was because I accidentally put a whole lot of data on the wrong date and felt it would be a lot easier to just change the date info in the journal file rather than go through tedious copy-pasting. And by storing journal data in plain text you sure made it appealing and easy to do such edits and thanks for that :) - and this certainly isn't even a big bug since all one has to do is remove backup files and everything goes back to normal (some might even have their systems setup in a way they will never hit this bug) but it sure seems to me it wouldn't hurt a bit if RN ignored certain files, backup ones for starters.

And let me just add this is a lovely program you've created. Just started using it and I already can't see myself not using it from now on. Thank you! :)

run.py crashed with Exception in __init__(): Invalid regexp "(c++)": multiple repeat

Originally reported by jwiltshire at https://bugs.launchpad.net/bugs/741537 (2011-04-10T12:11:09Z):


Binary package hint: rednotebook

save rednotebook

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: rednotebook 1.1.2-1
ProcVersionSignature: Ubuntu 2.6.38-7.38-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
Architecture: amd64
Date: Thu Mar 24 16:24:26 2011
ExecutablePath: /usr/share/rednotebook/run.py
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027.1)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/rednotebook
ProcEnviron:
LANGUAGE=zh_CN:en
LANG=zh_CN.utf8
SHELL=/bin/bash
PythonArgs: ['/usr/bin/rednotebook']
SourcePackage: rednotebook
Title: run.py crashed with Exception in init(): Invalid regexp "(c++)": multiple repeat
UpgradeStatus: Upgraded to natty on 2011-03-12 (11 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

"Filter days by tag" in export doesn't work with cyrilic tags

Originally reported by alexandr-baramykov at https://bugs.launchpad.net/bugs/1267263 (2014-01-08T22:00:44Z):


In export there is an option to filter days by some tags presence. This option doesn't work with cyrilic tags. Selection of the tags in cyrilic just do nothing - days with this tags aren't included to the final report.

In attached archive there is a test diary named "test". In this diary there are records for two days: one with tag "tag1" and the other one with "тег1".

  • If all days export is selected - both records present in the report (RedNotebook-Export_all.txt)
  • If filtering by tags is selected and "tag1" tag is selected - record with this tag presents in the report (RedNotebook-Export_tag1.txt)
  • If filtering by tags is selected and "тег1" tag is selected - record with this tag must present in the report bu actual report is empty (RedNotebook-Export_тег1.txt)

Config and log file for the last case is also in attach.

Environment:
RedNotebook version: 1.8.0
OS: Ubuntu x64, Win7 x64

Usage in high-contrast-mode, w/ high-contrast-theme-#1 on Windows 7 is a bit problematic

Originally reported by martin-lemburg at https://bugs.launchpad.net/bugs/1574613 (2016-04-25T12:23:21Z):


Sincerely I need to work with my Windows 7 accounts to be configured to use high-contrast-mode and high-contrast-#1 theme (yellow text on black backgrounds, white frames).

I was quite astonished, that there are so less problems with RedNotbook, but some areas a bit problematic:

  1. After inserting a template, before "saving" it, the view gets quiet distorted for people like me.
  2. The tag cloud is not rendered in the system colors, so it is still black on white
  3. In the settings dialog I'm not quite sure if I miss something black on black

Independent of any theming the tags area on the left of the window behaves a bit strange while resizing the window

exception on first run if ~/.rednotebook does not exist

Originally reported by jwiltshire at https://bugs.launchpad.net/bugs/392235 (2009-06-25T18:10:23Z):


If the ~/.rednotebook directory does not already exist, RedNotebook raises an
exception when trying to initialise logging:

Traceback (most recent call last):
File "/usr/bin/rednotebook", line 7, in
import rednotebook.redNotebook
File "/usr/share/rednotebook/rednotebook/redNotebook.py", line 55, in
filemode='w',
File "/usr/lib/python2.5/logging/init.py", line 1240, in basicConfig
hdlr = FileHandler(filename, mode)
File "/usr/lib/python2.5/logging/init.py", line 770, in init
stream = open(filename, mode)
IOError: [Errno 2] No such file or directory: '/home/jona/.rednotebook/rednotebook.log'

The attached patch checks at startup whether the directory exists, and creates
it if necessary just before loading the core redNotebook module.

GTK warning on terminal output

Originally reported by gss21 at https://bugs.launchpad.net/bugs/405991 (2009-07-28T19:58:58Z):


Running version 0.8.1 on jaunty from the terminal the following is output on launching:

INFO The config file /home/gregory/.rednotebook/configuration.cfg was read
/usr/share/rednotebook/rednotebook/gui/mainWindow.py:66: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
self.wTree = gtk.glade.XML(self.gladefile)

It's installed straight from the repository, so there aren't any changes to the default configuration.

export function disabled on windows xp

Originally reported by yanzhisheng at https://bugs.launchpad.net/bugs/627263 (2010-08-31T07:07:25Z):


I install RedNotebook 1.1.1 on Windows XP SP2. The Backup works smooth, but when I select the export command, and select the destination and go on from step1 to step5, I have got no exported files. all formats including plain text, html, latex, and pdf are tried, and get on result.
I thought this might be a bug for rednotebook, has anybody else encounter this problem.
I addition, the windows xp is chinese edition.
Thank you in advance.
zhisheng yan

RedNotebook doesn't start: TypeError: an integer is required

Fresh brand new RedNotebook 1.1.3 from robin.powdarrmonkey.net repo.

Started once and became unwilling to start again after a reboot.

================================

The console output is:

myo@myo-desktop:~$ rednotebook
/usr/share/themes/Kiwi/gtk-2.0/gtkrc:78: Murrine configuration option "scrollbar_color" is no longer supported and will be ignored.
/usr/share/themes/Kiwi/gtk-2.0/gtkrc:82: Murrine configuration option "gradients" is no longer supported and will be ignored.
INFO Writing log to file "/home/myo/.rednotebook/rednotebook.log"
INFO Set default locale: "ru_RU"
INFO Module glade found
INFO Running in portable mode: False
INFO First Start: False
INFO RedNotebook version: 1.1.3
INFO System info: machine: i686, platform: Linux-2.6.32-30-generic-i686-with-Ubuntu-10.04-lucid, processor: , python_version: 2.6.5, release: 2.6.32-30-generic, system: Linux, GTK version: (2, 20, 1), PyGTK version: (2, 17, 0), Yaml version: 3.09
INFO Using webkit for previews: 1
Traceback (most recent call last):
File "/usr/bin/rednotebook", line 12, in
rednotebook.journal.main()
File "/usr/share/rednotebook/rednotebook/journal.py", line 687, in main
journal = Journal()
File "/usr/share/rednotebook/rednotebook/journal.py", line 292, in init
self.frame = MainWindow(self)
File "/usr/share/rednotebook/rednotebook/gui/main_window.py", line 157, in init
self.load_values_from_config()
File "/usr/share/rednotebook/rednotebook/gui/main_window.py", line 653, in load_values_from_config
self.main_frame.move(pos_x, pos_y)
TypeError: an integer is required

================================

The strings in configuration.cfg that could possibly cause this error are:

mainFrameX=None
mainFrameY=None

Since v1.7.0 corrections via context-menu will be set at the end of the text

Originally reported by lowereastside-deactivatedaccount at https://bugs.launchpad.net/bugs/1137925 (2013-03-01T14:44:24Z):


Beim Korrigieren von Wörtern über das Kontextmenü wird das korrigierte Wort an das Ende der jeweiligen Zeile gestellt.
Beispiel: Dieser Sats enthält einen Fehler - er sieht nach der Korrektur so aus: Dieser enthält einen FehlerSatz. Beim Hinzufügen zum Wörterbuch tritt dieser Fehler hingegen nicht auf, das Wort bleibt an der korrekten Stelle stehen.
Dieses Verhalten zeigt sich erst seit dem Update auf 1.7.0

Editing an existing category entry that contains a \\ removes the new line symbol.

Originally reported by p-weber at https://bugs.launchpad.net/bugs/719830 (2011-02-16T07:01:50Z):


when using a new line symbol/code (\) inside a category entry, editing that existing entry removes the newline symbol/code. While editing the entry there is a box where the new line symbol/code was (I believe its a character that cant be rendered). The newline displays correctly when first added to the entry, but gets deleted upon editing that entry.

Ubuntu 10.04.2
RedNotebook 1.1.2

Installation in Verzeichnisse mit deutschen Umlauten funktioniert nicht

Originally reported by x-launchpad-franky4you-de at https://bugs.launchpad.net/bugs/782562 (2011-05-14T09:24:28Z):


Bei der Installation in einen Windows Ordner mit deutschen Umlauten wie ü, ä, ü, Ü, Ä, Ö fahrt rednotebook nicht hoch. Doppelklick und nichts passiert ist aber auch nicht in der prozessliste. bei der Installation in einen Ordner ohne deutsche Umlaute klappt alles wunderbar. Vielleicht Installer im Unicode Format erstellen?

Hashtag not printed

Originally reported by clcyrot at https://bugs.launchpad.net/bugs/1255582 (2013-11-27T16:05:38Z):


Sorry for my english, I'm French...
Hashtag which begin with "#SEP" is reconized but not printed in mode "previsualisation". For example, it only displays # instead of #SEPER .

Sometimes can't add a tag to an entry

Originally reported by rod-jamieson at https://bugs.launchpad.net/bugs/1545223 (2016-02-13T04:28:45Z):


Hi,

I'm having an odd problem lately.

I can't precisely be sure what steps seem to cause the behaviour. Today it seemed to happen when I did this:

  1. I tagged an old entry with an existing tag

  2. Created a new entry for today

  3. When I tried to tag the new entry the previous tag is highlighted but the "OK" button is greyed out

  4. I can't tag the current entry no matter what I do, all existing tags won't work as the "OK" button stays greyed out.

  5. I have to exit the app and restart it to tag an entry successfully.

Thanks for your attention to this,
Rod.

category list and preview doesn't work for turkish locale

Originally reported by burcin at https://bugs.launchpad.net/bugs/841698 (2011-09-05T10:12:16Z):


I get the following traceback in the categories window on the right when I start rednotebook:

2011-09-05 11:58:09,350 ERROR Sorry! Txt2tags aborted by an unknown error.
Please send the following Error Traceback to the author ():

Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/rednotebook/util/markup.py", line 266, in convert_to_pango
body, toc = txt2tags.convert(txt, config)
File "/usr/lib64/python2.7/site-packages/rednotebook/external/txt2tags.py", line 5181, in convert
line = add_inline_tags(line)
File "/usr/lib64/python2.7/site-packages/rednotebook/external/txt2tags.py", line 4679, in add_inline_tags
if regex['font%s'%beauti.capitalize()].search(line):
KeyError: 'fontitalic'

The preview button on the toolbar and the categories cloud also displays this.

Here is the top of rednotebook.log:

2011-09-05 11:58:08,895 DEBUG sys.stdout logging level: 20
2011-09-05 11:58:08,896 INFO Writing log to file "/home/rrednb/.rednotebook/
rednotebook.log"
2011-09-05 11:58:09,038 INFO Running in portable mode: False
2011-09-05 11:58:09,038 INFO First Start: True
2011-09-05 11:58:09,039 INFO RedNotebook version: 1.1.8
2011-09-05 11:58:09,045 INFO System info: machine: x86_64, platform: Linux-2
.6.38-tuxonice-r2-x86_64-Intel-R-_Core-TM-i7_CPU_Q_740@_1.73GHz-with-gentoo-2.
0.3, processor: Intel(R) Core(TM) i7 CPU Q 740 @ 1.73GHz, python_version: 2.7.1,
release: 2.6.38-tuxonice-r2, system: Linux, GTK version: (2, 24, 4), PyGTK vers
ion: (2, 24, 0), Yaml version: 3.09
2011-09-05 11:58:09,199 INFO Using webkit for previews: 1
2011-09-05 11:58:09,276 INFO Cloud ignore list: [u'15.00', u'about', u'autho
r', u'based', u'comma', u"don't", u'filter', u'instead', u'might', u'separated',
u'should', u'structures', u'there', u'these', u'words']
2011-09-05 11:58:09,276 INFO Cloud include list: [u'job', u'mtv', u'play', u
'spam', u'work']
2011-09-05 11:58:09,276 INFO Using pywebkitgtk for the clouds.
2011-09-05 11:58:09,294 DEBUG Tray icon visible: False
2011-09-05 11:58:09,295 INFO Using zeitgeist: False

Here is the locale for this user:

LANG=en_US.UTF-8
LC_CTYPE=C
LC_NUMERIC="en_US.UTF-8"
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=tr_TR.UTF-8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=tr_TR.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Garbage in Date/Time

Originally reported by vanquish-box at https://bugs.launchpad.net/bugs/775269 (2011-05-02T01:37:14Z):


I am new to RedNotebook, I think its going to be a very useful app if only the date/time could show properly.
I just cannot get the Date/Time to display properly.
Here is a screenshot of what i mean:
http://screencast.com/t/gLc4fauQ
(I think %A is not showing up properly... unicode problem?)

My OS is Winxp SP3, Japanese ver. Locale is Tokyo.

Double clicking search results broken for single digit months

Originally reported by erik-simmler at https://bugs.launchpad.net/bugs/312988 (2009-01-01T20:48:57Z):


When I create a note and then search for a word, the results come up properly. However in virtually every case double clicking them either takes me to the wrong day, or doesn't do anything at all.

For example, the result for the note created today (Jan 1st 2009) takes me to Oct 1st 2009.
As far as I can tell, any dates that have a two digit month (10, 11, 12) work properly. All other months do not.

Hope this helps, the app looks very promising so far!

rednotebook crashes when launched

Originally reported by anielkis at https://bugs.launchpad.net/bugs/424550 (2009-09-04T19:52:23Z):


rednotebook crashes when launched with this error:

INFO Writing log to file "/home/shadow/.rednotebook/rednotebook.log"
INFO Using libyaml for loading and dumping
INFO AppDir: /usr/lib/python2.6/site-packages/rednotebook
INFO BaseDir: /usr/lib/python2.6/site-packages
INFO The config file /usr/lib/python2.6/site-packages/rednotebook/files/default.cfg was read
INFO The config file /home/shadow/.rednotebook/configuration.cfg was read
INFO Running in portable mode: 0
INFO First Start: False
INFO RedNotebook version: 0.8.6
INFO System info: machine: i686, platform: Linux-2.6.31-rc8-i686-Intel-R-_Core-TM-Duo_CPU_T2350@_1.86GHz-with-gentoo-2.0.0, processor: Intel(R) Core(TM) Duo CPU T2350 @ 1.86GHz, python_version: 2.6.2, release: 2.6.31-rc8, system: Linux, GTK version: (2, 17, 9), PyGTK version: (2, 16, 0), Yaml version: 3.08,
ERROR An error occured while loading the GUI: ID «cellrenderertext2» of duplicated object on line 562 (before on line 162)
ERROR RedNotebook requires at least gtk+ 2.14. If you cannot update gtk, you might want to try an older version of RedNotebook.

"Unknown encoding" error when launching Rednotebook

Originally reported by vmmlog at https://bugs.launchpad.net/bugs/1348008 (2014-07-24T03:07:32Z):


Below is the log displayed when running Rednotebook from command line. FYI, I use Tamil (ta) as system language.
I could make the rednotebook run successfully by changing line no. 61 to "locale_encoding = 'UTF-8'" in "/usr/share/rednotebook/rednotebook/util/dates.py". Let us fix this permanently.

INFO Writing log to file "/home/murali/.rednotebook/rednotebook.log"
INFO MathJax location: http://cdn.mathjax.org/mathjax/latest/MathJax.js
INFO Running in portable mode: False
INFO First Start: False
INFO RedNotebook version: 1.4.0
INFO System info: machine: x86_64, platform: Linux-3.13.0-30-generic-x86_64-with-Ubuntu-14.04-trusty, processor: x86_64, python_version: 2.7.6, release: 3.13.0-30-generic, system: Linux, GTK version: (2, 24, 23), PyGTK version: (2, 24, 0), Yaml version: 3.10
Traceback (most recent call last):
File "/usr/bin/rednotebook", line 12, in
rednotebook.journal.main()
File "/usr/share/rednotebook/rednotebook/journal.py", line 606, in main
journal = Journal()
File "/usr/share/rednotebook/rednotebook/journal.py", line 244, in init
self.frame = MainWindow(self)
File "/usr/share/rednotebook/rednotebook/gui/main_window.py", line 130, in init
self.export_assistant = ExportAssistant(self.journal)
File "/usr/share/rednotebook/rednotebook/gui/exports.py", line 333, in init
self.page3 = ContentsPage(self.journal, self)
File "/usr/share/rednotebook/rednotebook/gui/exports.py", line 126, in init
self.date_format = options.DateFormatOption(_('Date format'), 'exportDateFormat')
File "/usr/share/rednotebook/rednotebook/gui/options.py", line 175, in init
self.on_format_changed(None)
File "/usr/share/rednotebook/rednotebook/gui/options.py", line 179, in on_format_changed
date_string = dates.format_date(format_string)
File "/usr/share/rednotebook/rednotebook/util/dates.py", line 62, in format_date
date_string = date_string.decode(locale_encoding, 'replace')
LookupError: unknown encoding: TSCII-0

Spell checking

Originally reported by kirush-nm at https://bugs.launchpad.net/bugs/1331876 (2014-06-19T01:20:10Z):


OS: Windows 7
Version: 1.8.0
Problem: does not work the spell checker. Absolutely. Corresponding menu item is not active, despite the set to the appropriate folder dictionaries. I think this is a mistake.
Q: how to fix it?

p.s. Translated by Google Translator.

RedNotebook crashes on startup

Originally reported by jensck at https://bugs.launchpad.net/bugs/320492 (2009-01-23T15:29:22Z):


I'm really excited to try RedNotebook, esp with the new PyGTK interface, but it crashes on startup. :-(

When I run it from the command line I get this:

[jensck@Prodigal rednotebook]$ python redNotebook.py
AppDir: /home/jensck/Download/rednotebook-0.5.1/rednotebook
BaseDir: /home/jensck/Download/rednotebook-0.5.1
Adding BaseDir to sys.path
1f1686cb-8a09-36ba-344fd0bd-4cd5d491 is dumped
[jensck@Prodigal rednotebook]$

As for my machine, I'm using a "vanilla" Fedora 10 install with all updates as of Jan 23rd. Hardware is a Dell e1505 intel 945 chipset & Core Duo CPU, plenty of RAM & HDD space.

I'm not sure how valuable this will be, but Bug Buddy produced a dump of some info to send, which I'm attaching.

Latest update causes crash on startup

Originally reported by junkmailcentral2008 at https://bugs.launchpad.net/bugs/1094197 (2012-12-28T07:56:24Z):


After updating to version 1.6.5, I am receiving this error on startup:

The procedure entry point _except_handler4_common could not be located in the dynamic link library msvcrt.dll.

I've tried to roll back to the previous version, but the error persists...

Here is the rednotebook.exe.log:

Traceback (most recent call last):
File "rednotebook", line 11, in
File "rednotebook\journal.pyc", line 78, in
File "rednotebook\util\utils.pyc", line 30, in
File "gtk_init_.pyc", line 40, in
File "gtk_gtk.pyc", line 12, in
File "gtk_gtk.pyc", line 10, in _load
ImportError: DLL load failed: The specified procedure could not be found.
Traceback (most recent call last):
File "rednotebook", line 11, in
File "rednotebook\journal.pyc", line 78, in
File "rednotebook\util\utils.pyc", line 30, in
File "gtk_init
.pyc", line 40, in
File "gtk_gtk.pyc", line 12, in
File "gtk_gtk.pyc", line 10, in _load
ImportError: DLL load failed: The specified procedure could not be found.
Traceback (most recent call last):
File "rednotebook", line 11, in
File "rednotebook\journal.pyc", line 78, in
File "rednotebook\util\utils.pyc", line 30, in
File "gtk_init
.pyc", line 40, in
File "gtk_gtk.pyc", line 12, in
File "gtk_gtk.pyc", line 10, in _load
ImportError: DLL load failed: The specified procedure could not be found.
Traceback (most recent call last):
File "rednotebook", line 11, in
File "rednotebook\journal.pyc", line 77, in
File "rednotebook\util\utils.pyc", line 30, in
File "gtk_init
.pyc", line 40, in
File "gtk_gtk.pyc", line 12, in
File "gtk_gtk.pyc", line 10, in _load
ImportError: DLL load failed: The specified procedure could not be found.
Traceback (most recent call last):
File "rednotebook", line 11, in
File "rednotebook\journal.pyc", line 77, in
File "rednotebook\util\utils.pyc", line 30, in
File "gtk_init
.pyc", line 40, in
File "gtk_gtk.pyc", line 12, in
File "gtk_gtk.pyc", line 10, in _load
ImportError: DLL load failed: The specified procedure could not be found.
Traceback (most recent call last):
File "rednotebook", line 11, in
File "rednotebook\journal.pyc", line 78, in
File "rednotebook\util\utils.pyc", line 30, in
File "gtk_init
.pyc", line 40, in
File "gtk_gtk.pyc", line 12, in
File "gtk_gtk.pyc", line 10, in __load
ImportError: DLL load failed: The specified procedure could not be found.

Crashes with "python" text in journal files

Originally reported by malkies-mynaardt at https://bugs.launchpad.net/bugs/1158642 (2013-03-22T05:27:36Z):


It looks like other people are having trouble with this one too. RedNotebook would close as soon as I started it. If I deleted the ~/.rednotebook directory, then it would run. But when I tried opening one of my regular journals it crashed again.

I checked the ~/.rednotebook/rednotebook.log file and found out that the app was crashing when any of the TXT files in the journal contained "!!python/unicode ".

I don't know about anyone else, but all the files I had with this "!!python/unicode " business were from 2011 or earlier. And it was most of those older files, but not all of them. I then used the gedit editor to replace all instances of "!!python/unicode " with a null string (""). It took a while because I had to check every single TXT file, and I've been using RedNotebook for some time for different topical journals.

Anyway... Once I had removed ALL instances of "!!python/unicode " from each TXT file, RedNotebook then worked just fine for those directories that were crashing.

I hope that helps someone out there. I have no idea why or how this problem began, though.

Enter clears Search if search expression contains certain characters

Originally reported by dolgener at https://bugs.launchpad.net/bugs/1430697 (2015-03-11T09:33:30Z):


By chance I noticed today, that rednotebook's search functionality isn't that reliable as one would suppose.
Persons used to finish a search by pressing may get false-negative results if the search expression contains an umlaut.

Steps to reproduce:
(1) Add some text, e.g. "Mrs. Späth has joined for a test." to one or more days' journal.
(2) Search for "Sp". You will find find (at least) the dates modified in (1).
(3a) Type "Späth" into the search field: On Windows you will see the expected result quite instantely, not so on Linux, as find-as-you type is much more slow there.
(3b) Now press , as you might intuitively would when finishing your search: The search results are CLEARED.

Hence, the phenomenon seems to be related to umlaut characters (LETTER A|O|U WITH DIAERESIS). Replace "Späth" by "darüber" or "Lösung" and experience identical behavior.

Interestingly, "ß" (LATIN SMALL LETTER SHARP S) does not behave that way!

I have reproduced all that on four different machines, two of them with a fresh install to exclude data files' corruption as possible cause.

Versions affected:
1.8.1 on Linux Debian/testing (3.16.0-4-amd64) running on Python 2.7.9 (two machines tested)
1.4.0 on Linux Ubuntu 14.04 LTS ( 3.13.0-24-generic #46-Ubuntu SMP) running on Python 2.7.6 (one tested)
1.9.0 on Windows 7 64bit (running on its own python included) (one tested)

RNB@Win won't open config window

Originally reported by a-ztech at https://bugs.launchpad.net/bugs/696186 (2011-01-01T10:05:13Z):


See subject.
RedNotebook 1.1.2, Windows XP RUS.

It seems to me that the trouble s hidden in some troubles concerning character encodings.
The default charset for Russian Windows is CP1251, while the charset used by rednotebook, I'm absolutely sure, is UTF-8.
The funny thing is, Cyrillic characters have the same charcodes as UTF-8 control symbols. Perhaps that is the reason, since there are Russian characters to be inserted into the config by default, thanks to my translation. Thus, they are transcoded into some garbage which even I cannot read.

The rest of the program works fine so far.

The current configuration.cfg is attached to this bug report.

RNB Fails to Start on Ubuntu 16.04

Originally reported by belkinsa at https://bugs.launchpad.net/bugs/1574920 (2016-04-26T01:33:42Z):


When I try to start it via the source code from Github (the latest) on Ubuntu 16.04, it tells me that I don't have python-gtkspell installed. I tired and it turns out that python-gtkspell doesn't have a release candidate on 16.04.

can't insert template

Originally reported by mslugyfw at https://bugs.launchpad.net/bugs/538391 (2010-03-13T10:49:53Z):


rednotebook 0.9.3 windows
Nothing happened after click the insert template icon.

rednotebook.log

INFO Writing log to file "C:\Documents and Settings\neo.rednotebook\rednotebook.log"
ERROR 'module' object has no attribute 'bindtextdomain'
INFO Using libyaml for loading and dumping
INFO AppDir: C:\Program Files\RedNotebook
INFO BaseDir: C:\Program Files
INFO Adding BaseDir to sys.path
INFO webkit not found. For a nicer preview install python-webkit or pywebkitgtk
INFO The config file C:\Program Files\RedNotebook\files\default.cfg was read
INFO The config file C:\Documents and Settings\neo.rednotebook\configuration.cfg was read
INFO Running in portable mode: 0
INFO First Start: False
INFO RedNotebook version: 0.9.3
INFO System info: machine: x86, platform: Windows-XP-5.1.2600-SP2, processor: x86 Family 6 Model 15 Stepping 13, GenuineIntel, python_version: 2.6.4, release: XP, system: Windows, GTK version: (2, 16, 6), PyGTK version: (2, 16, 0), Yaml version: 3.09,
INFO Using webkit: None
WARNING pywebkitgtk is not installed. You may experience errors
INFO Cloud ignore list: ['comma', 'filter', 'separated', 'these', 'words']
INFO Cloud include list: ['job', 'mtv', 'play', 'spam', 'work']
INFO Using zeitgeist: False
INFO Opening journal at C:\Documents and Settings\neo.rednotebook\data
INFO Connected Signals: 2 22 15
INFO Trying to save the journal
INFO Nothing to save
INFO Goodbye!
s not installed. You may experience errors
2010-03-13 18:56:26,187 INFO Cloud ignore list: ['comma', 'filter', 'separated', 'these', 'words']
2010-03-13 18:56:26,187 INFO Cloud include list: ['job', 'mtv', 'play', 'spam', 'work']
2010-03-13 18:56:26,217 DEBUG Tray icon visible: False
2010-03-13 18:56:26,217 INFO Using zeitgeist: False
2010-03-13 18:56:26,217 INFO Opening journal at C:\Documents and Settings\neo.rednotebook\data
2010-03-13 18:56:26,217 DEBUG Starting to load files in dir "C:\Documents and Settings\neo.rednotebook\data"
2010-03-13 18:56:26,217 DEBUG Start loading file "C:\Documents and Settings\neo.rednotebook\data\2010-03.txt"
2010-03-13 18:56:26,233 DEBUG Finished loading file "C:\Documents and Settings\neo.rednotebook\data\2010-03.txt"
2010-03-13 18:56:26,233 DEBUG Finished loading files in dir "C:\Documents and Settings\neo.rednotebook\data"
2010-03-13 18:56:26,265 DEBUG Update the cloud (Type: word, Force: True)
2010-03-13 18:56:26,265 DEBUG Retrieved WordCountDict. Length: 274
2010-03-13 18:56:26,265 DEBUG Turning the wordCountDict into html
2010-03-13 18:56:26,265 DEBUG Length wordCountDict: 274
2010-03-13 18:56:26,265 DEBUG Filtered short words. Length wordCountDict: 145
2010-03-13 18:56:26,265 DEBUG Filtered blacklist words. Length wordCountDict: 145
2010-03-13 18:56:26,265 DEBUG Selected most frequent words. Length CloudWords: 42
2010-03-13 18:56:26,265 DEBUG Min word count: 1, Max word count: 10
2010-03-13 18:56:26,265 DEBUG Sorted cloud words. Length CloudWords: 42
2010-03-13 18:56:26,265 DEBUG 42 cloud words found
2010-03-13 18:56:26,280 DEBUG Cloud updated
2010-03-13 18:56:26,296 INFO Connected Signals: 2 22 15
2010-03-13 18:56:26,296 DEBUG Start took 1.09299993515 seconds
2010-03-13 18:56:26,296 DEBUG Trying to enter the gtk main loop
C:\Program Files\RedNotebook\rednotebook.exe\rednotebook\redNotebook.py:997: PangoWarning: couldn't load font "Tahoma Ultra-Bold Small-Caps 17.279296875", falling back to "Sans Ultra-Bold Small-Caps 17.279296875", expect ugly output.
C:\Program Files\RedNotebook\rednotebook.exe\rednotebook\redNotebook.py:997: PangoWarning: couldn't load font "Sans Ultra-Bold Small-Caps 17.279296875", falling back to "Sans 17.279296875", expect ugly output.
Traceback (most recent call last):
File "rednotebook\gui\mainWindow.pyc", line 612, in on_templateMenu_clicked
File "rednotebook\templates.pyc", line 189, in get_weekday_text
File "rednotebook\templates.pyc", line 175, in get_text
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data
2010-03-13 18:56:32,655 INFO Trying to save the journal
2010-03-13 18:56:32,655 INFO Nothing to save
2010-03-13 18:56:32,655 INFO Goodbye!

configuration.cfg

checkForNewVersion=0
cloudIgnoreList=comma, filter, separated, these, words
spellcheck=0
rightDividerPosition=479
cloudIncludeList=job, mtv, play, spam, work
closeToTray=0
mainFontSize=-1
mainFrameWidth=1024
dataDir=C:\Documents and Settings\neo.rednotebook\data
useWebkit=0
dateTimeString=%A, %x %X
mainFrameHeight=768
leftDividerPosition=292

Data loss by running multiple instances

Originally reported by botanicus at https://bugs.launchpad.net/bugs/771396 (2011-04-26T18:13:10Z):


If Rednotebook is configured to automatically start at login ("[x] Load RedNotebook at system start" [de="RedNotebook beim Systemstart laden"]), multiple instances will run in subsequent sessions (likely caused by KDE's session management). Accordingly, two icons will be displayed in system tray area. However, this is likely to be hidden or overlooked.

If you don't realize this, at the end of your session that instance of RedNotebook which closes last will silently overwrite the whole journal. As multiple instances running on the same journal won't update each other and even don't notice updated yournal files (as kate would do, for instance), there is no warning at all. At worst, all of your editing work of the complete session might irrevocably be thrashed.

Therefore, RedNotebook should either generally refuse to operate in multiple instances on the same dataDir, or at least have a configuration option to prevent this behaviour.

checkForNewVersion=0
closeToTray=1
cloudIgnoreList=category, diese, entries, entry
cloudIncludeList=job, juli, mtv, spam
cloudTabActive=0
dataDir=/home/username/.rednotebook/data
dateTimeString=%A, %x %X
leftDividerPosition=328
mainFontSize=-1
mainFrameHeight=768
mainFrameMaximized=0
mainFrameWidth=1176
mainFrameX=125
mainFrameY=164
rightDividerPosition=512
spellcheck=0
useWebkit=1
userDir=
weekNumbers=0

0.9.5 crashes on start when data path not start path

Originally reported by develop-hollandnumerics at https://bugs.launchpad.net/bugs/581646 (2010-05-17T10:01:50Z):


Trying to run RedNotebook 0.9.5 on:
OS=Windows 7 Ultimate 64-bit
Program path=G:\Program Files (x86)\RedNotebook
Data path=e:\phil\Documents\HNL\EeePC\RedNotebook\data
Portable=1

Rednotbook window briefly appears, then disappears.

ValueError: program path on g:, data path on e:

Need to access data, so have backed out 0.9.5 and restored 0.8.6.

$HOME/.rednotebook/configuration.cfg

checkForNewVersion=0
cloudIgnoreList=comma, filter, separated, these, words
spellcheck=1
rightDividerPosition=500
closeToTray=0
mainFontSize=-1
mainFrameWidth=1024
dataDir=e:\phil\Documents\HNL\EeePC\RedNotebook\data
dateTimeString=%d%b%Y
mainFrameHeight=746
leftDividerPosition=260
portable=1

run.py crashed with OSError in save_months_to_disk()

Originally reported by a-ztech at https://bugs.launchpad.net/bugs/1128285 (2013-02-17T18:25:24Z):


ExecutablePath:
/usr/share/rednotebook/run.py

Package:
rednotebook 1.6.6-1~getdeb1 [Origin: GetDeb]

ProblemType:
Crash

Title:
run.py crashed with OSError in save_months_to_disk(): [Errno 1] Operation not allowed: '/path/to/rednotebook/2013-02.txt'

What is strange about this bug:
RedNotebook pops up this alarm via standard Ubuntu interface every time I save the journal. The thing is, RNB does not crash, it is still operational, and it saves all the files perfectly.
My files are stored on an NTFS Windows partition.

Segmentation fault on startup

Originally reported by drasey at https://bugs.launchpad.net/bugs/340101 (2009-03-09T19:11:29Z):


I think this might be separate from 320492.

Using 0.6.1 on Ubuntu Jaunty, I receive a Seg Fault when trying to start RedNotebook.

AppDir: /usr/local/lib/python2.6/dist-packages/rednotebook
BaseDir: /usr/local/lib/python2.6/dist-packages
location: /usr/lib/xulrunner-1.9.0.7/libxpcom.so
before 3
First Start: False
The config file /usr/local/lib/python2.6/dist-packages/rednotebook/files/default.cfg was read
The config file /home/drasey/.rednotebook/configuration.cfg was read
Configuration has been saved
The environment variable LD_LIBRARY_PATH has value /usr/lib/xulrunner-1.9
The environment variable MOZILLA_FIVE_HOME has value /usr/lib/xulrunner-1.9
/usr/local/lib/python2.6/dist-packages/rednotebook/gui/mainWindow.py:70: GtkWarning: gtk_toolbar_set_icon_size: assertion icon_size != GTK_ICON_SIZE_INVALID' failed self.wTree = gtk.glade.XML(self.gladefile) /usr/local/lib/python2.6/dist-packages/rednotebook/gui/mainWindow.py:330: Warning: g_object_ref: assertion G_IS_OBJECT (object)' failed
edit_toolbar.insert(single_menu_toolbutton, -1)
Segmentation fault (core dumped)

I've tried changing both the xulrunner path & disabling it (useGTKMozembed=0), in both configs (~/.rednotebook/configuration.cfg & /usr/local/lib/python2.6/dist-packages/rednotebook/files/default.cfg), to no avail.

I've also tried using python 2.5, similar result (though I'm not sure if I properly removed everything from python2.6)

v0.5.6 seems to startup fine (was this pre-PyGTK?)

No spell-checking at WinXP

Originally reported by entrup at https://bugs.launchpad.net/bugs/1146946 (2013-03-05T14:05:35Z):


I installed RedNotebook 1.7.1 at WinXP and tried to use the new spell-checking feature. But it does not work. I tested with RedNotebookPortable and with rednotebook-1.7.1.exe from sourceforge.

Observations:

  1. When switching on spell-checking (by [F7] or menu entry) nothing happens. The content menu shows only the default entries "cut", "copy", "paste", "delete" and "select all".

  2. The folder enchant and its subfolder contain no dictionary files. Searching the RNB directory for ".dic", ".dict", "en" and "de" lists no dictionary files, too.

Blank enteries when exported

Originally reported by strider1551-gmail at https://bugs.launchpad.net/bugs/314385 (2009-01-06T14:26:31Z):


At least the txt and pdf exports will list a date with no content.

Steps to reproduce:

  1. Click on a day that hasn't yet been viewed (i.e. has no content).
  2. Without typing anything for that day, move back to any other day.
  3. Save and export.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.