Re: Path problems when I am in bash

2015-12-30 Thread xeon Mailinglist
On Wednesday, December 30, 2015 at 2:30:40 AM UTC, Karim wrote: > On 30/12/2015 00:21, xeon Mailinglist wrote: > > I have my source code inside the directory `medusa`, and my unit tests > > inside `tests` dir. Both dirs are inside `medusa-2.0` dir. Here is my file > > struct

Path problems when I am in bash

2015-12-29 Thread xeon Mailinglist
I have my source code inside the directory `medusa`, and my unit tests inside `tests` dir. Both dirs are inside `medusa-2.0` dir. Here is my file structure [1]. When I run my tests inside pycharm, everything works fine, but when I try to run my unit tests inside in the prompt [2], the `schedul

Re: Cannot get the value from dogpile.cache from different modules.

2015-12-29 Thread xeon Mailinglist
On Tuesday, December 29, 2015 at 7:23:40 PM UTC, Mark Lawrence wrote: > On 29/12/2015 17:27, xeon Mailinglist wrote: > > On Tuesday, December 29, 2015 at 5:15:24 PM UTC, Mark Lawrence wrote: > >> On 29/12/2015 15:20, xeon Mailinglist wrote: > >>> On Tuesday, Decemb

Re: Cannot get the value from dogpile.cache from different modules.

2015-12-29 Thread xeon Mailinglist
On Tuesday, December 29, 2015 at 5:38:17 PM UTC, xeon Mailinglist wrote: > On Tuesday, December 29, 2015 at 5:33:43 PM UTC, Peter Otten wrote: > > xeon Mailinglist wrote: > > > > > On Tuesday, December 29, 2015 at 4:18:10 PM UTC, Peter Otten wrote: >

Re: Cannot get the value from dogpile.cache from different modules.

2015-12-29 Thread xeon Mailinglist
On Tuesday, December 29, 2015 at 5:33:43 PM UTC, Peter Otten wrote: > xeon Mailinglist wrote: > > > On Tuesday, December 29, 2015 at 4:18:10 PM UTC, Peter Otten wrote: > >> xeon Mailinglist wrote: > >> > >> > On Tuesday, December 29, 2015 at 11:1

Re: Cannot get the value from dogpile.cache from different modules.

2015-12-29 Thread xeon Mailinglist
On Tuesday, December 29, 2015 at 5:15:24 PM UTC, Mark Lawrence wrote: > On 29/12/2015 15:20, xeon Mailinglist wrote: > > On Tuesday, December 29, 2015 at 11:16:10 AM UTC, xeon Mailinglist wrote: > >> 1. How do I create a global variable that can be accessed by all classes? >

Re: Cannot get the value from dogpile.cache from different modules.

2015-12-29 Thread xeon Mailinglist
On Tuesday, December 29, 2015 at 5:15:24 PM UTC, Mark Lawrence wrote: > On 29/12/2015 15:20, xeon Mailinglist wrote: > > On Tuesday, December 29, 2015 at 11:16:10 AM UTC, xeon Mailinglist wrote: > >> 1. How do I create a global variable that can be accessed by all classes? >

Re: Cannot get the value from dogpile.cache from different modules.

2015-12-29 Thread xeon Mailinglist
On Tuesday, December 29, 2015 at 4:18:10 PM UTC, Peter Otten wrote: > xeon Mailinglist wrote: > > > On Tuesday, December 29, 2015 at 11:16:10 AM UTC, xeon Mailinglist wrote: > >> 1. How do I create a global variable that can be accessed by all classes? > >> > &g

Re: Cannot get the value from dogpile.cache from different modules.

2015-12-29 Thread xeon Mailinglist
On Tuesday, December 29, 2015 at 11:16:10 AM UTC, xeon Mailinglist wrote: > 1. How do I create a global variable that can be accessed by all classes? > > 2. I am using `dogpile.cache` to store data in the cache [1], but if I set > and get the same key from different modules, I d

Cannot get the value from dogpile.cache from different modules.

2015-12-29 Thread xeon Mailinglist
1. How do I create a global variable that can be accessed by all classes? 2. I am using `dogpile.cache` to store data in the cache [1], but if I set and get the same key from different modules, I don't get the value. Here is an example in [2]. The value than I get is `NO_VALUE.NO_VALUE`. Why thi

celery errors in eclipse

2014-06-18 Thread xeon Mailinglist
I am using celery in my program to invoke remote functions using a message queueing service (RabbitMQ). I call my function with celery with this: myfunc.apply_async(queue=cluster, args=(chain, cluster, )), but although the call is correct and it works, in eclipse I get the error that "undefin

Re: process do not join?

2014-04-04 Thread xeon Mailinglist
This log came when I launched the command: python -m trace --trace myclass.py On Saturday, April 5, 2014 3:18:34 AM UTC+1, xeon Mailinglist wrote: > I am trying to debug my program that launch processes to run a function to > copy data between hosts located really far away from each othe

process do not join?

2014-04-04 Thread xeon Mailinglist
I am trying to debug my program that launch processes to run a function to copy data between hosts located really far away from each other. The end of my function are in the orders.py and mergedirs.py. >From this point onwards, in is python code. The problem is that this code >hangs in the las