broken symlinks when snapping a python project using requirements.txt
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Canonical Click Reviewers tools (obsolete) |
Invalid
|
Undecided
|
Unassigned | |||
Snapcraft | Status tracked in Trunk | |||||
1.x |
Fix Released
|
High
|
Kyle Fazzari | |||
Trunk |
Fix Released
|
High
|
Kyle Fazzari |
Bug Description
The problem happens on my vivid 15.04 desktop. I have a python project at the location:
https:/
Basically, it is a python django webserver project. it works pretty well on my desktop environment. I have tried to put the needed python component into the requirements.txt file, and it looks like:
Django==1.9
argparse==1.2.1
djangorestframe
wsgiref==0.1.2
When I tried to compile the project, and it compiles successfully. However, after I deploy it onto the KVM environment, it does not work any more. After some debugging, I found the following broken link inside the snap installation.
(amd64)
lrwxrwxrwx 1 clickpkg clickpkg 89 Dec 7 04:13 site-packages -> /home/liuxg/
It is in fact a symbolic link in the file system. http://
Thanks & best regards,
XiaoGuo
Changed in click-reviewers-tools: | |
status: | New → In Progress |
Changed in snapcraft: | |
status: | New → Confirmed |
description: | updated |
Changed in click-reviewers-tools: | |
status: | In Progress → Incomplete |
In this case it would have been nice, if the reviewers tools would have complained about the broken symlink.