labrad / servers

LabRAD servers
24 stars 21 forks source link

GHz FPGAs crashes after update to direct ethernet update to v1.2.1 #239

Closed btchiaro closed 9 years ago

btchiaro commented 9 years ago

Scans occasionally, but not always, crash after restarting the new direct ethernet server and / or GHz FPGA server. Below is the traceback.

In [4]: bq.t1(s,['q1'])

---------------------------------------------------------------------------

Error                                     Traceback (most recent call last)

<ipython-input-4-d20fc77930c7> in <module>()

----> 1 bq.t1(s,['q1'])

/home/ben/pyleBen/pyle/pyle/dataking/batch_qubit.pyc in t1(Sample, measure, delay, state, stats, name, save, collect, noisy, **kwargs)

    521 

    522     data = sweeps.grid(func, axes, dataset=dataset, save=save, noisy=noisy,

--> 523                        **kwargs)

    524 

    525     if collect:

/home/ben/pyleBen/pyle/pyle/dataking/sweeps.pyc in grid(func, axes, dataset, **kw)

    320         dataset=dataset,

    321         abortPrefix=[1],

--> 322         **kw

    323     )

    324 

/home/ben/pyleBen/pyle/pyle/dataking/sweeps.pyc in _run(func, sweep, save, dataset, abortable, abortPrefix, collect, noisy, pipesize)

    219         params = dataset.params

    220         name = dataset.name

--> 221         data = np.vstack(it)

    222         kwargs = {'number': dataset.num, 'path': dataset.path} if save else {}

    223         return pyle.datavault.LocalDataSet(data, independents, dependents,

/usr/local/lib/python2.7/dist-packages/numpy/core/shape_base.pyc in vstack(tup)

    226 

    227     """

--> 228     return _nx.concatenate([atleast_2d(_m) for _m in tup], 0)

    229 

    230 def hstack(tup):

/home/ben/pyleBen/pyle/pyle/datasaver.pyc in capture(self, iterable)

    146         """

    147         with self as dataset:

--> 148             for data in iterable:

    149                 dataset.add(data)

    150                 yield data

/home/ben/pyleBen/pyle/pyle/pipeline.pyc in gen()

     99             runners.append(runner)

    100             if len(runners) >= size:

--> 101                 done, result = advance()

    102                 if done:

    103                     yield result

/home/ben/pyleBen/pyle/pyle/pipeline.pyc in advance()

     80             # loop over runners, advancing until one completes

     81             for runner in itertools.cycle(runners):

---> 82                 runner.advance()

     83                 if runner.done:

     84                     break

/home/ben/pyleBen/pyle/pyle/pipeline.pyc in advance(self)

    123         if not self.done:

    124             try:

--> 125                 self.gen.next()

    126             except _DefGen_Return, e:

    127                 self.done = True

/home/ben/pyleBen/pyle/pyle/pipeline.pyc in _run(gen)

    173             elif is_generator(result):

    174                 try:

--> 175                     for _ in _run(result):

    176                         yield

    177                     result = None

/home/ben/pyleBen/pyle/pyle/pipeline.pyc in _run(gen)

    170                     result = result.wait()

    171                 except Exception, e:

--> 172                     result = gen.throw(e)

    173             elif is_generator(result):

    174                 try:

/home/ben/pyleBen/pyle/pyle/dataking/batch_qubit.pyc in func(curr_delay)

    516         jt_alg.compile()

    517 

--> 518         data = yield Sample.run(jt_alg, stats, dataFormat='iqRaw')

    519         probs = ro.unpack_readout_probs(data, qubits, measure)

    520         returnValue(probs)

Error: (0) java.util.concurrent.ExecutionException: org.labrad.errors.LabradException: [GHz FPGAs] Remote Traceback (most recent call last):

  File "C:\pylabrad\labrad\server.py", line 262, in handleRequest

    result = yield setting.handleRequest(self, c.data, data)

  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1097, in _inlineCallbacks

    result = result.throwExceptionIntoGenerator(g)

  File "C:\Python27\lib\site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator

    return g.throw(self.type, self.value, self.tb)

  File "ghz_fpga_server.py", line 1491, in run_sequence

    timingOrder)

  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1097, in _inlineCallbacks

    result = result.throwExceptionIntoGenerator(g)

  File "C:\Python27\lib\site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator

    return g.throw(self.type, self.value, self.tb)

  File "ghz_fpga_server.py", line 634, in run

    yield loadDone  # wait until load is finished.

  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1099, in _inlineCallbacks

    result = g.send(result)

  File "ghz_fpga_server.py", line 822, in sendAll

    raise Exception(msg)

exceptions.Exception: Error(s) occured during Load:

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,32). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,30). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,28). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,26). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,24). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,22). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,4). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,6). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,8). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,10). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,12). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,14). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)

at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)

at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)

at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)

at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)

at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 [payload=None]

Traceback (failure with no frames): <class 'labrad.types.Error'>: (0) java.lang.RuntimeException: context: Context(10,18). must connect to an adapter first

at scala.sys.package$.error(package.scala:27)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext$$anonfun$bus$1.apply(DirectEthernet.scala:63)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.bus(DirectEthernet.scala:63)

at org.labrad.ethernet.server.EthernetContext.org$labrad$ethernet$server$EthernetContext$$busMac(DirectEthernet.scala:67)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at org.labrad.ethernet.server.EthernetContext$$anonfun$7.apply(DirectEthernet.scala:282)

at scala.Option.getOrElse(Option.scala:121)

at org.labrad.ethernet.server.EthernetContext.write(DirectEthernet.scala:282)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror1.jinvokeraw(JavaMirrors.scala:373)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)

at scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:187)

at org.labrad.SettingHandler$$anonfun$org$labrad$SettingHandler$$invoke$1.apply(SettingHandler.scala:185)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:52)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:197)

at org.labrad.SettingHandler$$anon$1.apply(SettingHandler.scala:195)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4$$anonfun$apply$5.apply(reflect.scala:48)

at scala.Option.map(Option.scala:146)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:48)

at org.labrad.Reflect$$anonfun$15$$anonfun$apply$4.apply(reflect.scala:47)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:174)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1$$anonfun$apply$7.apply(Server.scala:159)

at org.labrad.Server$.handle(Server.scala:218)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.Server$$anonfun$org$labrad$Server$$handleRequest$1.apply(Server.scala:159)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:83)

at org.labrad.util.AsyncSemaphore$$anonfun$map$1.apply(AsyncSemaphore.scala:82)

at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)

at scala.util.Try$.apply(Try.scala:192)

at scala.util.Success.map(Try.scala:237)

at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
maffoo commented 9 years ago

The error message is in there, if rather obscured by the verbose traceback: context: (10,14). must connect to an adapter first. This must be an issue with the ghz_fpga_server not properly setting up its communication with the direct ethernet server after the server restarts.

maffoo commented 9 years ago

Just realized that the problem here is almost certainly the same as #235. The board group doesn't get removed when the direct ethernet server restarts, so the gha fpga server doesn't reestablish its contexts.

maffoo commented 9 years ago

@btchiaro: closed this based on the assumption that it's the same issue as #235. If you encounter further problems, please reopen or raise a new issue.