[GH-ISSUE #52] No module name django #33

Closed
opened 2026-02-27 15:57:04 +03:00 by kerem · 4 comments
Owner

Originally created by @tboulogne on GitHub (Sep 8, 2015).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/52

Hello,

I setup webvirtcloud easily but i face a problem with console
I obviously get this error (Server disconnected (code: 1006)). Looking at novncd log :

Traceback (most recent call last):
  File "/srv/webvirtcloud/console/novncd", line 6, in <module>
    import django
ImportError: No module named django

Seems django not installed in the virtualenv.

Any tips to solve this please ?

Thank :-)

Originally created by @tboulogne on GitHub (Sep 8, 2015). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/52 Hello, I setup webvirtcloud easily but i face a problem with console I obviously get this error (Server disconnected (code: 1006)). Looking at novncd log : ``` Traceback (most recent call last): File "/srv/webvirtcloud/console/novncd", line 6, in <module> import django ImportError: No module named django ``` Seems django not installed in the virtualenv. Any tips to solve this please ? Thank :-)
kerem closed this issue 2026-02-27 15:57:04 +03:00
Author
Owner

@tboulogne commented on GitHub (Sep 8, 2015):

[UPDATE 1]
it was a permission problem. Could not simply make a
pip install -r conf/requirements.txt
in /srv/webvirtcloud directory. All things are not installed in the virtuaIenv. I make a 777 for setup and setting back permission after. It's works.

[UPDATE 2]
Dismiss any error message in novnc log, but not working. I omit to say that i activate https to access interface. Reverting back to http, novnc work. Question : where could i find nonvc port management please ?

<!-- gh-comment-id:138525356 --> @tboulogne commented on GitHub (Sep 8, 2015): [UPDATE 1] it was a permission problem. Could not simply make a ` pip install -r conf/requirements.txt ` in /srv/webvirtcloud directory. All things are not installed in the virtuaIenv. I make a 777 for setup and setting back permission after. It's works. [UPDATE 2] Dismiss any error message in novnc log, but not working. I omit to say that i activate https to access interface. Reverting back to http, novnc work. Question : where could i find nonvc port management please ?
Author
Owner

@savichev commented on GitHub (Sep 8, 2015):

You need the corresponding file in root "webvirtcloud" with name cert.pem

OR

see in webvirtcloud/settings.py params WS_*

<!-- gh-comment-id:138532312 --> @savichev commented on GitHub (Sep 8, 2015): You need the corresponding file in root "webvirtcloud" with name cert.pem OR see in webvirtcloud/settings.py params WS_*
Author
Owner

@tboulogne commented on GitHub (Sep 8, 2015):

Hello thanks for your answer. Works great :-). 👍

<!-- gh-comment-id:138537316 --> @tboulogne commented on GitHub (Sep 8, 2015): Hello thanks for your answer. Works great :-). :+1:
Author
Owner

@savichev commented on GitHub (Sep 8, 2015):

Don't mention it.

<!-- gh-comment-id:138538335 --> @savichev commented on GitHub (Sep 8, 2015): Don't mention it.
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#33
No description provided.