Hi Ellie,

I have created the keyspaces as well as virtual environment. But I am still facing the issue.

Thanks,

Priyanka

On Thursday 09 July 2015 10:11 PM, Eleanor Merry wrote:
Hi Priyanka,

Have you set up the Cassandra keyspaces? You can find details of how to do at: 
https://github.com/Metaswitch/crest/blob/dev/docs/development.md#cassandra.

Also, have you set up the virtual Python environment 
(https://github.com/Metaswitch/crest/blob/dev/docs/development.md#setting-up-a-virtualenv)?
 This creates a python executable that is preconfigured to use the correct 
PYTHONPATH to pick up the dependencies in the env directory - you should use 
this python rather than the system python.

Ellie

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Priyanka
Sent: 09 July 2015 08:29
To: [email protected]
Subject: Re: [Clearwater] issue with homestead installation

Hi,
I am getting the following error now when I do sudo make run :

PYTHONPATH=src bash -c 'bin/python src/metaswitch/crest/main.py'
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: telephus.cassandra.ttypes.InvalidRequestException:
InvalidRequestException(why="Keyspace 'homestead_cache' does not exist")

service cassandra status
   * Cassandra is running

Thanks,

Priyanka

On Wednesday 08 July 2015 09:02 PM, Priyanka wrote:
Hi,

We solved the previous issue by setting the PYTHONPATH in Makefile.
Now, when we do make run we are facing another issue:

PYTHONPATH=/home/ubuntu64/crest/bin bash -c
'/home/ubuntu64/crest/bin/python src/metaswitch/crest/main.py'
Traceback (most recent call last):
   File "/home/ubuntu64/crest/bin/python", line 57, in <module>
     exec(compile(__file__f.read(), __file__, "exec"))
   File "src/metaswitch/crest/main.py", line 50, in <module>
     from metaswitch.crest import api
ImportError: No module named crest
make: *** [run] Error 1

Please help me solve it.

Thanks,

Priyanka

On Wednesday 08 July 2015 07:41 PM, Priyanka wrote:
Hi,

I am facing an issue with installation of homestead from source code
on ubuntu12.04.  When I do make run I get the following error:

build/temp.linux-x86_64-2.7/scratch/tmp/easy_install-eBKZeD/pyzmq-13.1.0/temp/timer_createJriB3Y.o:
In function `main':
timer_createJriB3Y.c:(.text+0x15): undefined reference to `timer_create'
collect2: ld returned 1 exit status


Note also that the installation directory must be on sys.path at
runtime for this to work.  (e.g. by being the application's script
directory, by being on PYTHONPATH, or by being added to sys.path by
your code.)

Processing dependencies for setuptools==18.0.1 Finished processing
dependencies for setuptools==18.0.1 Finished processing dependencies
for zc.buildout PYTHONPATH=src bash -c 'bin/python
src/metaswitch/crest/main.py'
make: *** [run] Error 1



Please help me resolve it.

Thanks,

Priyanka
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to