I had exactly that problem until I updated virtualenv to 1.8.2 (I think I was on 1.7.? before), now all is good. I assume the activate.fish script has been updated in the latest version (you'll have to delete and recreate your virtualenvs to use the new script, use a requirements file to do so).

On 19/09/2012 13:10, Gour wrote:
On Sun, 12 Aug 2012 15:31:27 +1000
Christopher Nilsson
<christop...@otherchirps.net> wrote:

That's odd. I see the updated activate.fish in the latest 1.7.2
release (that github account linked to is the upstream).
After updating virtualenv to 1.8.2, I've new problem with it..

Here is result of 'activating' virtualenv:

gour@atmarama ~/p/zinnia> . bin/activate.fish
.: Error encountered while sourcing file "1":
.: No such file or directory
rm: cannot remove '/tmp/.psub.9906.30137': No such file or directory
fish: Unknown command "_old_fish_prompt"
/home/gour/prj/zinnia/bin/activate.fish (line 57): _old_fish_prompt
                                                    ^
in command substitution
        called on line 69 of file "/home/gour/prj/zinnia/bin/activate.fish",

in function "fish_prompt",
        called on standard input,

in command substitution
        called on standard input,

and deactivating it gives:

(zinnia deactivate
.: Error encountered while sourcing file "1":
.: No such file or directory
rm: cannot remove '/tmp/.psub.9906.7752': No such file or directory


I've fish-shell-git 20120818.

Any idea?


Sincerely,
Gour



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to