lpad not found, help needed.

34 views
Skip to first unread message

Rahul Biswas

unread,
Mar 6, 2017, 10:55:05 PM3/6/17
to fireworkflows
Hi,

I tried to follow the installation instructions at http://pythonhosted.org/FireWorks/installation.html (using pip) on two different computers (OSX and Cent OS), with a python distribution supplied by anaconda (v2.7.12). In both of these, the pip install went off without any isues, but then in trying to `Testing Connection to remote server`, I run into the following error:

```
$ lpad -l my_launchpad_testing.yaml get_wflows
-bash: lpad: command not found
```
This is using version 1.4.1

On the OSX machine, I cloned the github source and installed it using the setup file. Then in running unit tests via:
```
python setup.py test
```

Here is the failure (The full log file is attached): 
```
Ran 116 tests in 113.174s

OK
Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable
Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable


Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable
Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable


Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable
Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable


Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable
Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable


Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable
Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable


Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable
Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable


Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

Exception in thread pymongo_server_monitor_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable
Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable


Exception in thread pymongo_kill_cursors_thread:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/miniconda/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/rbiswas/.local/lib/python2.7/site-packages/pymongo/periodic_executor.py", line 124, in _run
    while not self._stopped and _time() < deadline:
TypeError: 'NoneType' object is not callable

time[master]fireworks$
```
failure.log

Anubhav Jain

unread,
Mar 7, 2017, 12:13:31 PM3/7/17
to fireworkflows
Hi Rahul,

Can you try typing:

"lpad version"

and seeing if that works in either installation? Let me know what it says.

A few other notes:

i) I had no trouble installing fireworks (including lpad) using anaconda on Mac OS/X using a scratch environment with the commands:
conda create -n scratch_env python=2.7 pip
source activate scratch_env
pip install fireworks
lpad version

>> this will print out some text confirming that lpad is installed, namely:
(u'FireWorks version:', '1.4.1')
(u'located in:', '/Users/ajain/miniconda3/envs/scratch_env/lib/python2.7/site-packages')

ii) Also, note that there is a fireworks conda installation as well that you can try:

Best
Anubhav

Rahul Biswas

unread,
Mar 7, 2017, 12:54:12 PM3/7/17
to Anubhav Jain, fireworkflows
Hi Anubhav,

In both the installs,  I got

lpad version
-bash: lpad: command not found

Similarly, I also created a conda environment using exactly what you did. I still get the same problem as shown below:


$ conda create -n scratch_env python=2.7 pip
$ ...
$ Linking packages ...
[      COMPLETE      ]|#################################################################################| 100%
#
# To activate this environment, use:
# > source activate scratch_env
#
# To deactivate this environment, use:
# > source deactivate scratch_env
#
time$ source activate scratch_env
(scratch_env) time$ which pip
/usr/local/miniconda/envs/scratch_env/bin/pip
(scratch_env) time$ pip install fireworks
(scratch_env) time$ lpad version
-bash: lpad: command not found


Thanks,
Rahul

--
You received this message because you are subscribed to a topic in the Google Groups "fireworkflows" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fireworkflows/5OUVYjhPjLI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fireworkflows+unsubscribe@googlegroups.com.
To post to this group, send email to firewo...@googlegroups.com.
Visit this group at https://groups.google.com/group/fireworkflows.
To view this discussion on the web visit https://groups.google.com/d/msgid/fireworkflows/ff91a752-06ac-44e6-80ef-65b29807a530%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Anubhav Jain

unread,
Mar 7, 2017, 1:49:40 PM3/7/17
to Rahul Biswas, fireworkflows
Hi Rahul,

If you have followed the same commands as me on Mac OS/X, unfortunately I don't have any other suggestions. You can try a fresh install of miniconda from the web site with the Mac binary. Alternatively, you can try the conda install of FireWorks as detailed in the last email rather than pip or github.

Other than that, I wouldn't be able to know more about the problem unless I can reproduce it on my end or hear about it from others. So far this is the first I've heard of this particular issue.

Note also that for some reason, your "which pip" gives:
/usr/local/miniconda/envs/scratch_env/bin/pip

mine for "which pip" gives:
/Users/ajain/miniconda3/envs/scratch_env/bin/pip

suggesting there is a difference in the way anaconda is installed - i.e. usr/local versus /Users/<username> and miniconda vs miniconda3

Best
Anubhav

--
You received this message because you are subscribed to the Google Groups "fireworkflows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireworkflows+unsubscribe@googlegroups.com.

To post to this group, send email to firewo...@googlegroups.com.
Visit this group at https://groups.google.com/group/fireworkflows.

For more options, visit https://groups.google.com/d/optout.



--
Best,
Anubhav

Rahul Biswas

unread,
Mar 7, 2017, 4:23:48 PM3/7/17
to Anubhav Jain, fireworkflows
Hi Anubhav,

1. Good news: I could get the `conda install` you suggested working (at least to the `lpad version` stage) on my osx laptop! No new environment required.

2. But for information on the previous error:

I don't believe my miniconda is very special. During installation, miniconda allows the user  the option of choosing the install location, with the default being ${HOME}/miniconda. In your case you must have accepted that, while I usually choose it to be /usr/local/miniconda .  

Thanks,
Rahul

Anubhav Jain

unread,
Mar 7, 2017, 4:51:26 PM3/7/17
to fireworkflows, AJ...@lbl.gov
Hi Rahul

1 - could you share what changed to fix the issue? Just to document the solution in case anyone else sees this issue

2 - i couldn't tell from the message whether you will still having additional. if that's the case could you submit a new ticket?

Best
Anubhav

Anubhav Jain

unread,
Mar 7, 2017, 4:52:49 PM3/7/17
to fireworkflows, AJ...@lbl.gov
Actually forget #1 - I just realized that you used "conda install" to solve it. So we still don't know why reproducing my steps to use pip doesn't help on your system, but I guess at least we have a way forward.

Rahul Biswas

unread,
Mar 7, 2017, 4:57:37 PM3/7/17
to Anubhav Jain, fireworkflows, Anubhav Jain
Hi Abhunav,

On Tue, Mar 7, 2017 at 1:52 PM, Anubhav Jain <anubh...@gmail.com> wrote:
Actually forget #1 - I just realized that you used "conda install" to solve it. So we still don't know why reproducing my steps to use pip doesn't help on your system, but I guess at least we have a way forward.


Right. I realized you had just missed that earlier. Thanks for the conda pointer! 


For 2. I seem to be good to go for now using the conda install. The `pip install` did not work for reasons I did not understand (and you have the log files for my attempt). If there is additional information that you can think of that would help you deal with this if this issue gets reported again, I would be happy to get those details to you.

Thanks,
Rahul 
Reply all
Reply to author
Forward
0 new messages