Advertisement
Guest User

Untitled

a guest
Jul 7th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 KB | None | 0 0
  1. **OpenLP Bug Report**
  2. Version: {'full': '2.2.1', 'version': '2.2.1', 'build': None}
  3.  
  4. --- Details of the Exception. ---
  5.  
  6. cannot save edit or create new songs to the app now. its screwed.
  7. i use openlp on a copmputer with Linux Mint 17.3. this is based on ubuntu 14.04 weird now its screwed and i cant even work with openlp now
  8.  
  9. --- Exception Traceback ---
  10. Traceback (most recent call last):
  11. File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 867, in _execute_context
  12. context)
  13. File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 326, in do_execute
  14. cursor.execute(statement, parameters)
  15. sqlite3.OperationalError: attempt to write a readonly database
  16.  
  17. The above exception was the direct cause of the following exception:
  18.  
  19. Traceback (most recent call last):
  20. File "/usr/share/openlp/openlp/plugins/songs/forms/editsongform.py", line 945, in accept
  21. self.save_song()
  22. File "/usr/share/openlp/openlp/plugins/songs/forms/editsongform.py", line 1002, in save_song
  23. self.manager.save_object(self.song)
  24. File "/usr/share/openlp/openlp/core/lib/db.py", line 267, in save_object
  25. self.session.commit()
  26. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/scoping.py", line 149, in do
  27. return getattr(self.registry(), name)(*args, **kwargs)
  28. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 721, in commit
  29. self.transaction.commit()
  30. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 354, in commit
  31. self._prepare_impl()
  32. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 334, in _prepare_impl
  33. self.session.flush()
  34. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 1818, in flush
  35. self._flush(objects)
  36. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 1936, in _flush
  37. transaction.rollback(_capture_exception=True)
  38. File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
  39. compat.reraise(exc_type, exc_value, exc_tb)
  40. File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 184, in reraise
  41. raise value
  42. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 1900, in _flush
  43. flush_context.execute()
  44. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/unitofwork.py", line 372, in execute
  45. rec.execute(self)
  46. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/unitofwork.py", line 525, in execute
  47. uow
  48. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/persistence.py", line 64, in save_obj
  49. table, insert)
  50. File "/usr/lib/python3/dist-packages/sqlalchemy/orm/persistence.py", line 569, in _emit_insert_statements
  51. execute(statement, params)
  52. File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 662, in execute
  53. params)
  54. File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 761, in _execute_clauseelement
  55. compiled_sql, distilled_params
  56. File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 874, in _execute_context
  57. context)
  58. File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1024, in _handle_dbapi_exception
  59. exc_info
  60. File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 188, in raise_from_cause
  61. reraise(type(exception), exception, tb=exc_tb, cause=exc_value)
  62. File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 183, in reraise
  63. raise value.with_traceback(tb)
  64. File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 867, in _execute_context
  65. context)
  66. File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 326, in do_execute
  67. cursor.execute(statement, parameters)
  68. sqlalchemy.exc.OperationalError: (OperationalError) attempt to write a readonly database 'INSERT INTO songs (song_book_id, title, alternate_title, lyrics, verse_order, copyright, comments, ccli_number, song_number, theme_name, search_title, search_lyrics, create_date, last_modified, "temporary") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ?)' (None, 'You Give Me Shelter', '', '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<song version="1.0"><lyrics><verse label="1" type="v"><![CDATA[You give me shelter\nYou give me peace\nYou give me comfort\nHealing release\n[---]\nThe peace and comfort\nOf the knowledge of God\nIn my heart]]></verse><verse label="2" type="v"><![CDATA[You healed my body\nReleased my mind\nYou set me free\nTo leave the past behind\n[---]\nThe peace and comfort\nOf the knowledge of God\nIn my heart]]></verse><verse label="1" type="p"><![CDATA[And no matter\nWhat life may bring\nThis peace in my heart\nJust makes me sing]]></verse><verse label="1" type="c"><![CDATA[You’re my God, Saviour Lord\nYou’re my God, King of Kings\nYou’re my God, Prince of peace\nAnd all the earth is gonna see\nThe glory of my God]]></verse></lyrics></song>', '', '', '', '', '', None, 'you give me shelter@', 'you give me shelter you give me peace you give me comfort healing release the peace and comfort of the knowledge of god in my heart you healed my body released my mind you set me free to leave the past behind the peace and comfort of the knowledge of god in my heart and no matter what life may bring this peace in my heart just makes me sing youre my god saviour lord youre my god king of kings youre my god prince of peace and all the earth is gonna see the glory of my god', 0)
  69.  
  70. --- System information ---
  71. Platform: Linux-4.4.0-116-generic-i686-with-LinuxMint-17.3-rosa
  72. Desktop: Xfce
  73.  
  74. --- Library Versions ---
  75. Python: 3.4.3
  76. Qt4: 4.8.6
  77. Phonon: 4.7.80
  78. PyQt4: 4.10.4
  79. QtWebkit: 537.21
  80. SQLAlchemy: 0.8.4
  81. SQLAlchemy Migrate: -
  82. BeautifulSoup: 4.2.1
  83. lxml: 3.3.3
  84. Chardet: 2.2.1
  85. PyEnchant: 1.6.5
  86. Mako: 0.9.1
  87. pyICU: 1.5
  88. pyUNO bridge: 5.0
  89. VLC: -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement