Cannot Start RNB since last update

Asked by jean brard

Traceback (most recent call last):
  File "/usr/bin/rednotebook", line 6, in <module>
    import journal
ImportError: No module named 'journal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/rednotebook", line 11, in <module>
    import rednotebook.journal
  File "/usr/share/rednotebook/rednotebook/journal.py", line 48, in <module>
    from util import filesystem
ImportError: No module named 'util'

Question information

Language:
English Edit question
Status:
Solved
For:
RedNotebook Edit question
Assignee:
No assignee Edit question
Solved by:
Jendrik Seipp
Solved:
Last query:
Last reply:
Revision history for this message
Jendrik Seipp (jendrikseipp) said :
#1

Can you please post the complete output?

Revision history for this message
jean brard (j-brard) said :
#2

------------------------------------------------------------------------------
sudo gedit /usr/bin/rednotebook

#!/usr/bin/python3
# Allow running this script in source directory
try:
    # Load module from same directory
    import journal
    print ('Starting RedNotebook from the source directory')
    journal.main()
except ImportError:
    # Load installed module
    import rednotebook.journal
    rednotebook.journal.main()
------------------------------------------------------------------------------
Ubuntu 17.04
rednotebook version : 1.15-0~201704191257~ubuntu17.04.1
ppa:rednotebook/daily
same problem for : ppa:rednotebook/stable

Revision history for this message
Jendrik Seipp (jendrikseipp) said :
#3

Which version are you using?

Revision history for this message
Best Jendrik Seipp (jendrikseipp) said :
#4

The bug should be fixed now. Please fetch the newest deb package and try
again.

Revision history for this message
jean brard (j-brard) said :
#5

I was using : rednotebook version : 1.15-0~201704191257~ubuntu17.04.1
Yes the bug is fixed now 9:10 04/20/2017 Paris Time.
Thanks
Best regards

Revision history for this message
Jendrik Seipp (jendrikseipp) said :
#6

There should be a newer package in the PPA now:
1.15-0~201704192211~ubuntu17.04.1

Revision history for this message
jean brard (j-brard) said :
#7

Thanks Jendrik Seipp, that solved my question.

Revision history for this message
Dan Chay (danchay) said :
#8

Today I'm having much the same issue. RedNotebook won't launch for me. I'm using Windows 10. Uninstalled RNB, re-booted, and re-installed RNB 1.15. Still won't launch. If there is a log file, I don't see it.

Revision history for this message
Jendrik Seipp (jendrikseipp) said :
#9

This issue is unrelated since there is no GTK 3 Windows version for
RedNotebook, yet. You should find the logfile under
C:\Users\username\.rednotebook\rednotebook.log. If you can find it,
please paste the contents here.

Revision history for this message
Dan Chay (danchay) said :
#10

Thank you.

Here's my log file. I see it records my last successful use. RNB won't open for me this morning, either. -- Dan

***
2017-04-17 09:38:35,641 INFO Writing log to file "C:\Users\Administrator\.rednotebook\rednotebook.log"
2017-04-17 09:38:35,641 INFO System encoding: mbcs
2017-04-17 09:38:35,641 INFO Language code: en_US
2017-04-17 09:38:36,214 INFO chardet not found. 'utf-8' encoding will be assumed
2017-04-17 09:38:36,216 INFO Running in portable mode: False
2017-04-17 09:38:36,216 INFO First Start: False
2017-04-17 09:38:36,216 INFO RedNotebook version: 1.14
2017-04-17 09:38:36,221 INFO System info: machine: AMD64, platform: Windows-10-10.0.14393, processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel, python_version: 2.7.12, release: 10, system: Windows, GTK version: (2, 24, 10), PyGTK version: (2, 24, 0), Yaml version: 3.10
2017-04-17 09:38:36,536 DEBUG Default font: Sans 10
2017-04-17 09:38:36,536 DEBUG Default size: 10
2017-04-17 09:38:36,943 INFO Cloud ignore list: [u'#tags', u'and', u'comma', u'filter', u'separated', u'these', u'words']
2017-04-17 09:38:36,943 INFO Cloud include list: [u'job', u'mtv', u'play', u'spam', u'work']
2017-04-17 09:38:36,943 DEBUG Start compiling regexes
2017-04-17 09:38:36,944 DEBUG Finished
2017-04-17 09:38:37,006 DEBUG Tray icon visible: False
2017-04-17 09:38:37,009 INFO Opening journal at u'C:\\Users\\Administrator\\Dropbox\\CodingSysOpsJournal'
2017-04-17 09:38:37,009 DEBUG Starting to load files in dir "C:\Users\xxx\xxx\CodingSysOpsJournal"
2017-04-17 09:38:37,010 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2013-09.txt"
2017-04-17 09:38:37,013 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2013-10.txt"
2017-04-17 09:38:37,016 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-02.txt"
2017-04-17 09:38:37,017 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-03.txt"
2017-04-17 09:38:37,022 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-04.txt"
2017-04-17 09:38:37,023 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-05.txt"
2017-04-17 09:38:37,025 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-06.txt"
2017-04-17 09:38:37,030 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-08.txt"
2017-04-17 09:38:37,032 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-09.txt"
2017-04-17 09:38:37,035 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-10.txt"
2017-04-17 09:38:37,039 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-11.txt"
2017-04-17 09:38:37,042 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2015-12.txt"
2017-04-17 09:38:37,055 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-01.txt"
2017-04-17 09:38:37,071 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-02.txt"
2017-04-17 09:38:37,081 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-03.txt"
2017-04-17 09:38:37,082 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-04.txt"
2017-04-17 09:38:37,085 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-05.txt"
2017-04-17 09:38:37,089 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-06.txt"
2017-04-17 09:38:37,094 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-07.txt"
2017-04-17 09:38:37,099 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-08.txt"
2017-04-17 09:38:37,101 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-10.txt"
2017-04-17 09:38:37,104 DEBUG 2016-11.CONFLICT_BACKUP1480464631.01.txt is not a valid month filename
2017-04-17 09:38:37,105 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-11.txt"
2017-04-17 09:38:37,108 DEBUG 2016-12.CONFLICT_BACKUP1481083346.01.txt is not a valid month filename
2017-04-17 09:38:37,108 DEBUG 2016-12.CONFLICT_BACKUP1481086611.01.txt is not a valid month filename
2017-04-17 09:38:37,108 DEBUG 2016-12.CONFLICT_BACKUP1481338023.18.txt is not a valid month filename
2017-04-17 09:38:37,108 DEBUG 2016-12.CONFLICT_BACKUP1481338205.01.txt is not a valid month filename
2017-04-17 09:38:37,108 DEBUG 2016-12.CONFLICT_BACKUP1481338810.01.txt is not a valid month filename
2017-04-17 09:38:37,111 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2016-12.txt"
2017-04-17 09:38:37,114 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2017-01.txt"
2017-04-17 09:38:37,115 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2017-02.txt"
2017-04-17 09:38:37,118 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2017-03.txt"
2017-04-17 09:38:37,125 DEBUG Loading file "C:\Users\xxx\xxx\CodingSysOpsJournal\2017-04.txt"
2017-04-17 09:38:37,127 DEBUG images is not a valid month filename
2017-04-17 09:38:37,127 DEBUG Finished loading files in dir "C:\Users\xxx\xxx\CodingSysOpsJournal"
2017-04-17 09:38:37,372 INFO Connected Signals: [2, 22, 15]
2017-04-17 09:38:37,372 DEBUG Start took 1.15799999237 seconds
2017-04-17 09:38:37,372 DEBUG Trying to enter the gtk main loop
2017-04-17 09:38:37,479 DEBUG Update the cloud
2017-04-17 09:38:37,859 DEBUG Cloud updated
2017-04-17 09:38:37,861 INFO Last backup was made 16 days ago
2017-04-17 09:48:38,000 INFO Nothing to save
2017-04-17 09:58:38,000 INFO Nothing to save
2017-04-17 10:08:38,000 INFO Nothing to save
2017-04-17 10:18:38,000 INFO Nothing to save
2017-04-17 10:28:38,000 INFO Nothing to save
2017-04-17 10:38:38,000 INFO Nothing to save
2017-04-17 10:48:38,000 INFO Nothing to save
2017-04-17 10:58:38,000 INFO Nothing to save
2017-04-17 11:08:38,000 INFO Nothing to save
2017-04-17 11:18:38,000 INFO Nothing to save
2017-04-17 11:28:38,000 INFO Nothing to save
2017-04-17 11:38:38,000 INFO Nothing to save
2017-04-17 11:48:38,000 INFO Nothing to save
2017-04-17 11:58:38,000 INFO Nothing to save
2017-04-17 12:08:38,000 INFO Nothing to save
2017-04-17 12:18:38,000 INFO Nothing to save
2017-04-17 12:28:38,000 INFO Nothing to save
2017-04-17 12:38:38,000 INFO Nothing to save
2017-04-17 12:48:38,000 INFO Nothing to save
2017-04-17 12:58:38,000 INFO Nothing to save
2017-04-17 13:08:38,000 INFO Nothing to save
***

Revision history for this message
Jendrik Seipp (jendrikseipp) said :
#11

Since the log shows a successful run, it doesn't help us unfrotunately.
You could try starting RedNotebook from the command line.

Revision history for this message
Dan Chay (danchay) said :
#12

I found my self-induced error. Windows directory folder property for user/.rednotebook had been switched to hidden. Sheesh. Thanks for your willingness to help.