Skip to content
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

shelve not working in real world #210

Closed
al-niessner opened this issue Jul 28, 2023 · 0 comments · Fixed by #211
Closed

shelve not working in real world #210

al-niessner opened this issue Jul 28, 2023 · 0 comments · Fixed by #211
Assignees
Labels
bug Something isn't working dawgie.db located in dawgie.db (database) package
Milestone

Comments

@al-niessner
Copy link
Owner

$ python3 -m dawgie.db.tools.post2shelve -O /proj/data/${USER}/db
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.10/dist-packages/dawgie/db/tools/post2shelve.py", line 259, in <module>
    main(args.all, args.output_path)
  File "/usr/local/lib/python3.10/dist-packages/dawgie/db/tools/post2shelve.py", line 208, in main
    target_k = convert_target_db(conn, f'{basefn}..target')
  File "/usr/local/lib/python3.10/dist-packages/dawgie/db/tools/post2shelve.py", line 151, in convert_target_db
    tdb[r[0]] = len(i)
TypeError: object of type 'int' has no len()
@al-niessner al-niessner added bug Something isn't working dawgie.db located in dawgie.db (database) package labels Jul 28, 2023
@al-niessner al-niessner added this to the 1.4.1 milestone Jul 28, 2023
@al-niessner al-niessner self-assigned this Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dawgie.db located in dawgie.db (database) package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant