broker sometimes crashes with "cannot rollback - no transaction is active"

Bug #1896606 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Triaged
High
Unassigned

Bug Description

Sep 20 09:22:35 timburr git-ubuntu[2333458]: Traceback (most recent call last):
Sep 20 09:22:35 timburr git-ubuntu[2333458]: File "/snap/git-ubuntu/x8/bin/git-ubuntu", line 11, in <module>
Sep 20 09:22:35 timburr git-ubuntu[2333458]: load_entry_point('gitubuntu==1.0rc1', 'console_scripts', 'git-ubuntu')()
Sep 20 09:22:35 timburr git-ubuntu[2333458]: File "/snap/git-ubuntu/x8/lib/python3.6/site-packages/gitubuntu/__main__.py", line 279, in main
Sep 20 09:22:35 timburr git-ubuntu[2333458]: sys.exit(args.func(args))
Sep 20 09:22:35 timburr git-ubuntu[2333458]: File "/snap/git-ubuntu/x8/lib/python3.6/site-packages/gitubuntu/importer_service_broker.py", line 165, in cli_main
Sep 20 09:22:35 timburr git-ubuntu[2333458]: worker_broker_socket_address=args.worker_broker_socket_address,
Sep 20 09:22:35 timburr git-ubuntu[2333458]: File "/snap/git-ubuntu/x8/lib/python3.6/site-packages/gitubuntu/importer_service_broker.py", line 129, in main
Sep 20 09:22:35 timburr git-ubuntu[2333458]: main_loop(worker_socket, service_state) # never returns
Sep 20 09:22:35 timburr git-ubuntu[2333458]: File "/snap/git-ubuntu/x8/lib/python3.6/site-packages/gitubuntu/importer_service_broker.py", line 109, in main_loop
Sep 20 09:22:35 timburr git-ubuntu[2333458]: handle_reply(service_state, reply)
Sep 20 09:22:35 timburr git-ubuntu[2333458]: File "/snap/git-ubuntu/x8/lib/python3.6/site-packages/gitubuntu/importer_service_broker.py", line 77, in handle_reply
Sep 20 09:22:35 timburr git-ubuntu[2333458]: reply.identity,
Sep 20 09:22:35 timburr git-ubuntu[2333458]: File "/snap/git-ubuntu/x8/lib/python3.6/site-packages/gitubuntu/importer_service.py", line 108, in wrapper
Sep 20 09:22:35 timburr git-ubuntu[2333458]: self.db.execute('ROLLBACK')
Sep 20 09:22:35 timburr git-ubuntu[2333458]: sqlite3.OperationalError: cannot rollback - no transaction is active

Version: 1.0-rc1+git67.7afdac0

Tags: import
Robie Basak (racb)
summary: - broker sometimes crashes with
+ broker sometimes crashes with "cannot rollback - no transaction is
+ active"
tags: added: import
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.