I saw it. Actually I came accross some problems with lists/dicts before, but I did not had the time to investigate it back then. If I remember correctly then I could not use the keys() function of a dictionary that was returned from the server. I will do some tests again during the week.
Rüdiger 2011/5/4 Tomer Filiba <[email protected]> > see https://github.com/tomerfiliba/rpyc/issues/41 for more details... > it's very strange. > > > An NCO and a Gentleman > > > On Wed, May 4, 2011 at 23:50, Rüdiger Kessel <[email protected]>wrote: > >> Sorry, >> >> I signed up with github now. So future issues will be put there. >> >> Rüdiger >> >> >> >> 2011/5/4 Tomer Filiba <[email protected]> >> >>> never mind, i'll open one myself. >>> i created a code snippet that reconstructs the issue. >>> >>> >>> -tomer >>> >>> An NCO and a Gentleman >>> >>> >>> On Wed, May 4, 2011 at 23:11, Tomer Filiba <[email protected]>wrote: >>> >>>> hi rudiger, >>>> >>>> could you please open an issue in github? >>>> >>>> >>>> -tomer >>>> >>>> An NCO and a Gentleman >>>> >>>> >>>> >>>> On Wed, May 4, 2011 at 19:05, Rüdiger <[email protected]>wrote: >>>> >>>>> Hi, >>>>> >>>>> I have a strange cross platform problem: >>>>> >>>>> My server is an ubuntu (64 bit) with python 2.6.5 and rpyc 3.1.0 and >>>>> my client is a Windows 7 client with Python 2.5.4 with rpyc 3.1.0. >>>>> >>>>> The exposed function on the server takes a list as a parameter. >>>>> >>>>> If I use the following statement on the server, I get an error: >>>>> >>>>> def exposed_test(self,mylist): >>>>> for x in mylist[1:]: >>>>> >>>>> The error is "OverflowError: long int too large to convert to int" >>>>> >>>>> If I relace the statement by the following line, everything works >>>>> fine: >>>>> >>>>> def exposed_test(self,mylist): >>>>> for i in range(1,len(mylist)): >>>>> x=mylist[i] >>>>> >>>>> There is no problem if client and server run on the same platform. >>>>> >>>>> I guess it is a type conversion problem deep in the netref code, but I >>>>> could not find it, yet. >>>>> >>>>> Has anybody an idea? >>>>> >>>>> Greetings >>>>> Rüdiger >>>>> >>>> >>>> >>> >> >
