Re: [Xen-devel] Debugging your environment...

2016-10-14 Thread Jesus M. Gonzalez-Barahona
Thanks, Tevin.

My experience with Windows is very limited, but it seems what happens
is that the system founds the perceval script, but is not able of
running it because it does not identify the shebang line (the first
line in the script). I'm not completely sure about this, but it seems
that's the problem.

Yoou can check that by cd to the Scripts directory where perceval
lives, and executing:

python perceval --help

If that works, it is very likely that the problem is that one.

Please, try, and if that's the case, we can try to find some fix...

Jesus.

On Fri, 2016-10-14 at 14:15 -0400, tevin.k.mall...@gmail.com wrote:
> Hi Jesus,
>     Since our last chat here is what I have done. I have
> created a new virtualenv with "--no-site-packages" to insure a fresh
> clean environment. After I followed your instructions and pulled up
> my "dir" data. I notice I didn't have a "bin" directory and
> researched why. It turns out a "bin" directory is created on POSIZ
> systems only. Also some paths within the virtualenv are different on
> Windows: scripts and executables on Windows go in "ENV\Scripts\"
> instead of "ENV/bin". I don't know if this will have a problem with
> perceval command scripts.
>     I install perceval into my virtualenv and tried to
> run Perceval again. It still isn’t working for me, so I am going to
> try changing my OS to Unbuntu and try again there. I inserted my
> command prompt below.  
>  
>  
> Microsoft Windows [Version 10.0.14393]
> (c) 2016 Microsoft Corporation. All rights reserved.
>  
> C:\Users\Tevin>cd Desktop
>  
> C:\Users\Tevin\Desktop>md perceval
>  
> C:\Users\Tevin\Desktop>md project
>  
> C:\Users\Tevin\Desktop>cd project
>  
> C:\Users\Tevin\Desktop\project>virtualenv --no-site-packages perceval
> Using base prefix
> 'c:\\users\\tevin\\appdata\\local\\programs\\python\\python35-32'
> New python executable in
> C:\Users\Tevin\Desktop\project\perceval\Scripts\python.exe
> Installing setuptools, pip, wheel...done.
>  
> C:\Users\Tevin\Desktop\project>cd perceval
>  
> C:\Users\Tevin\Desktop\project\perceval>dir
> Volume in drive C is OS
> Volume Serial Number is 2606-BFCB
>  
> Directory of C:\Users\Tevin\Desktop\project\perceval
>  
> 10/14/2016  01:25 PM      .
> 10/14/2016  01:25 PM      ..
> 10/07/2016  12:24 AM      Include
> 10/14/2016  01:24 PM      Lib
> 10/14/2016  01:25 PM    60 pip-selfcheck.json
> 10/14/2016  01:25 PM      Scripts
> 10/14/2016  01:24 PM      tcl
>    1 File(s) 60 bytes
>    6 Dir(s)  416,644,304,896 bytes free
>  
> C:\Users\Tevin\Desktop\project\perceval>scripts\activate
>  
> (perceval) C:\Users\Tevin\Desktop\project\perceval>pip install
> perceval
> Collecting perceval
>   Using cached perceval-0.3.0-py3-none-any.whl
> Collecting python-dateutil>=2.0.0 (from perceval)
>   Using cached python_dateutil-2.5.3-py2.py3-none-any.whl
> Collecting requests>=2.7.0 (from perceval)
>   Using cached requests-2.11.1-py2.py3-none-any.whl
> Collecting beautifulsoup4>=4.3.2 (from perceval)
>   Using cached beautifulsoup4-4.5.1-py3-none-any.whl
> Collecting six>=1.5 (from python-dateutil>=2.0.0->perceval)
>   Using cached six-1.10.0-py2.py3-none-any.whl
> Installing collected packages: six, python-dateutil, requests,
> beautifulsoup4, perceval
> Successfully installed beautifulsoup4-4.5.1 perceval-0.3.0 python-
> dateutil-2.5.3 requests-2.11.1 six-1.10.0
>  
> (perceval) C:\Users\Tevin\Desktop\project\perceval>dir
> Volume in drive C is OS
> Volume Serial Number is 2606-BFCB
>  
> Directory of C:\Users\Tevin\Desktop\project\perceval
>  
> 10/14/2016  01:25 PM      .
> 10/14/2016  01:25 PM      ..
> 10/07/2016  12:24 AM      Include
> 10/14/2016  01:24 PM      Lib
> 10/14/2016  01:25 PM    60 pip-selfcheck.json
> 10/14/2016  01:31 PM      Scripts
> 10/14/2016  01:24 PM      tcl
>    1 File(s) 60 bytes
>    6 Dir(s)  416,637,894,656 bytes free
>  
> (perceval) C:\Users\Tevin\Desktop\project\perceval>echo %PATH%
> C:\Users\Tevin\Desktop\project\perceval\Scripts;C:\ProgramData\Oracle
> \Java\javapath;C:\Program Files (x86)\Intel\TXE
> Components\TCS\;C:\Program Files\Intel\TXE
> Components\TCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wb
> em;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files
> (x86)\Common Files\Adobe\AGL;C:\Program Files
> (x86)\DevDesktop\drush;C:\Program Files\Java\jdk\bin;C:\Program
> Files\Java\jre\bin;C:\Users\Tevin\AppData\Local\Programs\Python\Pytho
> n35-
> 32\Scripts\;C:\Users\Tevin\AppData\Local\Programs\Python\Python35-
> 32\;C:\Users\Tevin\AppData\Local\Microsoft\WindowsApps;C:\Windows\Sys
> tem32;C:\Users\Tevin\Documents\project\mtask\Lib\site-packages
>  
> (perceval) C:\Users\Tevin\Desktop\project\perceval>echo %PYTHONPATH
> %PYTHONPATH
>  
> (perceval) 

Re: [Xen-devel] Debugging your environment...

2016-10-14 Thread tevin.k.mallory
Hi Jesus,
Since our last chat here is what I have done. I have created a new 
virtualenv with "--no-site-packages" to insure a fresh clean environment. After 
I followed your instructions and pulled up my "dir" data. I notice I didn't 
have a "bin" directory and researched why. It turns out a "bin" directory is 
created on POSIZ systems only. Also some paths within the virtualenv are 
different on Windows: scripts and executables on Windows go in "ENV\Scripts\" 
instead of "ENV/bin". I don't know if this will have a problem with perceval 
command scripts. 
I install perceval into my virtualenv and tried to run Perceval again. 
It still isn’t working for me, so I am going to try changing my OS to Unbuntu 
and try again there. I inserted my command prompt below.  


Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\Tevin>cd Desktop

C:\Users\Tevin\Desktop>md perceval

C:\Users\Tevin\Desktop>md project

C:\Users\Tevin\Desktop>cd project

C:\Users\Tevin\Desktop\project>virtualenv --no-site-packages perceval
Using base prefix 
'c:\\users\\tevin\\appdata\\local\\programs\\python\\python35-32'
New python executable in 
C:\Users\Tevin\Desktop\project\perceval\Scripts\python.exe
Installing setuptools, pip, wheel...done.

C:\Users\Tevin\Desktop\project>cd perceval

C:\Users\Tevin\Desktop\project\perceval>dir
 Volume in drive C is OS
 Volume Serial Number is 2606-BFCB

 Directory of C:\Users\Tevin\Desktop\project\perceval

10/14/2016  01:25 PM  .
10/14/2016  01:25 PM  ..
10/07/2016  12:24 AM  Include
10/14/2016  01:24 PM  Lib
10/14/2016  01:25 PM60 pip-selfcheck.json
10/14/2016  01:25 PM  Scripts
10/14/2016  01:24 PM  tcl
   1 File(s) 60 bytes
   6 Dir(s)  416,644,304,896 bytes free

C:\Users\Tevin\Desktop\project\perceval>scripts\activate

(perceval) C:\Users\Tevin\Desktop\project\perceval>pip install perceval
Collecting perceval
  Using cached perceval-0.3.0-py3-none-any.whl
Collecting python-dateutil>=2.0.0 (from perceval)
  Using cached python_dateutil-2.5.3-py2.py3-none-any.whl
Collecting requests>=2.7.0 (from perceval)
  Using cached requests-2.11.1-py2.py3-none-any.whl
Collecting beautifulsoup4>=4.3.2 (from perceval)
  Using cached beautifulsoup4-4.5.1-py3-none-any.whl
Collecting six>=1.5 (from python-dateutil>=2.0.0->perceval)
  Using cached six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six, python-dateutil, requests, beautifulsoup4, 
perceval
Successfully installed beautifulsoup4-4.5.1 perceval-0.3.0 
python-dateutil-2.5.3 requests-2.11.1 six-1.10.0

(perceval) C:\Users\Tevin\Desktop\project\perceval>dir
 Volume in drive C is OS
 Volume Serial Number is 2606-BFCB

 Directory of C:\Users\Tevin\Desktop\project\perceval

10/14/2016  01:25 PM  .
10/14/2016  01:25 PM  ..
10/07/2016  12:24 AM  Include
10/14/2016  01:24 PM  Lib
10/14/2016  01:25 PM60 pip-selfcheck.json
10/14/2016  01:31 PM  Scripts
10/14/2016  01:24 PM  tcl
   1 File(s) 60 bytes
   6 Dir(s)  416,637,894,656 bytes free

(perceval) C:\Users\Tevin\Desktop\project\perceval>echo %PATH%
C:\Users\Tevin\Desktop\project\perceval\Scripts;C:\ProgramData\Oracle\Java\javapath;C:\Program
 Files (x86)\Intel\TXE Components\TCS\;C:\Program Files\Intel\TXE 
Components\TCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\Common Files\Adobe\AGL;C:\Program Files 
(x86)\DevDesktop\drush;C:\Program Files\Java\jdk\bin;C:\Program 
Files\Java\jre\bin;C:\Users\Tevin\AppData\Local\Programs\Python\Python35-32\Scripts\;C:\Users\Tevin\AppData\Local\Programs\Python\Python35-32\;C:\Users\Tevin\AppData\Local\Microsoft\WindowsApps;C:\Windows\System32;C:\Users\Tevin\Documents\project\mtask\Lib\site-packages

(perceval) C:\Users\Tevin\Desktop\project\perceval>echo %PYTHONPATH
%PYTHONPATH

(perceval) C:\Users\Tevin\Desktop\project\perceval>path
PATH=C:\Users\Tevin\Desktop\project\perceval\Scripts;C:\ProgramData\Oracle\Java\javapath;C:\Program
 Files (x86)\Intel\TXE Components\TCS\;C:\Program Files\Intel\TXE 
Components\TCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\Common Files\Adobe\AGL;C:\Program Files 
(x86)\DevDesktop\drush;C:\Program Files\Java\jdk\bin;C:\Program 
Files\Java\jre\bin;C:\Users\Tevin\AppData\Local\Programs\Python\Python35-32\Scripts\;C:\Users\Tevin\AppData\Local\Programs\Python\Python35-32\;C:\Users\Tevin\AppData\Local\Microsoft\WindowsApps;C:\Windows\System32;C:\Users\Tevin\Documents\project\mtask\Lib\site-packages

(perceval) C:\Users\Tevin\Desktop\project\perceval>perceval
'perceval' is not recognized as an internal or external command,
operable program or batch file.

(perceval) 

Re: [Xen-devel] Debugging your environment...

2016-10-14 Thread tevin.k.mallory
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]  Hello Everyone, I am Tevin Mallory. How are you all doing 
today?
[10:33]  Hi Tevin!
[10:34]  tmallory: How do you do? Is the hurricane being a problem?
[10:35]  tmallory: Are you there?
01[10:35]  I am doing well so far, the hurrican hasn't hit my area 
yet. 
[10:36]  ok. I hope it doesn't become a big problem for you...
[10:36]  Anyway, could you have a look a the microtask description?
01[10:37]  Thank you. I hope so as well. I have the microtask 
description in fornt me. 
01[10:38]  I started on it yesterday and have been installing the 
requirements for perceval
[10:38]  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]  Good. Any trouuble with Perceval?
01[10:39]  Okay
01[10:40]  I haven't started using Perceval yet, but i shouldn't 
have any trouble with it.
01[10:41]  I just started learning python a little while ago, so i 
spent a great amount of time getting a good grasp 
[10:41]  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]  Ok i'll work on installing that next
[10:42]  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]  For elasticSearch, you'll mainly need a working Java vm on 
your computer, not much more than that.
01[10:43]  Okay I'am taking note of that
[10:43]  Can I help you in some way now, or you're on your way?
01[10:44]  I am pretty much on my way. 
01[10:45]  no major problems
[10:45]  Perfect. Then, maybe we can just schedule a meeting for next 
week
[10:45]  Meanwhile you can ping me here, or via email
01[10:45]  Ok. perfect
[10:46]  For the meeting here, we can consider tentatively next 
Friday, but 45 min. later
[10:46]  Is that ok with you?
01[10:46]  yes it is great
[10:46]  I guess that would be 17:15 CEST, 11:15am EST
[10:47]  Good!
[10:47]  There is a slight chance that I cannot make that time, in 
that case I will suggest meeting a bit later
[10:47]  Anthing else from your side?
01[10:48]  No I am all green lights on my side, if anything comes up 
I'll let you know
01[10:48]  Thank you for your time.
[10:49]  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]  No problem, I'll send it right away.
01[10:50]  It was great meeting with you as