-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LivePlot does not plot points for count() #829
Comments
Yes Wen noticed yesterday.
I thought that you were still around and part of the discussion. Anyway, I
suggested her to make a bug report, maybe she forgot?
Thanks,
Cla
…On Sep 9, 2017 12:41 PM, "Andi Barbour" ***@***.***> wrote:
fyi @cmazzoli <https://github.com/cmazzoli> @wen-hu
<https://github.com/wen-hu> @bisogni <https://github.com/bisogni>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#829 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKjlFvbIJ8Qtrl8vqlZ7-hGave4q6WaCks5sgr-YgaJpZM4PSCxQ>
.
|
Thanks for the thorough report. Not sure what this means yet. Thinking. |
Ah, the figure title suggests that something isn't right: see how it says "[...] vs e i m t"? That's the word 'time' split up by letter and sorted alphabetically. We caught this bug at ESM and fixed it in time for bluesky v0.10.0. You are still running a slightly out-of-date pre-release version of bluesky, which I intended to resolve on Monday. You can fix this by doing:
Note: I'm relying on my memory that the name of the conda environment we used for testing the bluesky is named
All of the above should be run in bash (i.e., the Terminal), not inside IPython/bsui. |
Also |
Clarification, |
Is this still true after updating bluesky? |
I just tried and was not able to install. [xf23id1@xf23id-ws3 ~/xf23id1_profiles/profile_collection/startup]$ cd ~
[xf23id1@xf23id-ws3 ~]$ echo $BS_ENV
dev
[xf23id1@xf23id-ws3 ~]$ source activate dev
(dev) [xf23id1@xf23id-ws3 ~]$ pip install --upgrade bluesky
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fdf2a3f7e10>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/bluesky/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fdf2a3f7208>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/bluesky/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fdf2b64a518>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/bluesky/
^COperation cancelled by user
^C
^C
Traceback (most recent call last):
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/packages/urllib3/connection.py", line 142, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/packages/urllib3/util/connection.py", line 75, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/home/xf23id1/conda_envs/dev/lib/python3.6/socket.py", line 743, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/xf23id1/conda_envs/dev/bin/pip", line 6, in <module>
sys.exit(pip.main())
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/__init__.py", line 249, in main
return command.main(cmd_args)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/basecommand.py", line 252, in main
pip_version_check(session)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/utils/outdated.py", line 126, in pip_version_check
headers={"Accept": "application/json"},
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/sessions.py", line 488, in get
return self.request('GET', url, **kwargs)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/download.py", line 386, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/sessions.py", line 596, in send
r = adapter.send(request, **kwargs)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/cachecontrol/adapter.py", line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/adapters.py", line 423, in send
timeout=timeout
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
chunked=chunked)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 352, in _make_request
self._validate_conn(conn)
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 831, in _validate_conn
conn.connect()
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/packages/urllib3/connection.py", line 254, in connect
conn = self._new_conn()
File "/home/xf23id1/conda_envs/dev/lib/python3.6/site-packages/pip/_vendor/requests/packages/urllib3/connection.py", line 142, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
KeyboardInterrupt
(dev) [xf23id1@xf23id-ws3 ~]$
(dev) [xf23id1@xf23id-ws3 ~]$ |
That looks like the old NSLS-II proxy issue.
|
Ahh. I hate that. It always gets me.
Everything seems to work as expected. Tried 1 sclr, versus 3. Also tried from a plan.
From: Dan Allan <notifications@github.com<mailto:notifications@github.com>>
Reply-To: NSLS-II/bluesky <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Monday, September 11, 2017 at 10:33 AM
To: NSLS-II/bluesky <bluesky@noreply.github.com<mailto:bluesky@noreply.github.com>>
Cc: Andi Barbour <abarbour@bnl.gov<mailto:abarbour@bnl.gov>>, Author <author@noreply.github.com<mailto:author@noreply.github.com>>
Subject: Re: [NSLS-II/bluesky] LivePlot does not plot points for count() (#829)
That looks like the old NSLS-II proxy issue.
export https_proxy=proxy:8888
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#829 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AM_7GQwNDP_WytMNMssnjXTLlMYyVr6Tks5shUSZgaJpZM4PSCxQ>.
|
Did this resolve the secondary issue of getting a new figure every time you count? |
Yes. Thanks for working on it over the weekend.
From: Dan Allan <notifications@github.com<mailto:notifications@github.com>>
Reply-To: NSLS-II/bluesky <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Monday, September 11, 2017 at 10:46 AM
To: NSLS-II/bluesky <bluesky@noreply.github.com<mailto:bluesky@noreply.github.com>>
Cc: Andi Barbour <abarbour@bnl.gov<mailto:abarbour@bnl.gov>>, Author <author@noreply.github.com<mailto:author@noreply.github.com>>
Subject: Re: [NSLS-II/bluesky] LivePlot does not plot points for count() (#829)
Did this resolve the secondary issue of getting a new figure every time you count?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#829 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AM_7Gc3DGSYi_uZSxvzqF40JI1bqQpqwks5shUfXgaJpZM4PSCxQ>.
|
Will someone be able to upgrade us today? We don't have users now, but will on Tuesday. |
On Mon, 11 Sep 2017, Dan Allan wrote:
That looks like the old NSLS-II proxy issue.
export https_proxy=proxy:8888
I think you want
export https_proxy=https://proxy:8888
the proxy env var is the one without the proto (eg. 'export proxy=proxy:8888')
actually I guess http vs. https doesn't matter in that url?
----------------------------------------------------------------------
root@xf23id-ws3:~# cat /etc/profile.d/proxy.sh
# Managed by Puppet:
# Proxy environment settings for wget, perl, python, etc:
export ftp_proxy=http://proxy:8888
export http_proxy=http://proxy:8888
export https_proxy=http://proxy:8888
export no_proxy=cs.nsls2.local,localhost,127.0.0.1
----------------------------------------------------------------------
The system is configured to set those variables, not sure why/how it wasn't.
-matt
|
Plots did not contain data points (or atleast the live plot did not autoscale)
Tried with
num=None
andnum=5
(with new plot for both), and got the same result.relative_scan
andscan
worked after these did not.The text was updated successfully, but these errors were encountered: