lacked installation data in setup.py

Bug #1027077 reported by Toshiharu Kudoh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RedNotebook
Fix Released
High
Jendrik Seipp

Bug Description

I made and installed rednotebook-1.5.0 rpm package.
But rednotebook-1.5.0 did not running, occured following error.

[toshi@localhost]$ rednotebook INFO Writing log to file "/home/toshi/.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.5.0
INFO System info: machine: i686, platform: Linux-3.4.5-1vl7-i686-with-glibc2.0, processor: i686, python_version: 2.7.3, release: 3.4.5-1vl7, system: Linux, GTK version: (2, 24, 11), PyGTK version: (2, 24, 0), Yaml version: 3.10
Traceback (most recent call last):
  File "/usr/bin/rednotebook", line 12, in <module>
    rednotebook.journal.main()
  File "/usr/lib/python2.7/site-packages/rednotebook/journal.py", line 602, in main
    journal = Journal()
  File "/usr/lib/python2.7/site-packages/rednotebook/journal.py", line 242, in __init__
    self.frame = MainWindow(self)
  File "/usr/lib/python2.7/site-packages/rednotebook/gui/main_window.py", line 76, in __init__
    'rednotebook.svg'))
glib.GError: Failed to open file '/usr/lib/python2.7/site-packages/rednotebook/images/rednotebook-icon/rednotebook.svg': No such file or directory

To solve this problem, I made provisional patch for setup.py.
--- rednotebook-1.5.0/setup.py.orig 2012-07-19 22:47:59.000000000 +0900
+++ rednotebook-1.5.0/setup.py 2012-07-20 21:21:01.972101873 +0900
@@ -142,6 +142,7 @@
                                        'rednotebook.gui', 'rednotebook.util'],
                 'package_data' : {'rednotebook':
                                        ['images/*.png', 'images/rednotebook-icon/*.png',
+ 'images/rednotebook-icon/rednotebook.svg',
                                         'files/*.css', 'files/*.glade', 'files/*.cfg']},
                 'data_files' : [],
                 'cmdclass' : cmdclass,

Revision history for this message
Jendrik Seipp (jendrikseipp) wrote :

Thanks for the hint! I fixed this in trunk and uploaded a new tar.gz (with the same name...).

Changed in rednotebook:
status: New → Fix Released
assignee: nobody → Jendrik Seipp (jendrikseipp)
importance: Undecided → High
Revision history for this message
Toshiharu Kudoh (toshi-kd2) wrote :

I got new source, and confirmed fixing a bug.
Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.