Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.io.image bob.io.image
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.io.imagebob.io.image
  • Issues
  • #16
Closed
Open
Issue created Aug 18, 2016 by André Anjos@andre.anjos💬Owner

If an extension is not registered, ``bob.io.base.load`` with crash the Python interpreter

The following script will reproduce the issue:

$ touch test.jpg

And then the script that will cause the crash:

import bob.io.base
bob.io.base.load('test.jpg')

Result:

$ python test.py
terminate called after throwing an instance of 'std::runtime_error'
  what():  unregistered extension: .jpg
Aborted (core dumped)

Expected result: Script is interrupted with a Python exception and does not core dump.

Assignee
Assign to
Time tracking