Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
beat.examples
beat.examples
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • beat
  • beat.examplesbeat.examples
  • Issues
  • #9

Closed
Open
Opened Apr 20, 2015 by Tiago de Freitas Pereira@tiago.pereira
  • Report abuse
  • New issue
Report abuse New issue

Problems with SQLite

This issue applies for database views that use xbob.dbs with SQLite.

After several fetches in the database (during the execution of the next method in the view), the SQLAlchemy raises the exception "Cannot operate on a closed database".

For some reason the connection with the database closes in the middle of the execution.

A workaround was done redefining (inside the view) the pool configuration to NullPool(http://docs.sqlalchemy.org/en/latest/core/pooling.html#sqlalchemy.pool.NullPool).

This works, but we have no clue what is going on.

This bug keeps track of this issue.

Assignee
Assign to
Tutorial for the FG2015 Conference
Milestone
Tutorial for the FG2015 Conference
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: beat/beat.examples#9