Hello Jesus,

I’ll get started on debugging my environment right away. Thanks a lot for your 
time. I have attached the logs of our IRC meeting today…I’ll email you with my 
debugging results soon. 



Sent from Mail for Windows 10

From: Jesus M. Gonzalez-Barahona
Sent: Friday, October 14, 2016 11:39 AM
To: tevin.k.mall...@gmail.com
Subject: Debugging your environment...

Hi, Tevin,

After our conversation via irc, please do the following:

* Let's assume you have the "C:\Users\Tevin\Desktop\project" directory 
created already, with no "perceval" subdirectory in it.

* Run "venv C:\Users\Tevin\Desktop\project\perceval"

Now you should have a "C:\Users\Tevin\Desktop\project\perceval"
directory. Change to it:

* "cd C:\Users\Tevin\Desktop\project\perceval"

* Get a listing of its contents, and in particular of its bin
directory:

"dir ."
"dir bin"

* Now, activate the environment.

* Once the environment is activated, run

"pip install perceval"

And then again

"dir ."
"dir bin"

* and let's get some environment variables:

"echo %PATH%"
"echo %PYTHONPATH"

* Then, try to run perceval:

"perceval"

* and python:

"python --version"

(of course, after activation, everything from the same console).

Plese, copy and paste in a message all what you typed and the answer by
the system. And let's see if we can progress from that...

Saludos,

        Jesus.



-- 
http://twitter.com/jgbarah          http://gsyc.es/~jgb


Session Start: Mon Oct 03 17:36:20 2016
Session Ident: #metrics-grimoire
03[17:36] * Now talking in #metrics-grimoire
02[17:40] * gayathri___ (uid69915@gateway/web/irccloud.com/x-zbftnjrevqetnmfh) 
Quit (Quit: Connection closed for inactivity)
03[19:48] * _acs_ (~a...@114.red-79-153-216.dynamicip.rima-tde.net) has joined 
#metrics-grimoire
02[20:00] * _acs_ (~a...@114.red-79-153-216.dynamicip.rima-tde.net) Quit 
(Quit: Leaving.)
02[20:11] * jgbarah (~j...@149.red-79-151-31.dynamicip.rima-tde.net) Quit 
(Ping timeout: 248 seconds)
02[21:56] * Disconnected
Session Close: Mon Oct 03 21:56:33 2016

Session Start: Mon Oct 03 21:56:33 2016
Session Ident: #metrics-grimoire
02[21:56] * Attempting to rejoin channel #metrics-grimoire
03[21:56] * Rejoined channel #metrics-grimoire
02[23:03] * Disconnected
Session Close: Mon Oct 03 23:03:21 2016

Session Start: Fri Oct 07 10:31:01 2016
Session Ident: #metrics-grimoire
03[10:31] * Now talking in #metrics-grimoire
03[10:31] * _acs_ (~acs@150.214.223.90) has joined #metrics-grimoire
01[10:32] <tmallory> Hello Everyone, I am Tevin Mallory. How are you all doing 
today?
[10:33] <jgbarah> Hi Tevin!
[10:34] <jgbarah> tmallory: How do you do? Is the hurricane being a problem?
[10:35] <jgbarah> tmallory: Are you there?
01[10:35] <tmallory> I am doing well so far, the hurrican hasn't hit my area 
yet. 
[10:36] <jgbarah> ok. I hope it doesn't become a big problem for you...
[10:36] <jgbarah> Anyway, could you have a look a the microtask description?
01[10:37] <tmallory> Thank you. I hope so as well. I have the microtask 
description in fornt me. 
01[10:38] <tmallory> I started on it yesterday and have been installing the 
requirements for perceval
[10:38] <jgbarah> ok. I have to leave in 10 min, but will be back in 30, so 
let's start, and if needed and you can, we can follow up later
[10:38] <jgbarah> Good. Any trouuble with Perceval?
01[10:39] <tmallory> Okay
01[10:40] <tmallory> I haven't started using Perceval yet, but i shouldn't 
have any trouble with it.
01[10:41] <tmallory> I just started learning python a little while ago, so i 
spent a great amount of time getting a good grasp 
[10:41] <jgbarah> OK. The other stuff that could block you is installing 
ElasticSearch and maybe Kibana. I would start with ElasticSearch, which is all 
you'll need for onow
01[10:42] <tmallory> Ok i'll work on installing that next
[10:42] <jgbarah> ok, let me know if you need some help for Python. I can point 
you to courses and material if you happen to need those
[10:42] <jgbarah> For elasticSearch, you'll mainly need a working Java vm on 
your computer, not much more than that.
01[10:43] <tmallory> Okay I'am taking note of that
[10:43] <jgbarah> Can I help you in some way now, or you're on your way?
01[10:44] <tmallory> I am pretty much on my way. 
01[10:45] <tmallory> no major problems
[10:45] <jgbarah> Perfect. Then, maybe we can just schedule a meeting for next 
week
[10:45] <jgbarah> Meanwhile you can ping me here, or via email
01[10:45] <tmallory> Ok. perfect
[10:46] <jgbarah> For the meeting here, we can consider tentatively next 
Friday, but 45 min. later
[10:46] <jgbarah> Is that ok with you?
01[10:46] <tmallory> yes it is great
[10:46] <jgbarah> I guess that would be 17:15 CEST, 11:15am EST
[10:47] <jgbarah> Good!
[10:47] <jgbarah> There is a slight chance that I cannot make that time, in 
that case I will suggest meeting a bit later
[10:47] <jgbarah> Anthing else from your side?
01[10:48] <tmallory> No I am all green lights on my side, if anything comes up 
I'll let you know
01[10:48] <tmallory> Thank you for your time.
[10:49] <jgbarah> Perfect! It was great meeting you. See you next week! If you 
don't mind, please send Lars and me the log for his meeting via email
01[10:50] <tmallory> No problem, I'll send it right away.
01[10:50] <tmallory> It was great meeting with you as well. 
[10:50] <jgbarah> Thanks! See you. Bye for now!
02[10:51] * jgbarah (~j...@149.red-79-151-31.dynamicip.rima-tde.net) Quit 
(Quit: Leaving.)
02[11:11] * _acs_ (~acs@150.214.223.90) Quit (Ping timeout: 272 seconds)
03[11:32] * _acs_ (~a...@nat-wifi-invi.ual.es) has joined #metrics-grimoire
03[11:34] * _acs_ (~a...@nat-wifi-invi.ual.es) has left #metrics-grimoire
02[11:44] * Disconnected
Session Close: Fri Oct 07 11:44:29 2016

Session Start: Fri Oct 07 13:21:08 2016
Session Ident: #metrics-grimoire
03[13:21] * Now talking in #metrics-grimoire
03[13:22] * Retrieving #metrics-grimoire modes...
02[13:35] * Disconnected
Session Close: Fri Oct 07 13:35:43 2016

Session Start: Fri Oct 14 10:18:31 2016
Session Ident: #metrics-grimoire
03[10:18] * Now talking in #metrics-grimoire
03[10:31] * jgbarah (~j...@149.red-79-151-31.dynamicip.rima-tde.net) has 
joined #metrics-grimoire
[10:31] <jgbarah> Hi tmallory!
[10:33] <jgbarah> tmallory: are you around?
01[10:38] <tmallory> Yes, I am here
01[10:40] <tmallory> I am still trying to get perceval to work agian, I have 
edited my Path with hopes it would fix the problem. It hasn't worked for me yet.
[10:41] <jgbarah> Hi! Can i help you somehow?
[10:41] <jgbarah> Instead of editing paths or whatever, why don't you just 
create a new virtual environment from scratch?
[10:43] <jgbarah> tmallory: Do you prefer that we talk at some other time?
01[10:44] <tmallory> I tried that as well, I have made 5 new virtual 
enironments. 
01[10:44] <tmallory> I made both venv and virtualenv
[10:44] <jgbarah> And which problem do you have?
[10:45] <jgbarah> I mean, what's happening that prevents you from running 
perceval?
01[10:46] <tmallory> 'perceval' is not recognized as an internal or external 
command operable program or bath file
[10:47] <jgbarah> You're working in Windows?
01[10:47] <tmallory> yes, sir
[10:47] <jgbarah> Hmmm. I lack experience with Windows :-(
[10:47] <jgbarah> But let's see how we can sort this out
[10:48] <jgbarah> Which version of Windows are you running?
01[10:48] <tmallory> windows 10
[10:48] <jgbarah> (no need to call me sir, by the way ;-) )
[10:49] <jgbarah> ok, give me a moment....
01[10:49] <tmallory> ok no problem
[10:49] <jgbarah> Meanwhile, any chance of you using some Linux-based system?
01[10:50] <tmallory> Not at the moment, but I can look into switching over
[10:52] <jgbarah> That would probably be a good idea, anyway ;-) But don't do 
that only for this project...
[10:52] <jgbarah> If you want, you can try to run a Linux virtual machine on 
top of Windows, for a start
01[10:52] <tmallory> what are your thoughts on ubuntu, I was thinking of 
changing my os.
[10:52] <jgbarah> But anyway, let's sort it out how to run perceval on 
Windows...
[10:53] <jgbarah> If you decide to try Linux, Ubuntu can be a good first choice
[10:53] <jgbarah> I use Debian myself, which is quite similar
[10:53] <jgbarah> OK, coming back to Windows. How did you install it?
[10:54] <jgbarah> I mean, Python
[10:54] <jgbarah> I see there are detailed docs at 
https://docs.python.org/3/using/windows.html
01[10:54] <tmallory> how I have python 3, installed from the python site. 
[10:56] <jgbarah> ok
01[10:57] <tmallory> I have sent you an email with more details, have you had 
a chance to view it?
[10:57] <jgbarah> Then, you open a shell in windows (I guess it is called a 
command line window or something), and run python, right?
[10:57] <jgbarah> Ooops. No, I guess I missed that message. Let me check
01[10:58] <tmallory> Yes
[11:00] <jgbarah> tmallory: I see the problem
[11:00] <jgbarah> Sidenote: it is better if you copy & paste the text, it is 
easier to work with (instead of the screenshot)
[11:01] <jgbarah> Anyway, it is strange. Did it work for you at some point?
01[11:01] <tmallory> yes it it did
01[11:01] <tmallory> before I installed elasticsearch
[11:02] <jgbarah> Hmmm. How strange...
01[11:02] <tmallory> however elasticsearch is running fine 
[11:02] <jgbarah> Can you look for perceval, the command?
[11:02] <jgbarah> It should be in your virtualenvironment, bin directory
01[11:02] <tmallory> I'll look
[11:02] <jgbarah> Is it there?
[11:03] <jgbarah> If you can, copy here the result of running "dir" in that 
directory
01[11:04] <tmallory> ok 1 moment
01[11:08] <tmallory> C:\Users\Tevin\Desktop\project> dir
01[11:08] <tmallory>  Volume in drive C is OS
01[11:08] <tmallory>  Volume Serial Number is 2606-BFCB
01[11:08] <tmallory>  Directory of C:\Users\Tevin\Desktop\project
01[11:08] <tmallory> 10/12/2016  04:37 PM    <DIR>          .
01[11:08] <tmallory> 10/12/2016  04:37 PM    <DIR>          ..
01[11:08] <tmallory> 10/12/2016  04:38 PM    <DIR>          mtask
01[11:08] <tmallory>                0 File(s)              0 bytes
01[11:08] <tmallory>                3 Dir(s)  415,432,097,792 bytes free
[11:08] <jgbarah> C:\Users\Tevin\Desktop\project is your virtual environment?
[11:09] <jgbarah> It doesn't seem it is...
01[11:09] <tmallory> let me try that agian
[11:09] <jgbarah> I mean, the directory that was created when runing "venv"
[11:09] <jgbarah> you can just run "dir xxxx"
[11:09] <jgbarah> Where xxx is your virtualenvironment
01[11:12] <tmallory>  Directory of C:\Users\Tevin\Desktop\project\mtask
01[11:12] <tmallory> 10/12/2016  07:11 PM    <DIR>          .
01[11:12] <tmallory> 10/12/2016  07:11 PM    <DIR>          ..
01[11:12] <tmallory> 10/12/2016  07:11 PM    <DIR>          Include
01[11:12] <tmallory> 10/12/2016  07:11 PM    <DIR>          Lib
01[11:12] <tmallory> 10/12/2016  04:38 PM                60 pip-selfcheck.json
01[11:12] <tmallory> 10/12/2016  07:11 PM    <DIR>          Scripts
01[11:12] <tmallory> 10/12/2016  07:11 PM    <DIR>          tcl
01[11:12] <tmallory>                1 File(s)             60 bytes
01[11:12] <tmallory>                6 Dir(s)  416,702,984,192 bytes free
[11:16] <jgbarah> tmallory: something weird is happening. If that's your 
virtual environment,
[11:16] <jgbarah> you should have a bin directory, which I don't see there
[11:16] <jgbarah> Besides, no "tcl" directory should be there...
[11:16] <jgbarah> Do you have some 10 min to start from scratch right now?
01[11:16] <tmallory> yes
[11:18] <jgbarah> tmallory: ok, let's go then
[11:18] <jgbarah> Let s use venv
01[11:18] <tmallory> okay 
[11:18] <jgbarah> Let's assume you want your virtiual environment in  
C:\Users\Tevin\Desktop\project\perceval
[11:18] <jgbarah> (just to try)
01[11:19] <tmallory> ok
[11:19] <jgbarah> Please, run "venv C:\Users\Tevin\Desktop\project\perceval"
[11:19] <jgbarah> Paste here the output...
[11:19] <jgbarah> And the output of "dir 
C:\Users\Tevin\Desktop\project\perceval"
[11:23] <jgbarah> tmallory: ???
01[11:23] <tmallory> i am installing perceval into my venv
[11:26] <jgbarah> tmallory: Before that,could you past the output after running 
venv, the output of the dir command above,
[11:26] <jgbarah> and how you activate the venv, please?
01[11:26] <tmallory> ok
[11:27] <jgbarah> tmallory: Just to try to spot if everything is going as it 
should go...
01[11:29] <tmallory> this is before perceval installation
01[11:29] <tmallory> Microsoft Windows [Version 10.0.14393]
01[11:29] <tmallory> (c) 2016 Microsoft Corporation. All rights reserved.
01[11:29] <tmallory> C:\Users\Tevin>cd Documents
01[11:29] <tmallory> C:\Users\Tevin\Documents>md project2
01[11:29] <tmallory> C:\Users\Tevin\Documents>cd ..\..
01[11:29] <tmallory> C:\Users> venv \Users\Tevin\Desktop\project\perceval
01[11:29] <tmallory> 'venv' is not recognized as an internal or external 
command,
01[11:29] <tmallory> operable program or batch file.
01[11:29] <tmallory> C:\Users>cd Tevin
01[11:29] <tmallory> C:\Users\Tevin>cd projects2
01[11:29] <tmallory> The system cannot find the path specified.
01[11:29] <tmallory> C:\Users\Tevin>cd Documents
01[11:29] <tmallory> C:\Users\Tevin\Documents>cd project2
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>md perceval
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>venv perceval
01[11:29] <tmallory> 'venv' is not recognized as an internal or external 
command,
01[11:29] <tmallory> operable program or batch file.
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>pip install venv
01[11:29] <tmallory> Collecting venv
01[11:29] <tmallory>   Could not find a version that satisfies the requirement 
venv (from versions: )
01[11:29] <tmallory> No matching distribution found for venv
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>venv perceval
01[11:29] <tmallory> 'venv' is not recognized as an internal or external 
command,
01[11:29] <tmallory> operable program or batch file.
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>virtualenv perceval
01[11:29] <tmallory> Using base prefix 
'c:\\users\\tevin\\appdata\\local\\programs\\python\\python35-32'
01[11:29] <tmallory> New python executable in 
C:\Users\Tevin\Documents\project2\perceval\Scripts\python.exe
01[11:29] <tmallory> Installing setuptools, pip, wheel...done.
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2>cd perceval
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2\perceval>dir
01[11:29] <tmallory>  Volume in drive C is OS
01[11:29] <tmallory>  Volume Serial Number is 2606-BFCB
01[11:29] <tmallory>  Directory of C:\Users\Tevin\Documents\project2\perceval
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          .
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          ..
01[11:29] <tmallory> 10/07/2016  12:24 AM    <DIR>          Include
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          Lib
01[11:29] <tmallory> 10/14/2016  11:26 AM                60 pip-selfcheck.json
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          Scripts
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          tcl
01[11:29] <tmallory>                1 File(s)             60 bytes
01[11:29] <tmallory>                6 Dir(s)  416,668,360,704 bytes free
01[11:29] <tmallory> C:\Users\Tevin\Documents\project2\perceval>dir perceval
01[11:29] <tmallory>  Volume in drive C is OS
01[11:29] <tmallory>  Volume Serial Number is 2606-BFCB
01[11:29] <tmallory>  Directory of C:\Users\Tevin\Documents\project2\perceval
01[11:29] <tmallory> File Not Found
01[11:29] <tmallory> 
C:\Users\Tevin\Documents\project2\perceval>scripts\activate
01[11:29] <tmallory> (perceval) C:\Users\Tevin\Documents\project2\perceval>dir
01[11:29] <tmallory>  Volume in drive C is OS
01[11:29] <tmallory>  Volume Serial Number is 2606-BFCB
01[11:29] <tmallory>  Directory of C:\Users\Tevin\Documents\project2\perceval
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          .
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          ..
01[11:29] <tmallory> 10/07/2016  12:24 AM    <DIR>          Include
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          Lib
01[11:29] <tmallory> 10/14/2016  11:26 AM                60 pip-selfcheck.json
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          Scripts
01[11:29] <tmallory> 10/14/2016  11:26 AM    <DIR>          tcl
01[11:29] <tmallory>                1 File(s)             60 bytes
01[11:29] <tmallory>                6 Dir(s)  416,668,676,096 bytes free
01[11:29] <tmallory> (perceval) C:\Users\Tevin\Documents\project2\perceval>dir 
perceval
01[11:29] <tmallory>  Volume in drive C is OS
01[11:29] <tmallory>  Volume Serial Number is 2606-BFCB
01[11:29] <tmallory>  Directory of C:\Users\Tevin\Documents\project2\perceval
01[11:29] <tmallory> File Not Found
01[11:29] <tmallory> (perceval) C:\Users\Tevin\Documents\project2\perceval>
02[11:29] * Disconnected
Session Close: Fri Oct 14 11:29:23 2016

Session Start: Fri Oct 14 11:29:23 2016
Session Ident: #metrics-grimoire
02[11:29] * Attempting to rejoin channel #metrics-grimoire
03[11:29] * Rejoined channel #metrics-grimoire
[11:30] <jgbarah> tmallory: I only get up to "C:\Users\Tevin\Documents>cd ..\.."
01[11:31] <tmallory> strange
[11:31] <jgbarah> In any case, I have to leave. I'm going to send you an email 
lmessage with some homework (basically, r,unning this and sending me the output)
[11:31] <jgbarah> let's folow up from there...
01[11:32] <tmallory> ok thank you very much
02[11:32] * DawnFoster1 
(~dawnfo...@cpc22-lewi17-2-0-cust673.2-4.cable.virginm.net) Quit (Quit: 
Leaving.)
01[11:33] <tmallory> i am going to keep trying,I'll also try using a different 
computer.
01[11:34] <tmallory> I'll Also email you the Log of this meeting
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to