{"action":"created","issue":{"url":"https://api.github.com/repos/opendatakit/briefcase/issues/680","repository_url":"https://api.github.com/repos/opendatakit/briefcase","labels_url":"https://api.github.com/repos/opendatakit/briefcase/issues/680/labels{/name}","comments_url":"https://api.github.com/repos/opendatakit/briefcase/issues/680/comments","events_url":"https://api.github.com/repos/opendatakit/briefcase/issues/680/events","html_url":"https://github.com/opendatakit/briefcase/issues/680","id":380939129,"node_id":"MDU6SXNzdWUzODA5MzkxMjk=","number":680,"title":"Export Data fails","user":{"login":"s13g3lb4um","id":12554805,"node_id":"MDQ6VXNlcjEyNTU0ODA1","avatar_url":"https://avatars0.githubusercontent.com/u/12554805?v=4","gravatar_id":"","url":"https://api.github.com/users/s13g3lb4um","html_url":"https://github.com/s13g3lb4um","followers_url":"https://api.github.com/users/s13g3lb4um/followers","following_url":"https://api.github.com/users/s13g3lb4um/following{/other_user}","gists_url":"https://api.github.com/users/s13g3lb4um/gists{/gist_id}","starred_url":"https://api.github.com/users/s13g3lb4um/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s13g3lb4um/subscriptions","organizations_url":"https://api.github.com/users/s13g3lb4um/orgs","repos_url":"https://api.github.com/users/s13g3lb4um/repos","events_url":"https://api.github.com/users/s13g3lb4um/events{/privacy}","received_events_url":"https://api.github.com/users/s13g3lb4um/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-14T23:53:56Z","updated_at":"2018-11-15T09:00:55Z","closed_at":null,"author_association":"NONE","body":"#### Software versions \r\nBriefcase v1.12.2, openjdk version \"1.8.0_192\", Manjaro 18.0, Aggregate v1.6.1, Collect v1.17.2\r\n\r\n#### Problem description\r\nWhen I try to export data, the next error occur:\r\n\r\n```\r\n2018-11-14 18:21:42,456 [Thread-10] ERROR o.o.briefcase.ui.export.ExportPanel - Error while exporting forms\r\njava.lang.RuntimeException: Error evaluating field 'cargo': The problem was located in calculate expression for /Elecciones_Medellin_V2/GP/cargo\r\nXPath evaluation: cannot handle function 'pulldata'\r\n\tat org.javarosa.core.model.LatestDagBase.evaluateTriggerable(LatestDagBase.java:139)\r\n\tat org.javarosa.core.model.LatestDagBase.doEvaluateTriggerables(LatestDagBase.java:63)\r\n\tat org.javarosa.core.model.Safe2014DagImpl.evaluateTriggerables(Safe2014DagImpl.java:366)\r\n\tat org.javarosa.core.model.Safe2014DagImpl.initializeTriggerables(Safe2014DagImpl.java:452)\r\n\tat org.javarosa.core.model.Safe2014DagImpl.initializeTriggerables(Safe2014DagImpl.java:430)\r\n\tat org.javarosa.core.model.FormDef.initializeTriggerables(FormDef.java:679)\r\n\tat org.javarosa.core.model.FormDef.initialize(FormDef.java:1232)\r\n\tat org.opendatakit.briefcase.export.FormDefinition.lambda$getFormControls$3(FormDefinition.java:123)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)\r\n\tat java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)\r\n\tat java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419)\r\n\tat java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)\r\n\tat java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)\r\n\tat java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)\r\n\tat java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)\r\n\tat java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)\r\n\tat java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)\r\n\tat java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)\r\n\tat java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)\r\n\tat java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)\r\n\tat java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)\r\n\tat java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)\r\n\tat java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)\r\n\tat java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)\r\n\tat java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)\r\n\tat java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)\r\n\tat java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)\r\n\tat java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)\r\n\tat java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)\r\n\tat java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)\r\n\tat java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)\r\n\tat java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n\tat java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)\r\n\tat org.opendatakit.briefcase.export.FormDefinition.getFormControls(FormDefinition.java:128)\r\n\tat org.opendatakit.briefcase.export.FormDefinition.from(FormDefinition.java:111)\r\n\tat org.opendatakit.briefcase.ui.export.ExportPanel.lambda$export$9(ExportPanel.java:201)\r\n\tat java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)\r\n\tat java.util.stream.ReferencePipeline$11$1.accept(ReferencePipeline.java:373)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)\r\n\tat java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)\r\n\tat java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)\r\n\tat java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401)\r\n\tat java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734)\r\n\tat java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160)\r\n\tat java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174)\r\n\tat java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)\r\n\tat java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)\r\n\tat org.opendatakit.briefcase.ui.export.ExportPanel.export(ExportPanel.java:188)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nCaused by: org.javarosa.xpath.XPathUnhandledException: The problem was located in calculate expression for /Elecciones_Medellin_V2/GP/cargo\r\nXPath evaluation: cannot handle function 'pulldata'\r\n\tat org.javarosa.xpath.expr.XPathFuncExpr.eval(XPathFuncExpr.java:444)\r\n\tat org.javarosa.xpath.XPathConditional.evalRaw(XPathConditional.java:71)\r\n\tat org.javarosa.core.model.condition.Triggerable.evalRaw(Triggerable.java:219)\r\n\tat org.javarosa.core.model.condition.Recalculate.eval(Recalculate.java:63)\r\n\tat org.javarosa.core.model.condition.Triggerable.apply(Triggerable.java:152)\r\n\tat org.javarosa.core.model.LatestDagBase.evaluateTriggerable(LatestDagBase.java:125)\r\n\t... 78 common frames omitted\r\n```\r\n\r\n#### Steps to reproduce the problem\r\n1. Connect to Aggregate server \r\n2. Pull Data from a form\r\n3 go to export tab, select the form  an click on export \r\n#### Expected behavior\r\nExport data without problems \r\n\r\n#### Other information \r\nthe xml form definition and media data are attached \r\n[Elecciones Medellin V2.zip](https://github.com/opendatakit/briefcase/files/2583106/Elecciones.Medellin.V2.zip)"},"comment":{"url":"https://api.github.com/repos/opendatakit/briefcase/issues/comments/438966879","html_url":"https://github.com/opendatakit/briefcase/issues/680#issuecomment-438966879","issue_url":"https://api.github.com/repos/opendatakit/briefcase/issues/680","id":438966879,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODk2Njg3OQ==","user":{"login":"ggalmazor","id":205913,"node_id":"MDQ6VXNlcjIwNTkxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/205913?v=4","gravatar_id":"","url":"https://api.github.com/users/ggalmazor","html_url":"https://github.com/ggalmazor","followers_url":"https://api.github.com/users/ggalmazor/followers","following_url":"https://api.github.com/users/ggalmazor/following{/other_user}","gists_url":"https://api.github.com/users/ggalmazor/gists{/gist_id}","starred_url":"https://api.github.com/users/ggalmazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggalmazor/subscriptions","organizations_url":"https://api.github.com/users/ggalmazor/orgs","repos_url":"https://api.github.com/users/ggalmazor/repos","events_url":"https://api.github.com/users/ggalmazor/events{/privacy}","received_events_url":"https://api.github.com/users/ggalmazor/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T09:00:55Z","updated_at":"2018-11-15T09:00:55Z","author_association":"MEMBER","body":"Hi, @s13g3lb4um!\r\n\r\nCould you try to reproduce your issue with new v1.13.0-beta.0 release, please? You can get it here: [ODK-Briefcase-v1.13.0-beta.0.jar](https://github.com/opendatakit/briefcase/releases/download/v1.13.0-beta.0/ODK-Briefcase-v1.13.0-beta.0.jar)"}}
{"actor":{"display_login":"ggalmazor"}}