Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **OpenLP Bug Report**
- Version: {'full': '2.2.1', 'version': '2.2.1', 'build': None}
- --- Details of the Exception. ---
- cannot save edit or create new songs to the app now. its screwed.
- 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
- --- Exception Traceback ---
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 867, in _execute_context
- context)
- File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 326, in do_execute
- cursor.execute(statement, parameters)
- sqlite3.OperationalError: attempt to write a readonly database
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/share/openlp/openlp/plugins/songs/forms/editsongform.py", line 945, in accept
- self.save_song()
- File "/usr/share/openlp/openlp/plugins/songs/forms/editsongform.py", line 1002, in save_song
- self.manager.save_object(self.song)
- File "/usr/share/openlp/openlp/core/lib/db.py", line 267, in save_object
- self.session.commit()
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/scoping.py", line 149, in do
- return getattr(self.registry(), name)(*args, **kwargs)
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 721, in commit
- self.transaction.commit()
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 354, in commit
- self._prepare_impl()
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 334, in _prepare_impl
- self.session.flush()
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 1818, in flush
- self._flush(objects)
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 1936, in _flush
- transaction.rollback(_capture_exception=True)
- File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
- compat.reraise(exc_type, exc_value, exc_tb)
- File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 184, in reraise
- raise value
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 1900, in _flush
- flush_context.execute()
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/unitofwork.py", line 372, in execute
- rec.execute(self)
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/unitofwork.py", line 525, in execute
- uow
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/persistence.py", line 64, in save_obj
- table, insert)
- File "/usr/lib/python3/dist-packages/sqlalchemy/orm/persistence.py", line 569, in _emit_insert_statements
- execute(statement, params)
- File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 662, in execute
- params)
- File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 761, in _execute_clauseelement
- compiled_sql, distilled_params
- File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 874, in _execute_context
- context)
- File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1024, in _handle_dbapi_exception
- exc_info
- File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 188, in raise_from_cause
- reraise(type(exception), exception, tb=exc_tb, cause=exc_value)
- File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 183, in reraise
- raise value.with_traceback(tb)
- File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 867, in _execute_context
- context)
- File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 326, in do_execute
- cursor.execute(statement, parameters)
- 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)
- --- System information ---
- Platform: Linux-4.4.0-116-generic-i686-with-LinuxMint-17.3-rosa
- Desktop: Xfce
- --- Library Versions ---
- Python: 3.4.3
- Qt4: 4.8.6
- Phonon: 4.7.80
- PyQt4: 4.10.4
- QtWebkit: 537.21
- SQLAlchemy: 0.8.4
- SQLAlchemy Migrate: -
- BeautifulSoup: 4.2.1
- lxml: 3.3.3
- Chardet: 2.2.1
- PyEnchant: 1.6.5
- Mako: 0.9.1
- pyICU: 1.5
- pyUNO bridge: 5.0
- VLC: -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement