Skip to content

sqlite error if running khal without first running khal --sync #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
catern opened this issue Dec 30, 2013 · 1 comment
Closed

sqlite error if running khal without first running khal --sync #7

catern opened this issue Dec 30, 2013 · 1 comment

Comments

@catern
Copy link

catern commented Dec 30, 2013

If khal or ikhal is run without first running khal --sync, a user will get an error looking something like the following.

Traceback (most recent call last):
  File "/home/catern/src/khal/virt/bin/khal", line 5, in <module>
    pkg_resources.run_script('khal==0.1.0.dev', 'khal')
  File "/home/catern/src/khal/virt/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/catern/src/khal/virt/lib/python2.7/site-packages/pkg_resources.py", line 1462, in run_script
    exec_(script_code, namespace, namespace)
  File "/home/catern/src/khal/virt/lib/python2.7/site-packages/pkg_resources.py", line 41, in exec_
    exec("""exec code in globs, locs""")
  File "<string>", line 1, in <module>
  File "/home/catern/src/khal/virt/lib/python2.7/site-packages/khal-0.1.0.dev-py2.7.egg/EGG-INFO/scripts/khal", line 72, in <module>

  File "build/bdist.linux-x86_64/egg/khal/controllers.py", line 178, in __init__
  File "build/bdist.linux-x86_64/egg/khal/backend.py", line 440, in get_allday_range
  File "build/bdist.linux-x86_64/egg/khal/backend.py", line 164, in sql_ex
sqlite3.OperationalError: no such table: simple_d
@geier
Copy link
Member

geier commented Jan 2, 2014

I agree, a more informative error message would be really nice.

geier added a commit that referenced this issue Jan 21, 2014
@geier geier closed this as completed Jan 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants