[GH-ISSUE #292] cannot import name in Debian 10.3 #191

Closed
opened 2026-02-27 15:57:41 +03:00 by kerem · 1 comment
Owner

Originally created by @rollopack on GitHub (Feb 10, 2020).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/292

After the upgrade at Debian 10.3 I get the following errors in create/views.py

cannot import name INSTANCE_VOLUME_DEFAULT_IO
cannot import name INSTANCE_VOLUME_DEFAULT_DETECT_ZEROES
cannot import name INSTANCE_VOLUME_DEFAULT_DISCARD

1.11.26
ImportError
cannot import name INSTANCE_VOLUME_DEFAULT_IO
/srv/webvirtcloud/create/views.py in <module>, line 19
/srv/webvirtcloud/venv/bin/python2
2.7.16
['/srv/webvirtcloud',  '/srv/webvirtcloud/venv/bin',  '/srv/webvirtcloud/venv/lib/python2.7',  '/srv/webvirtcloud/venv/lib/python2.7/plat-x86_64-linux-gnu',  '/srv/webvirtcloud/venv/lib/python2.7/lib-tk',  '/srv/webvirtcloud/venv/lib/python2.7/lib-old',  '/srv/webvirtcloud/venv/lib/python2.7/lib-dynload',  '/usr/lib/python2.7',  '/usr/lib/python2.7/plat-x86_64-linux-gnu',  '/usr/lib/python2.7/lib-tk',  '/srv/webvirtcloud/venv/local/lib/python2.7/site-packages',  '/srv/webvirtcloud/venv/lib/python2.7/site-packages']
Originally created by @rollopack on GitHub (Feb 10, 2020). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/292 After the upgrade at Debian 10.3 I get the following errors in create/views.py cannot import name INSTANCE_VOLUME_DEFAULT_IO cannot import name INSTANCE_VOLUME_DEFAULT_DETECT_ZEROES cannot import name INSTANCE_VOLUME_DEFAULT_DISCARD ``` 1.11.26 ImportError cannot import name INSTANCE_VOLUME_DEFAULT_IO /srv/webvirtcloud/create/views.py in <module>, line 19 /srv/webvirtcloud/venv/bin/python2 2.7.16 ['/srv/webvirtcloud', '/srv/webvirtcloud/venv/bin', '/srv/webvirtcloud/venv/lib/python2.7', '/srv/webvirtcloud/venv/lib/python2.7/plat-x86_64-linux-gnu', '/srv/webvirtcloud/venv/lib/python2.7/lib-tk', '/srv/webvirtcloud/venv/lib/python2.7/lib-old', '/srv/webvirtcloud/venv/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/srv/webvirtcloud/venv/local/lib/python2.7/site-packages', '/srv/webvirtcloud/venv/lib/python2.7/site-packages'] ```
kerem closed this issue 2026-02-27 15:57:41 +03:00
Author
Owner

@rollopack commented on GitHub (Feb 10, 2020):

Sorry, my mistake.
The settings.py file was missing the INSTANCE_VOLUME_DEFAULT_IO, INSTANCE_VOLUME_DEFAULT_DETECT_ZEROES and INSTANCE_VOLUME_DEFAULT_DISCARD entries.

<!-- gh-comment-id:584129477 --> @rollopack commented on GitHub (Feb 10, 2020): Sorry, my mistake. The settings.py file was missing the INSTANCE_VOLUME_DEFAULT_IO, INSTANCE_VOLUME_DEFAULT_DETECT_ZEROES and INSTANCE_VOLUME_DEFAULT_DISCARD entries.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#191
No description provided.