text:
Error when trying to run in cluster mode

I got an exception when trying to run in cluster mode jdbc query with spark cluster but it work ok with sample query
query = "message = 'Hello World'; \n"                 + "result = select cast(unix_timestamp() as timestamp) as time, '${message}' as message; \n"                 + "printTable(result);";
Receive an exception
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
ENV:
HADOOP 2.6.0
SPARK 2.0.0
SCALA 2.11.8
DockerFile
FROM openjdk:8u212-jre-stretch
MAINTAINER Getty Images "https://github.com/gettyimages"

RUN apt-get update \
 && apt-get install -y locales \
 && dpkg-reconfigure -f noninteractive locales \
 && locale-gen C.UTF-8 \
 && /usr/sbin/update-locale LANG=C.UTF-8 \
 && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
 && locale-gen \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

# Users with other locales should set this in their derivative image
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

RUN apt-get update \
 && apt-get install -y curl unzip \
    python3 python3-setuptools \
 && ln -s /usr/bin/python3 /usr/bin/python \
 && easy_install3 pip py4j \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

# http://blog.stuart.axelbrooke.com/python-3-on-spark-return-of-the-pythonhashseed
ENV PYTHONHASHSEED 0
ENV PYTHONIOENCODING UTF-8
ENV PIP_DISABLE_PIP_VERSION_CHECK 1

# SCALA
ENV SCALA_HOME /usr/local/scala
ENV PATH $PATH:$SCALA_HOME/bin
ENV SCALA_VERSION=2.11.8
ENV SCALA_BINARY_ARCHIVE_NAME=scala-${SCALA_VERSION}
RUN curl -sL --retry 3 \
  "http://downloads.lightbend.com/scala/${SCALA_VERSION}/${SCALA_BINARY_ARCHIVE_NAME}.tgz" \
  | gunzip \
  | tar x -C /usr/ \
 && mv /usr/$SCALA_BINARY_ARCHIVE_NAME $SCALA_HOME \
 && chown -R root:root $SCALA_HOME

# HADOOP
ENV HADOOP_VERSION 2.6.0
ENV HADOOP_HOME /usr/hadoop-$HADOOP_VERSION
ENV HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop
ENV PATH $PATH:$HADOOP_HOME/bin
RUN curl -sL --retry 3 \
  "http://archive.apache.org/dist/hadoop/common/hadoop-$HADOOP_VERSION/hadoop-$HADOOP_VERSION.tar.gz" \
  | gunzip \
  | tar -x -C /usr/ \
 && rm -rf $HADOOP_HOME/share/doc \
 && chown -R root:root $HADOOP_HOME

# SPARK
ENV SPARK_VERSION 2.0.0
ENV SPARK_PACKAGE spark-${SPARK_VERSION}-bin-without-hadoop
ENV SPARK_HOME /usr/spark-${SPARK_VERSION}
ENV SPARK_DIST_CLASSPATH="$HADOOP_HOME/etc/hadoop/*:$HADOOP_HOME/share/hadoop/common/lib/*:$HADOOP_HOME/share/hadoop/common/*:$HADOOP_HOME/share/hadoop/hdfs/*:$HADOOP_HOME/share/hadoop/hdfs/lib/*:$HADOOP_HOME/share/hadoop/hdfs/*:$HADOOP_HOME/share/hadoop/yarn/lib/*:$HADOOP_HOME/share/hadoop/yarn/*:$HADOOP_HOME/share/hadoop/mapreduce/lib/*:$HADOOP_HOME/share/hadoop/mapreduce/*:$HADOOP_HOME/share/hadoop/tools/lib/*"
ENV PATH $PATH:${SPARK_HOME}/bin
RUN curl -sL --retry 3 \
  "https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${SPARK_PACKAGE}.tgz" \
  | gunzip \
  | tar x -C /usr/ \
 && mv /usr/$SPARK_PACKAGE $SPARK_HOME \
 && chown -R root:root $SPARK_HOME

WORKDIR $SPARK_HOME
CMD ["bin/spark-class", "org.apache.spark.deploy.master.Master"]

LOG IN WORKER
19/04/25 08:22:02 INFO executor.CoarseGrainedExecutorBackend: Started daemon with process name: 69@worker
19/04/25 08:22:02 INFO util.SignalUtils: Registered signal handler for TERM
19/04/25 08:22:02 INFO util.SignalUtils: Registered signal handler for HUP
19/04/25 08:22:02 INFO util.SignalUtils: Registered signal handler for INT
19/04/25 08:22:03 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
19/04/25 08:22:03 INFO spark.SecurityManager: Changing view acls to: root,minh
19/04/25 08:22:03 INFO spark.SecurityManager: Changing modify acls to: root,minh
19/04/25 08:22:03 INFO spark.SecurityManager: Changing view acls groups to:
19/04/25 08:22:03 INFO spark.SecurityManager: Changing modify acls groups to:
19/04/25 08:22:03 INFO spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root, minh); groups with view permissions: Set(); users  with modify permissions: Set(root, minh); groups with modify permissions: Set()
19/04/25 08:22:04 INFO client.TransportClientFactory: Successfully created connection to /192.168.1.30:49645 after 131 ms (0 ms spent in bootstraps)
19/04/25 08:22:04 INFO spark.SecurityManager: Changing view acls to: root,minh
19/04/25 08:22:04 INFO spark.SecurityManager: Changing modify acls to: root,minh
19/04/25 08:22:04 INFO spark.SecurityManager: Changing view acls groups to:
19/04/25 08:22:04 INFO spark.SecurityManager: Changing modify acls groups to:
19/04/25 08:22:04 INFO spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root, minh); groups with view permissions: Set(); users  with modify permissions: Set(root, minh); groups with modify permissions: Set()
19/04/25 08:22:04 INFO client.TransportClientFactory: Successfully created connection to /192.168.1.30:49645 after 3 ms (0 ms spent in bootstraps)
19/04/25 08:22:04 INFO storage.DiskBlockManager: Created local directory at /tmp/spark-e0cb993b-9c4d-443a-b3d0-c8b9946646b5/executor-a5ec3ac7-87b7-4903-a473-fa6ef78bf065/blockmgr-376f7e53-4a2b-41b5-bc30-b740116e09de
19/04/25 08:22:04 INFO memory.MemoryStore: MemoryStore started with capacity 366.3 MB
19/04/25 08:22:05 INFO executor.CoarseGrainedExecutorBackend: Connecting to driver: spark://CoarseGrainedScheduler@192.168.1.30:49645
19/04/25 08:22:05 INFO worker.WorkerWatcher: Connecting to worker spark://Worker@172.23.0.3:8881
19/04/25 08:22:05 INFO client.TransportClientFactory: Successfully created connection to /172.23.0.3:8881 after 6 ms (0 ms spent in bootstraps)
19/04/25 08:22:05 INFO worker.WorkerWatcher: Successfully connected to spark://Worker@172.23.0.3:8881
19/04/25 08:22:05 INFO executor.CoarseGrainedExecutorBackend: Successfully registered with driver
19/04/25 08:22:05 INFO executor.Executor: Starting executor ID 0 on host 172.23.0.3
19/04/25 08:22:05 INFO util.Utils: Successfully started service 'org.apache.spark.network.netty.NettyBlockTransferService' on port 41581.
19/04/25 08:22:05 INFO netty.NettyBlockTransferService: Server created on 172.23.0.3:41581
19/04/25 08:22:05 INFO storage.BlockManagerMaster: Registering BlockManager BlockManagerId(0, 172.23.0.3, 41581)
19/04/25 08:22:05 INFO storage.BlockManagerMaster: Registered BlockManager BlockManagerId(0, 172.23.0.3, 41581)
19/04/25 08:22:05 INFO executor.CoarseGrainedExecutorBackend: Got assigned task 0
19/04/25 08:22:05 INFO executor.CoarseGrainedExecutorBackend: Got assigned task 1
19/04/25 08:22:05 INFO executor.Executor: Running task 1.0 in stage 0.0 (TID 1)
19/04/25 08:22:05 INFO executor.Executor: Running task 0.0 in stage 0.0 (TID 0)
19/04/25 08:22:05 INFO broadcast.TorrentBroadcast: Started reading broadcast variable 0
19/04/25 08:22:05 INFO client.TransportClientFactory: Successfully created connection to /192.168.1.30:49647 after 4 ms (0 ms spent in bootstraps)
19/04/25 08:22:05 INFO memory.MemoryStore: Block broadcast_0_piece0 stored as bytes in memory (estimated size 1750.0 B, free 366.3 MB)
19/04/25 08:22:05 INFO broadcast.TorrentBroadcast: Reading broadcast variable 0 took 254 ms
19/04/25 08:22:06 INFO memory.MemoryStore: Block broadcast_0 stored as values in memory (estimated size 2.6 KB, free 366.3 MB)
19/04/25 08:22:06 ERROR executor.Executor: Exception in task 0.0 in stage 0.0 (TID 0)
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2287)
	at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1417)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2293)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
	at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:75)
	at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:114)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
	at org.apache.spark.scheduler.Task.run(Task.scala:85)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
19/04/25 08:22:06 ERROR executor.Executor: Exception in task 1.0 in stage 0.0 (TID 1)
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2287)
	at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1417)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2293)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
	at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:75)
	at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:114)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
	at org.apache.spark.scheduler.Task.run(Task.scala:85)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
19/04/25 08:22:06 INFO executor.CoarseGrainedExecutorBackend: Got assigned task 2
19/04/25 08:22:06 INFO executor.Executor: Running task 0.1 in stage 0.0 (TID 2)
19/04/25 08:22:06 INFO executor.CoarseGrainedExecutorBackend: Got assigned task 3
19/04/25 08:22:06 INFO executor.Executor: Running task 1.1 in stage 0.0 (TID 3)
19/04/25 08:22:06 ERROR executor.Executor: Exception in task 1.1 in stage 0.0 (TID 3)
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2287)
	at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1417)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2293)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
	at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:75)
	at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:114)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
	at org.apache.spark.scheduler.Task.run(Task.scala:85)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
19/04/25 08:22:06 ERROR executor.Executor: Exception in task 0.1 in stage 0.0 (TID 2)
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2287)
	at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1417)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2293)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
	at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:75)
	at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:114)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
	at org.apache.spark.scheduler.Task.run(Task.scala:85)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
19/04/25 08:22:06 INFO executor.CoarseGrainedExecutorBackend: Got assigned task 4
19/04/25 08:22:06 INFO executor.Executor: Running task 0.2 in stage 0.0 (TID 4)
19/04/25 08:22:06 INFO executor.CoarseGrainedExecutorBackend: Got assigned task 5
19/04/25 08:22:06 INFO executor.Executor: Running task 1.2 in stage 0.0 (TID 5)
19/04/25 08:22:06 ERROR executor.Executor: Exception in task 0.2 in stage 0.0 (TID 4)
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2287)
	at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1417)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2293)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
	at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:75)
	at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:114)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
	at org.apache.spark.scheduler.Task.run(Task.scala:85)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
19/04/25 08:22:06 ERROR executor.Executor: Exception in task 1.2 in stage 0.0 (TID 5)
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2287)
	at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1417)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2293)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
	at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:75)
	at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:114)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
	at org.apache.spark.scheduler.Task.run(Task.scala:85)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
19/04/25 08:22:06 INFO executor.CoarseGrainedExecutorBackend: Got assigned task 6
19/04/25 08:22:06 INFO executor.Executor: Running task 0.3 in stage 0.0 (TID 6)
19/04/25 08:22:06 ERROR executor.Executor: Exception in task 0.3 in stage 0.0 (TID 6)
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2287)
	at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1417)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2293)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
	at org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:75)
	at org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:114)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
	at org.apache.spark.scheduler.Task.run(Task.scala:85)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
19/04/25 08:22:06 INFO executor.CoarseGrainedExecutorBackend: Driver commanded a shutdown
19/04/25 08:22:06 INFO executor.CoarseGrainedExecutorBackend: Driver from 192.168.1.30:49645 disconnected during shutdown
19/04/25 08:22:06 INFO executor.CoarseGrainedExecutorBackend: Driver from 192.168.1.30:49645 disconnected during shutdown
19/04/25 08:22:06 INFO memory.MemoryStore: MemoryStore cleared
river from 192.168.1.30:49645 disconnected during shutdown

Just resolved it with
set("spark.jars", "/Users/minh/Desktop/vato/UberScriptQuery/target/UberScriptQuery-1.1.01.jar");

repo: uber/uberscriptquery


text:
Live streaming source converter example or specification needed

Hi I am a soft engineer interested in this great project.
I've noticed  the word "Real-Time  Transfer and Visualization of Autonomy Data"  in ur website and  ur spec also named out that a running system source  is supported , but I cant find any example or spec about how to create a converter from a running system source in this project, while there are two types of  static log file converter in this project .
Could u please give me some guide about how to build a converter for a running system source, because I  really want to apply this amazing tool on a running vehicle system.
Highest respect.

Since this system requires a conversion to XVIZ, there has to be a piece of software that performs this conversion somewhere.  That is Step 1.  Step 2 is the transferring of that data to a client, in our examples we use a websocket server to communicate with.
With those satisfied you can stream live data to the web application. If your platform is ROS based, various people on our slack room have mentioned they have made this work with https://github.com/RobotWebTools/roslibjs, though I have not had the chance to setup a system to replicate this.
We are working on some MVP ROS Support, but it will not cover the live conversion case yet just the BAG support.  However it will provide a structure and server that should make that live support a bit easier.

Hi @twojtasz , thanks for you work on this. I want to write a python server to serve our data and I meet similar problem. Is there any documentation for live data stream? Does the data feed from websocket differ from ones contained in the .glb files? Actually as long as the protocol is clear for live stream, I can quickly build a python server/converter.

source: gharchive/issue

authors: AndyBoat cmpute twojtasz

repo: uber/xviz

license_type: permissive

license_source: github-api


text:
Manual Testing CI mention @ubiquity-qa

We should replace tagging @Draeieg to "automatically add to the QA Project Board" in the CI to a new account @ubiquity-qa
I think this is more professional to have a dedicated QA account. It also makes the intent of this action more clear I think. I've received questions from bounty hunters around why they need to tag this specific handle when they review the CI  code.

Agree to tag @ubiquity-qa account. Looks like more professional

repo: ubiquity/ubiquibot

license: MIT


text:
Update GroupActionCollection.php

na PHP/7.0.18
syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)

Shoot, sorry, forgot that, it should be in next version. Thanks.

source: gharchive/pull-request

authors: paveljanda vojtys

repo: ublaboo/datagrid

license: mit

license_source: bigquery


text:
boost error when executing make

I could successfully make the  old clipper source code (cloned on March). But I came across the following boost error when  I executed make  instruction after I updated the new clipper source code today.
../libclipper/libclipper.a(query_processor.cpp.o): In function boost::detail::shared_state_base::set_exception_at_thread_exit(boost::exception_ptr)': /home/guest/tools/boost-1.60.0/include/boost-1_60/boost/thread/future.hpp:434: undefined reference to boost::detail::make_ready_at_thread_exit(boost::shared_ptrboost::detail::shared_state_base)'
../libclipper/libclipper.a(query_processor.cpp.o): In function boost::detail::shared_state<void>::set_value_at_thread_exit()': /home/guest/tools/boost-1.60.0/include/boost-1_60/boost/thread/future.hpp:791: undefined reference to boost::detail::make_ready_at_thread_exit(boost::shared_ptrboost::detail::shared_state_base)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/frontends/query_frontend] Error 1
make[1]: *** [src/frontends/CMakeFiles/query_frontend.dir/all] Error 2
make: *** [all] Error 2

The build is passing so this is likely a problem with your environment. Here are some debugging steps to try.

Run ./configure --cleanup to fully clean the repository.
Run git submodule update --init && git submodule update --checkout to make sure all the Git submodules are fully synced.
Try building with vagrant (there are instructions in the README) which has all of the correct dependencies. If the vagrant build works fine, then it is likely a problem with one of your dependencies (maybe Boost based on the output you selected).

authors: AirAI dcrankshaw

repo: ucbrise/clipper


text:
Add Resource: Modulo 10 clock

Artwork here: https://drive.google.com/file/d/0B-SN1PgPBbCYR3o1ZEpLNGQyc0U/view

https://drive.google.com/open?id=0B-SN1PgPBbCYVDVSa2JpVUQtR1U

authors: hayleyavw saranglove

repo: uccser/cs-unplugged


text:
Create a leaflet map

Goals

Need to get familiar with leaflet and relevant packages like folium.
Need to get better understanding of backend needs for leaflet.

Acceptance criteria:
Create a basic map in leaflet that allows us to:

Zoom in/zoom out
Search for places on the map
Select a layer

Resolved by a lot of other issues and PRs already

authors: lisette-solis mbjackson-capp


text:
New Dev Documentation

Before we are finished in June (ideally before) there needs to be installation documentation for a new dev to begin making contributions.
This includes

Module installation
Brief architecture overview
ROS-specific things
Conventions for docstrings, names, branching, etc.
Guide -- how to make a PR

Add this to documentation website & update README to include it.

Resolved 61ea48378cde3e18bcf1d49e964d32da5297dfbf

repo: uci-uav-forge/odcl


text:
Setup Scrapping from AWS automatically

Every 24 hours at 4am(no one is awake) sounds good

I am awake at 4 am

authors: TrinaKat jsfuentes

repo: ucladevx/Mappening-Backend


text:
Add Holiday Service and Tests

In this PR, I added a service that wraps the public holiday API from
"https://date.nager.at/api/v2/publicholidays/{year}/{countryCode}"
Closes #7

services is working looks good to me

looks good to me, can merge pull request


text:
‘git' is not recogonized

Hi,
I installed Anaconda environment miniconda v 4.3.13, but when I open the Anaconda prompt and run the first line "git clone https://github.com/udacity/CarND-Term1-Starter-Kit.git ", it says: 'git' is not recognized as an internal or external command, operable program or batch file.
Could someone help me with this issue?
Thanks!

@siyingliu1112 This means you don't have git installed or it's not in your PATH.
https://git-scm.com/downloads


text:
Information leakage in Project 1

There's information leakage problem in project 1 where entire data is first normalized and then splitted into training and test sets.

Updated the code in the classroom.

repo: udacity/deep-learning


text:
T05a.03-Solution: Bug with writing onStop in the TextView

"onStop" is written twice instead of once in the TextView (as shown in the screenshot) if you follow these steps:

run the app
press the "Overview" or "Recents" device button
press the image to restart the Lifecycle app in the "Overview"
rotate the device (I started with horizontal orientation, just to be able to take a vertical orientation screenshot)

To solve this bug, you could add to onRestart() the following line:
mLifecycleCallbacks.clear();
The bug happens because, after pressing the "Overview" device button, the "onStop" String is added to mLifecycleCallbacks and also to the TextView (it's just that it's not visible). Then onRestart gets called, and now the activity's mLifecycleCallbacks incorrectly contains an "onStop" String, that will eventually be printed to the TextView again if onCreate gets called.

Unable to duplicate.

authors: cristianberroeta johnshea


text:
Can't figure out how to use the module from ansible-galaxy

I'm fairly new to ansible, so maybe I'm missing something really obvious, but when I put the example code from the readme in my playbook like this:
- name: Kill own ssh connections
  ssh-reconnect:

I get this:
ERROR! 'ssh-reconnect' is not a valid attribute for a Play
I've installed from ansible galaxy like ansible-galaxy install udondan.ssh-reconnect and my .ansible.cfg has roles_path=~/ansible-roles so after installing I have a ~/ansible-roles/udondan.ssh-reconnect/ folder with stuff in it, but I'm not sure how to get ansible to look there for the ssh-reconnect module.
I've tried various settings for library= in the .cfg, or setting ANSIBLE_LIBRARY= when running my playbook, but can't seem to get it right. Am I going about it wrong?  A hint in the readme about how to consume this would be useful.  I've used roles from ansible-galaxy successfully, but can't find much on consuming modules from there.

@bjornicus I just set the following in my requirements.yml:
- name: ssh-reconnect
  src: git@github.com:udondan/ansible-role-ssh-reconnect.git
  scm: git

as far as role availability, just make sure that the role is invoked before you are calling it directly with a task or handler, ie lik eadding to the meta.yml of the role that you are writing/working on:
---
dependencies:
  - { role: udondan.ssh-reconnect, become: yes, tags: [ssh-reconnect] }

authors: bjornicus shanedroid

repo: udondan/ansible-role-ssh-reconnect


text:
Batch.onJobDefinition Generates a JobDefinitionRevsion Resource

              new statement.Batch()
                .allow()
                .toSubmitJob()
                .onJobDefinition("my-job-def", "some-revision"),
            ],

For job definition ARNs, there's no revision, according to the docs.
Let me know if I can help with anything.

Hm it's weird, it doesn't work without giving the revision ARN, i.e. it's not a job-definition-arn, it's a job-definition-revision-arn. The doc seems to be wrong?

Anyway, the method is not ideal atm. Either we have to have two different methods or make the revision optional in this method.

This should be solved. The project was not updated for some time since it required a lot of work gettng it running again. With version 601.1 there now have been lots of updates from the docs, incuding the changes in batch. Thre now is onJobDefinition and onJobDefinitionRevision.

authors: akefirad udondan

repo: udondan/iam-floyd


text:
Had to revert to previous .mod for it to show

It would not show up in maya with the included .mod. I had to use the .mod from the previous version.
Thank you
p.s. or end user could edit this included one.

I had this issue...

Thank you for the bug reports.  I have updated the .mod file

authors: Hunanbean Nini69 timdaoust


text:
tiptap HocuspocusProvider  error in editing Unexpected end of array

Description
I tried to generate live collaboration with Tiptap and HocuspocusProvider in Reactjs the web socket is working well but when I want to start editing I see a weird error that is stopping me from editing the document
Steps to reproduce the bug
by starting editing we will see the attached image
Expected behavior
A clear and concise description of what you expected to happen.
Screenshot, video, or GIF

Environment?

operating system:OSX
browser:Chroume
mobile/desktop:Desktop
Hocuspocus version:^2.13.7

Additional context
const provider = new HocuspocusProvider({
    url: "ws://localhost:8000/ws/document/edit/3f798b14-4635-4450-bc66-b05b04fbfb8f?token=" + TEST_TOKEN,
    name: "3f798b14-4635-4450-bc66-b05b04fbfb8f",
    document: ydoc,
});

function Tiptap({
    content = '',
    editable = true,
    placeholder = "Type '/' for actions…",
}: TiptapProps) {
    const extensions: Extensions = [
        Collaboration.configure({
            document: provider.document,
        }),
        CollaborationCursor.configure({
            provider: provider,
            user: {
              name: 'Cyndi Lauper',
              color: '#f783ac',
            },
          }),
    ]
    const editor = useEditor({
        content,
        extensions,
        editable,
        onUpdate: ({ editor }) => {
            console.log(editor.getJSON())
        },
    })

    if (!editor) {
        return null
    }

    return (

            <div className="WhiteCard">
                <EditorContent editor={editor} />
            </div>
    )
}

export default Tiptap

@Mrezagolbaba Any luck here?

which line is causing this error exactly (unminified)?
Could be an issue caused by rerendering of the component, or an issue on the hocuspocus server.
Please provider a sandbox, or check out our playground repo, as this is most likely not a bug but an implementation issue.

when use nextjs, same error

authors: Mrezagolbaba janthurau liwei511 vinceprofeta

repo: ueberdosis/hocuspocus


text:
Panel chime switch entity disappears in V.0.9.0 (DSC)

I'm using a DSC 1832 Panel with an Envisalink 4MAX.  Firmware: 01.00.44.
When I upgrade from V.0.8.2 to V0.9.0 the panel chime switch entity shows 'This entity is no longer being provided by the envisalink_new integration. If the entity is no longer in use, delete it in settings.'
If I downgrade to V.0.8.2 the switch entity works as expected.

My own chime switch is showing up on 0.9.0/DSC so my guess would be that your config entry may be incorrectly set to a different panel type (e.g., Honeywell or simply null).  I've seen a few cases where this happens to people but I haven't yet figured out how it is happening.
If you're able, can you look at the envisalink_new entry in the .storage/core.config_entries file located in HA's config directory (where configuration.yaml is)?  It would look something like:
      {
        "entry_id": "461c2053f29eb6a84120e8699cc975cf",
        "version": 1,
        "minor_version": 1,
        "domain": "envisalink_new",
        "title": "Home Alarm",
        "data": {
          "port": 4025,
          "evl_version": 4,
          "panel_type": "DSC",
...

The panel_type field should be set to DSC like this example.

Here is what I believe to be the relevant section.  panel_type is in fact showing as null.
        "entry_id": "728450a69974d57e7b7a3ff64c893107",
        "version": 1,
        "minor_version": 1,
        "domain": "envisalink_new",
        "title": "Alarm",
        "data": {
          "host": "XXX.XXX.XXX.XXX",
          "user_name": "XXXXXX",
          "password": "XXXXXXX",
          "partition_set": "1",
          "zone_set": "1-6",
          "port": 4025,
          "discovery_port": "80",
          "code": "XXXX",
          "evl_version": "4MAX",
          "panel_type": null
        },

I've published a new v0.9.1 release which attempts to detect and correct the null panel_type entry.  If you haven't already manually corrected your entry, please let me know if this release fixes your issues.

Unfortunately, I already manually corrected the entry (which resolved the chime switch issue).
I have upgraded to v0.9.1 and it is still working.


text:
UNO IP Arm Home or Night through Home Assistant sends Arm Away to board

When I issue an arm home or arm night command from HA it always actually goes into home away on the UNO IP system.
I am not sure if this is one of the features that has not been added yet.  Other than that seems to be working great.

Yes, this was a current limitation of the UNO's TPI interface when I originally added support for it.  I've not seen any firmware release notes indicating updates yet but I've sent a note off to enquire if/when additional features are coming.

I reached out to eyezon about tpi interface.  They said that is controlled by the manufacturer which is Envisacor.  To me it looks like they are the same company.  I can help ask for whatever you need, but I just don't know exactly what would be helpful for you.  Thanks.

Yes, it is Envisacor I've contacted.  I know they had plans to add a bunch more functionality but don't know a timeline on it at the moment.

I also reached out on the eyezon forum about new TPI documentation.   The support person I talked to at eyezon says they do answer questions on their forum.  Let me know if you get a response.  Thanks.

They are just working on updated documentation and will send me a copy when it is complete.  It sounds like that will be relatively soon.  This should capture additional capabilities they are adding.  Based on previous conversations I've had with them, I suspect these updates will have the ability to arm in different modes.

not sure if it helps the cause or not, but you can arm "home" from the eyezon web interface.  does that help to gather what is needed to update the code?

any updates on this?

@copperlab No, I haven't heard anything back from Envisacor yet.
@deliverer33 Unfortunately the interface used by this integration does not have the same capabilities as what has been made available on the web interface.  So it's just a matter of waiting until they release firmware and documentation with the additional capabilities.

I see a new firmware was released.  Did this come with what you were looking for?

Any updates?  I'm unable to arm in night or home mode through HAAS on my UNO IP hybrid system.

There is another new update that was released today.  Also have a thread on the eyezon forum to try to get the attention of the manufacturer: https://forum.eyezon.com/viewtopic.php?t=5442&sid=11530eabfa0b5339462928e48ea92731

There is another new update that was released today. Also have a thread on the eyezon forum to try to get the attention of the manufacturer: https://forum.eyezon.com/viewtopic.php?t=5442&sid=11530eabfa0b5339462928e48ea92731

I just updated to 117 this morning, and it still tries to arm away when trying night or home

I spoke with Envisacor and the released firmware versions do not yet include the TPI changes needed.  While I don't have an ETA, they are actively work on the required changes.

I spoke with Envisacor and the released firmware versions do not yet include the TPI changes needed. While I don't have an ETA, they are actively work on the required changes.

Well, that is at least something.  They are acknowledging there is an issue.  The firmware updates seem to be somewhat regular, so hopefully they'll get this sorted out.  Until then, I'll need to arm my system manually.

Well, that is at least something. They are acknowledging there is an issue.

They've actually been very responsive with me and very receptive to adding features to the TPI.  Development sometimes just takes time and I'm sure they have many competing priorities to juggle.

Well, that is at least something. They are acknowledging there is an issue.

They've actually been very responsive with me and very receptive to adding features to the TPI. Development sometimes just takes time and I'm sure they have many competing priorities to juggle.

Okay, that's good to hear.  I guess reading the entire thread, it didn't seem like they were entirely responsive at first.  Then again, that was 2 months ago with a limited number of responses.

authors: copperlab deliverer33 tamorgen ufodone


text:
WDI5 doesn't work correctly together with 3D model viewer

Describe the bug
After upgrading SAPUI5 version from 1.108 to 1.114 some specs which includes reusable component with 3D viewer go wrong.
All WDI5 locators end with an element search error after the reusable component with 3D viewer appears on the screen. As a result, the only way to locate elements is by searching through DOM elements.
I have investigated failed tests and saw that it go wrong in should navigate back to FLP step. After running all the tests, I found a common issue for all the failed tests – the 3D Viewer appeared on the screen
Added screenshots of failed tests
F3136_DigitalTwinQuery

F3136_DigitalTwinObjectReferences

F3136_DigitalTwinObjectDetails

I have already created the issue #449 related to this case before but without any updates
To Reproduce
Steps to reproduce the behavior:

Go to the application by link
Please, get in touch with me (mikhail.dryk@sap.com) to get creditionals to the application,
Clone repository
Execute in console command

$> wdio run wdio.perf.conf.js --spec ./test/specs/performance/<FILE NAME>.js --baseUrl=https://bigbuild-performance-copin.internal.cfapps.sap.hana.ondemand.com/ --params.pass=**** --params.user=****

I will provide --params.pass and --params.user
Expected behavior
All tests should complete successfully
Runtime Env (please complete the following information):

wdio-ui5-service-version: ^1.5.1
UI5 version: 1.114.1
wdio-version (output of wdio --version): ^7.26.0
node-version (output of node --version): 18.16.1
OS: Linux
Browser + Version chrome 114.0.5735.133

hi, thanks for the detailed error report! that makes evaluating the situation easier 👍
however, as you wrote in the opening paragraph: the failed tests seem to stem from upgrading UI5 from 1.108 to 1.114, not from wdi5 itself → your tests do work when the app bootstraps UI5 1.108, correct?
(also, internal SAP links are not accessible for us. there'll soon be commercial support available for wdi5, but we're not there yet)

Hi, you are more than welcome to create an 3D model viewer example where this issue is reproduceable so we can investigate this issue.

Hello @dominikfeininger
Thanks for reply. Do you have access to the SAP environment? I can provide you conditionals to the page where we have 3D Viewer
like this

Hello colleagues
Do you have any updates about my issue?

hi and sorry, currently all efforts go toward wdi5^2. Once this is done (hopefully mid next week), let's get back to your issue here. Thanks for your understanding!

Hello @vobu
Do you have any updates about my issue?

📫 "you have mail" 😸

Hello (Volker)@vobu
Can we reopen this issue, because my issue wasn't fixed.

authors: MikhailDryk dominikfeininger vobu


text:
请问这个qiao.h.js是干什么的

请问这个qiao.h.js是干什么的  ，还有这个qmask  。
你的教程能写详细些吗，或者出个视频的也行！

h的意思是hibirdapp的意思，就是对mui以及nativejs的一些封装，教程已经很详细了，qmask就是一个遮罩，而且还有源码。

哦谢谢回答，这个框架刚刚学习，但是不知道从哪里入手，公司新的项目马上要用，现在有点头疼！


text:
getHtml and getKey api not working

Hi i'm trying to use the api but it not working.
I use the api call https://inboxkitten.com/api/v1/mail/list?recipient=random-as-test3 to get the list of email
[{"tags":[],"envelope":{"targets":"random-as-test3@inboxkitten.com","transport":"smtp","sender":"noctisbels@gmail.com"},"storage":{"url":"https://sw.api.mailgun.net/v3/domains/inboxkitten.com/messages/eyJwIjpmYWxzZSwiayI6IjEyMzY2MmU2LTIxYzMtNDU3Zi05NTlmLWY3MjE5MzNhYmI3OCIsInMiOiIyNjBkNjYzZGJjIiwiYyI6ImIifQ==","key":"eyJwIjpmYWxzZSwiayI6IjEyMzY2MmU2LTIxYzMtNDU3Zi05NTlmLWY3MjE5MzNhYmI3OCIsInMiOiIyNjBkNjYzZGJjIiwiYyI6ImIifQ=="},"log-level":"info","id":"LX3db4z3TO6i5P8n8pW1hw","campaigns":[],"method":"smtp","user-variables":{},"flags":{"is-authenticated":false},"recipient-domain":"inboxkitten.com","timestamp":1553683266.031392,"message":{"headers":{"to":"random-as-test3@inboxkitten.com","message-id":"CACiT9tM=1_owUbufdTxZYrkjuWawq=XpvmtBJtKxcsGK6i6Sgw@mail.gmail.com","from":"Alfredo Salzillo <noctisbels@gmail.com>","subject":"Test"},"attachments":[],"recipients":["random-as-test3@inboxkitten.com"],"size":2570},"recipient":"random-as-test3@inboxkitten.com","event":"accepted"}]

Then i try using the key eyJwIjpmYWxzZSwiayI6IjEyMzY2MmU2LTIxYzMtNDU3Zi05NTlmLWY3MjE5MzNhYmI3OCIsInMiOiIyNjBkNjYzZGJjIiwiYyI6ImIifQ== to get the Html using the endpoint
https://inboxkitten.com/api/v1/mail/getHtml?mailKey=eyJwIjpmYWxzZSwiayI6IjEyMzY2MmU2LTIxYzMtNDU3Zi05NTlmLWY3MjE5MzNhYmI3OCIsInMiOiIyNjBkNjYzZGJjIiwiYyI6ImIifQ==
but i get the followind error
{error: 'TypeError: Fetch API cannot load: https://eyJwIjpmYWxzZSwiayI6IjEyMzY2MmU2LTIxYzMtNDU3Zi05NTlmLWY3MjE5MzNhYmI3OCIsInMiOiIyNjBkNjYzZGJjIiwiYyI6ImIifQ==.api.mailgun.net/v3/domains/inboxkitten.com/messages/undefined'}

After looking at the code i think the key is wrong, it's missing the first part of the key sw- how is the prefix of the mailgun api url.

Hi @alfredosalzillo ! Thanks for identifying the issue! I will go fix it :D

please give it a try again :)

I have tried again, it still not working even with sw- prefix.
But i figure it out that the prefix is not always the same and depend on the url returned in the mail/list api.
For example for:
[{"tags":[],"envelope":{"targets":"school-rhyme-42@inboxkitten.com","transport":"smtp","sender":"noctisbels@gmail.com"},"storage":{"url":"https://se.api.mailgun.net/v3/domains/inboxkitten.com/messages/eyJwIjpmYWxzZSwiayI6IjY1MTI3YTc2LWI4MmEtNGVkZS1iMDMxLWE4NDhhYjVjMjUxNSIsInMiOiIyYzUzMzkzMjdjIiwiYyI6ImEifQ==","key":"eyJwIjpmYWxzZSwiayI6IjY1MTI3YTc2LWI4MmEtNGVkZS1iMDMxLWE4NDhhYjVjMjUxNSIsInMiOiIyYzUzMzkzMjdjIiwiYyI6ImEifQ=="},"log-level":"info","id":"le8dVr0WRYSIpeYyz5RBAg","campaigns":[],"method":"smtp","user-variables":{},"flags":{"is-authenticated":false},"recipient-domain":"inboxkitten.com","timestamp":1555399439.172461,"message":{"headers":{"to":"school-rhyme-42@inboxkitten.com","message-id":"CACiT9tN23YYzqyXDUdyH1isb92hD2ffHo3wfU8ruX5H1fmoHng@mail.gmail.com","from":"Alfredo Salzillo <noctisbels@gmail.com>","subject":"test"},"attachments":[],"recipients":["school-rhyme-42@inboxkitten.com"],"size":2579},"recipient":"school-rhyme-42@inboxkitten.com","event":"accepted"}]
to get the html of the mail i have to use the prefix se-.

yes, the prefix is not always the same, it depends on where the mail is, sorry I didn't mention that. When you retrieve the list of email from that particular address, like what you see in the response, the prefix in the url can be se or sw. And you have to change it accordingly if you are directly using the api endpoint. But on the frontend side, it is handled for you.

Thanks for the reply, I'll close this in favour of a feature request. I think it will be useful to add a kittenKey properties to the mail list items with the correct key.

authors: alfredosalzillo jmtiong

repo: uilicious/inboxkitten


text:
Babel _interopRequireDefault is not a function

Hey! Thanks for your project.
Just found an issue when I try to test my app. I use Jest with SWC transformer.

I also tried in another Vite app, and when I serve it locally, I can see other babel issues

Could you please take a look at it? Thanks

https://github.com/uiwjs/react-json-view/blob/801ae40f9285e8fba57f1fe6f8913e6640e771e5/core/package.json#L48
@maxxlwr After add @babel/runtime, I fixed it

authors: jaywcjlove maxxlwr

repo: uiwjs/react-json-view


text:
Add OMIS UK Regional Settings

This adds a OneToOne model UKRegionalSettings for storing UK manager emails used by OMIS notifications.
I'm not a big fan of the name UKRegionalSettings and ukregion.omis_settings but I couldn't find a better one.
This also adds the multi_email_field dependency defining a field with multiple email addresses separated by new lines. I'm not a big fan of this extra dependency either but anything else seems messier.

Codecov Report

Merging #818 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #818      +/-   ##
===========================================
+ Coverage    96.66%   96.67%   +<.01%
===========================================
  Files          154      155       +1
  Lines         4471     4478       +7
  Branches       430      431       +1
===========================================
+ Hits          4322     4329       +7
  Misses          90       90
  Partials        59       59

Impacted Files
Coverage Δ

datahub/omis/region/admin.py
100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be1f80d...989bbff. Read the comment docs.

Did you consider ArrayField from django.contrib.postgres.fields? I think that ends up being comma-separated in admin, so not quite the same, but that's not much different from writing an email anyway.
Not much of a fan of that package as it doesn't claim compatibility with anything newer than Python 3.5 and Django 1.10.

Did you consider ArrayField from django.contrib.postgres.fields?
Wow, I didn't notice that it had a base_field, it looks just perfect.

@reupen much better now, thanks!

Indeed much nicer with ArrayField.

authors: codecov-io elcct marcofucci reupen

repo: uktrade/data-hub-leeloo


text:
Remove unused Notify template variable.

TP2000-695 Part B

Why

One of TAP's Notify template personalisation variables, link_to_file, requires removal as part of the second stage of a deployment. See the description on PR #810 for details.
What

Remove the template personalisation variable 'link_to_file`.
Note that TP2000-695 S3 loading reports integration must be merged and deployed before this PR is deployed.

Checklist

Requires migrations? No
Requires dependency updates? No

Links to relevant material
See: TP2000-695 S3 loading reports integration

Codecov Report
Base: 91.67% // Head: 91.67% // No change to project coverage :thumbsup:

Coverage data is based on head (c088e47) compared to base (b867cb7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #815   +/-   ##
=======================================
  Coverage   91.67%   91.67%
=======================================
  Files         394      394
  Lines       25912    25912
  Branches     1958     1958
=======================================
  Hits        23755    23755
  Misses       1777     1777
  Partials      380      380

Impacted Files
Coverage Δ

publishing/models/packaged_workbasket.py
81.02% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter paulpepper-trade

repo: uktrade/tamato


text:
使用docker-compose 部署后 数据库连接有误

Describe the Bug
用navicat可以连接到数据库，但是数据库上面没有表
Database
PostgreSQL
Relevant log output
08:43:26 ✓ DATABASE_URL is defined.

08:43:31 ✗ Unable to connect to the database.

08:43:31 error Command failed with exit code 1.

08:43:31 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

08:43:31 ERROR: "check-db" exited with 1.

08:43:31 error Command failed with exit code 1.

08:43:31 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Docker

贴一下你用的 docker-compose 配置？

--- version: '3' services:   umami:     image: ghcr.io/umami-software/umami:postgresql-latest     ports:       - "3000:3000"     environment:       DATABASE_URL: postgresql://umami:umami@db:5432/umami       DATABASE_TYPE: postgresql       APP_SECRET: replace-me-with-a-random-string     depends_on:       db:         condition: service_healthy     restart: always   db:     image: postgres:15-alpine     environment:       POSTGRES_DB: umami       POSTGRES_USER: umami       POSTGRES_PASSWORD: umami     volumes:       - umami-db-data:/var/lib/postgresql/data     restart: always     healthcheck:       test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]       interval: 5s       timeout: 5s       retries: 5 volumes:   umami-db-data:

我使用以下docker-compose配置文件 可以成功部署！
---
version: '3'
services:
  umami:
    image: docker.umami.dev/umami-software/umami:postgresql-latest
    ports:
      - "3000:3000"
    environment:
      DATABASE_URL: postgresql://umami:umami@db:5432/umami
      DATABASE_TYPE: postgresql
      APP_SECRET: replace-me-with-a-random-string
    depends_on:
      - db
    restart: always
  db:
    image: postgres:15-alpine
    environment:
      POSTGRES_DB: umami
      POSTGRES_USER: umami
      POSTGRES_PASSWORD: umami
    volumes:
      - ./sql/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro
      - ./umami-db-data:/var/lib/postgresql/data
    restart: always

解决了就好，我本地测试了一下两个都是可以成功部署的。

我使用以下docker-compose配置文件 可以成功部署！
---
version: '3'
services:
  umami:
    image: docker.umami.dev/umami-software/umami:postgresql-latest
    ports:
      - "3000:3000"
    environment:
      DATABASE_URL: postgresql://umami:umami@db:5432/umami
      DATABASE_TYPE: postgresql
      APP_SECRET: replace-me-with-a-random-string
    depends_on:
      - db
    restart: always
  db:
    image: postgres:15-alpine
    environment:
      POSTGRES_DB: umami
      POSTGRES_USER: umami
      POSTGRES_PASSWORD: umami
    volumes:
      - ./sql/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro
      - ./umami-db-data:/var/lib/postgresql/data
    restart: always

您好
请问您在使用docker-compose之前，电脑系统有做配置吗？比如说安装了postgresql吗？
我没有安装postgresql,直接用的docker-compose. 之后也确实在localhost:3000打开了umami. 在网站增加了跟踪代码之后，umami里面始终没有信息显示。想请教一下您。谢谢！
祝好

authors: LittleXingzzZ WShaoLab orilights

repo: umami-software/umami


text:
Make timezone and unit optional

On the getEventMetrics and getPageviewStats functions, timezone and unit has default values. So these fields should be validated only if it is present on the API call.

These parameters are not optional. That's why we throw a bad request error.

If you see here, timezone and unit already has a default value.
https://github.com/umami-software/umami/blob/80f22313f6a5df6baf96b35fed1a8ccb1f51ba36/queries/analytics/event/getEventMetrics.js#L12-L23
So, if user does not pass these values in the API, it will still return the data. Shouldn't this be the default behavior of the API?


text:
ListView in Sliding Panel When Doing a Drag Along with the lists gets stuck and is closed in two attempts

I have added a ListView in the SlidingPanel Layout. When I scroll back the ListView in gravity:Top scenario, It is closed in two attempts. In thi first attempt it closes 30% and in the second attempt it closes.
I am not sure whether the issues is with ListView or The SlidingPanel .

I have almost the similar problem, and I don't know how to solve it.

I have the same scenario but I can't tell what is causing it. Sometimes I can get it to close in a single flick but most the time it takes two. The distance it moves and gets stuck seems to be a range of 10-30% of the screen each time but isn't consistent.

I think I had a similar problem with listview getting stuck and the pull request #526 fixed it. You guys might want to try it.

authors: aeioe kshitijcode sandrock80 skir

repo: umano/AndroidSlidingUpPanel


text:
Problem in running the whole data collection pipeline

Have anyone tried the complete process of data collection so far. I am using following pipeline:

After game starts, I press Page Up in order to start the session.
Then I press the key H to enter in to the vehicle and start navigation. (Sometimes after getting in to the car I have to pause and resume the game in order to make auto driving start)

Once auto drive starts it never stops, even if I press Page Down. I can see entries in tables instances, runs, sessions and systems only.
By looking in to the code when I try to stop the session, I think it waits to finish the run task  but I am not sure how long it will take to finish the task is there any way to control it somehow?
Any tips will be really appreciated.

Got the issue, actually was getting error while dumping the data at every tick. This line broke the program.
There was an issue with the function World.GetNearbyPeds(Ped ped, Single radius) in earlier version of SHVDN as mentioned here.

repo: umautobots/GTAVisionExport


text:
backend: add email service

Changes

Adds an mail service that allows Elsa to send emails.

The email service takes arbitrary settings according the nodemailer options property in createTransport.
It can also use AWS SES directly by accepting settings for the SES client.

I'm not sure what the best way to update this is: https://github.com/umccr/elsa-data/pull/166/files#diff-a586122b4958cc4abd312c743a44ba8ea99f0e987316f979bf21b0056578d3e6.
There is a few new dependencies that seem to cause the tests to fail.

I'm not sure what the best way to update this is: https://github.com/umccr/elsa-data/pull/166/files#diff-a586122b4958cc4abd312c743a44ba8ea99f0e987316f979bf21b0056578d3e6.
There is a few new dependencies that seem to cause the tests to fail.

So just a rebuild of the package locks with 'npm install' in frontend and backend?

authors: andrewpatto mmalenic

repo: umccr/elsa-data


text:
v0.3

@JuliaRegistrator register

Error while trying to register: "Tag with name v0.2.0 already exists and points to a different commit"

authors: JuliaRegistrator umlet


text:
ModuleNotFoundError: No module named 'openai.types.beta.threads.message_content'

I get ModuleNotFoundError: No module named 'openai.types.beta.threads.message_content'
Presumably, you are using an older version of openai package. Which is the right version number?
Cool project!

This already has resolved, plz check again the recent release

I close this issue, if you face with similar case, plz let me know

authors: tginart unclecode


text:
Create an RCL to replace direct access to langnames.json

This is to address issue https://github.com/unfoldingWord/tc-create-app/issues/1582
Features of the RCL:

will have a copy of the langnames.json compiled-in (in case we cannot fetch it over the internet)

will cache the last fetched copy of langnames.json

app will be able to over-ride the URL for langnames.json

it will be flexible enough to be used by all our apps.

when app requests the latest langnames, the rcl behavior will be:

it will attempt to fetch the latest langnames.json from the URL passed by app, or if not given it will fetch using the default URL
if that fails it will return the latest cached version from previous fetch.
if no previous fetch, it will return a copy of the langnames.json compiled in.

@PhotoNomad0 will this change fix all of our apps or is it specific to tCC?

repo: unfoldingWord/tc-create-app


text:
Catalog Next Package - Content

This issue covers the implementation of the "get content" function, returning the text content for the selected item.
Given an owner, language, resource type, and a filename:

[ ] extract the content from the zip file
[ ] cache the content
[ ] return the content

At present it is not clear whether "on-open" validation needs to be done on published resources. If it needs to be, then another issue will be created to implement it.

Description of Requirements
The specification above should be sufficient to implement this function. This can be updated later if needed.

This issue is closed since it is superseded by user requirements.


text:
🛑 Piped API is down

In 18ed99a, Piped API (https://pipedapi.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Piped API is back up in 015620d after 24 minutes.

repo: unforest/uptime


text:
🛑 Libreddit is down

In dbed0dc, Libreddit (https://libreddit.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Libreddit is back up in b128996 after 34 minutes.


text:
🛑 SearXNG is down

In f3861c1, SearXNG (https://searxng.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SearXNG is back up in 8359d62 after 36 minutes.


text:
Debian updates

Update URL in the main README file (Debian has not had a chromium-browser package for years), and exclude quilt(1)'s .pc/ directory when updating lists to allow working in a standard Debian source tree.

Thank you @Ahrotahn!
Note that the intent here is to produce a substitution list that is distinct from the official one, as it would be generated for the Debian-modified source tree (not just their patch series, but also starting from their DFSG-cleaned source tarball) rather than a pristine upstream one. I'm working to make the u-c process fit cleanly into the Debian build, and the list generated under these circumstances would only be used there.

My apologies, I completely missed that the .pc/ exclusion will produce an error when the script is run in a non-Debian source tree. I've removed that change from this PR, and submitted a new one (#2290) that solves the problem in a different way. This PR is now just about updating the README.

I guess these PRs are good to merge independently of the remaining one.
Thanks @iskunk.

repo: ungoogled-software/ungoogled-chromium


text:
Max, Min, and Close icons aren't visible in Windows (and possibly Linux?)

Currently the window buttons to maximize, minimize, and close aren't shown on Windows (and likely also aren't shown on Linux).

This is fixed in latest version on Windows

While the application toolbars aren't looking great on windows and linux, I'll track that as a different issue and close this one.

authors: DejanMilicic hojberg

repo: unisonweb/ucm-desktop


text:
[BUG] StackTraces allocate garbage when DebugMode = false

Was digging around because of this post: https://www.reddit.com/r/Unity3D/comments/177zvk5/unity_atoms_performance_is_horrible_but_it_doesnt/
and found that for simple integers / floats the following call boxes "item":
https://github.com/unity-atoms/unity-atoms/blob/master/Packages/Core/Runtime/Events/AtomEvent.cs#L104
Also the Get() implementation of the DebugMode flag always looks up the value from the EditorPrefs
https://github.com/unity-atoms/unity-atoms/blob/master/Packages/Core/Runtime/Preferences/AtomsPreferences.cs#L27

Great fidings! Fixed in #436

authors: AdamRamberg soraphis

repo: unity-atoms/unity-atoms


text:
implement iceberg rest catalog register table endpoint

PR Checklist

[x] A description of the changes is added to the description of this PR.
[x] If there is a related issue, make sure it is linked to this PR.
[x] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added or modified a feature, documentation in docs is updated

Description of changes

Adds registerTable endpoint to Iceberg REST catalog service
Adds "ICEBERG" as a data source format

This makes a native iceberg table more "top-level" like a delta table and adds the ability to register/store an existing native iceberg table in UC (instead of UC considering an iceberg table just a delta table with uniform enabled, i.e. having a uniform iceberg metadata location set).
Here's an example of it working locally with OSS Spark using the iceberg-spark 'register_table' procedure (Note: you need to manually create the new schema/namespace using cli first):
spark-sql (default)> create table hadoop.uctest.table1 (id int);
Time taken: 0.501 seconds
spark-sql (default)> insert into hadoop.uctest.table1 values (1),(2),(3);
Time taken: 0.919 seconds
spark-sql (default)> select * from hadoop.uctest.table1;
1
2
3
Time taken: 0.065 seconds, Fetched 3 row(s)
spark-sql (default)> select * from iceberg.unity.test.table1;
...
[TABLE_OR_VIEW_NOT_FOUND] The table or view `iceberg`.`unity`.`test`.`table1` cannot be found. Verify the spelling and correctness of the schema and catalog.
...
spark-sql (default)> CALL iceberg.system.register_table (table => 'unity.test.ice1', metadata_file => 'file:///tmp/warehouse/uctest/table1/metadata/v2.metadata.json');
8507157311815341168	3	3
Time taken: 0.034 seconds, Fetched 1 row(s)
spark-sql (default)> select * from iceberg.unity.test.ice1;
1
2
3
Time taken: 0.269 seconds, Fetched 3 row(s)

Spark conf for above example:
spark.jars.packages org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.5.1,org.apache.iceberg:iceberg-aws-bundle:1.5.1

spark.sql.extensions org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions

spark.sql.catalog.iceberg org.apache.iceberg.spark.SparkCatalog
spark.sql.catalog.iceberg.catalog-impl org.apache.iceberg.rest.RESTCatalog
spark.sql.catalog.iceberg.uri http://127.0.0.1:8080/api/2.1/unity-catalog/iceberg
spark.sql.catalog.iceberg.token not_used

spark.sql.catalog.hadoop org.apache.iceberg.spark.SparkCatalog
spark.sql.catalog.hadoop.type hadoop
spark.sql.catalog.hadoop.warehouse /tmp/warehouse

Related Issue
Addresses part of adding additional Iceberg REST Endpoints https://github.com/unitycatalog/unitycatalog/issues/3
Testing
Test cases for the above mentioned scenarios have been added and are running fine.

@dennyglee this is a pretty amazing feature, is there any plan to have the "register_table" endpoint available?
This will unlock some use cases where iceberg tables are available in another catalog, but make them available (even if read-only) in unity catalog (databricks and not)

@dennyglee this is a pretty amazing feature, is there any plan to have the "register_table" endpoint available? This will unlock some use cases where iceberg tables are available in another catalog, but make them available (even if read-only) in unity catalog (databricks and not)

Hey @nicor88 - I don't believe we have a plan around this yet but it would be great if you're interested helping/documenting a proposed design for this if you're up for it?  I think that's a great idea, eh?!

authors: alexreid-db dennyglee nicor88

repo: unitycatalog/unitycatalog


text:
Users Application Support directory gets set with root permissions.

When provisioning Mac OS X 10.10 for the first time with privacy_services_manager, the Application Support directory gets set with root permissions.  This happens only if a user hasn't logged in.  If the user logged in before calling privacy_services_manager, then it preserves the directory and it's permissions.
Here are the Application Support permissions without privacy_services_manager called:
drwxr-xr-x  11 vagrant  staff   374 Sep 27 15:16 Application Support

Here are the contents of Application Support directory without privacy services manager called:
drwxr-xr-x  11 vagrant  staff  374 Sep 27 15:16 .
drwxr-xr-x@ 23 vagrant  staff  782 Sep 27 15:13 ..
drwx------  11 vagrant  staff  374 Sep 27 15:13 AddressBook
drwxr-xr-x   5 vagrant  staff  170 Sep 27 15:13 CallHistoryDB
drwxr-xr-x   2 vagrant  staff   68 Sep 27 15:13 CallHistoryTransactions
drwxr-xr-x   2 vagrant  staff   68 Sep 27 15:13 CloudDocs
drwx------   2 vagrant  staff   68 Sep 27 15:13 CrashReporter
drwxr-xr-x   3 vagrant  staff  102 Sep 27 15:13 Dock
drwx------   3 vagrant  staff  102 Sep 27 15:13 com.apple.TCC
drwxr-xr-x   4 vagrant  staff  136 Sep 27 15:16 com.apple.spotlight
-rw-r--r--   1 vagrant  staff  420 Sep 27 15:16 com.apple.spotlight.Shortcuts

Here are the Application Support permissions with privacy_services_manager called:
drwx------   3 root     staff   102 Sep 27 15:35 Application Support

Here are the contents of Application Support directory with privacy services manager called.
drwxr-xr-x   3 root     staff  102 Sep 27 15:35 .
drwxr-xr-x@ 27 vagrant  staff  918 Sep 27 15:37 ..
drwx------   3 root     staff  102 Sep 27 15:35 com.apple.TCC

Here are the privacy_services_manager commands being executed:
- execute sudo /usr/local/bin/privacy_services_manager.py --user vagrant --admin add accessibility /System/Library/CoreServices/RemoteManagement/ARDAgent.app
- execute sudo /usr/local/bin/privacy_services_manager.py --user vagrant --admin add accessibility /usr/libexec/sshd-keygen-wrapper

Hello Dennis:
Sorry about the issue, we will troubleshoot and fix it and let you know status.
On Sep 27, 2015, at 4:50 PM, Dennis Hoer <notifications@github.commailto:notifications@github.com> wrote:
Here are the privacy_services_manager commands being executed:

execute sudo /usr/local/bin/privacy_services_manager.py --user vagrant --admin add accessibility /System/Library/CoreServices/RemoteManagement/ARDAgent.app
execute sudo /usr/local/bin/privacy_services_manager.py --user vagrant --admin add accessibility /usr/libexec/sshd-keygen-wrapper

—
Reply to this email directly or view it on GitHubhttps://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/37#issuecomment-143599726.
Thanks:
Richard Glaser
University of Utah, Marriott Library ITS
richard.glaser@utah.edumailto:richard.glaser@utah.edu

Hi again, @dhoer!
I think I need a little more information to try to duplicate this issue.

Which Application Support directory are you looking at? (/Users/vagrant/Library/Application Support or /Library/Application Support?)
Is vagrant the only non-root user on this machine?

/Users/vagrant/Library/Application Support
What I think is going on is the application support directory and tcc database are not there so it creates the directory and database as root instead of vagrant user.

How do you suggest the tool gets the user to assign the proper permissions if the items don't exist?
Thanks,
Richard Glaser
University of Utah
Student Computing Labs
On Sep 29, 2015, at 12:22 PM, Dennis Hoer <notifications@github.commailto:notifications@github.com> wrote:
/Users/vagrant/Library/Application Support
What I think is going on is the application support directory and tcc database are not there so it creates the directory and database as root instead of vagrant user.
—
Reply to this email directly or view it on GitHubhttps://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/issues/37#issuecomment-144145372.

The --user vagrant flag that was passed in...

I think you're right that it's being created as root when it doesn't exist.
The weird thing is that it shouldn't be created. accessibility is managed system-wide at all times, meaning the actual TCC database being modified is at /System/Library/Application Support instead of the user-specific TCC database.
There must be something in the code that blindly checks whether a user passed in via --user has a database, and if not it creates it, even if that database isn't going to be used. I didn't intend for that to happen (at least, I don't think I did... it's been a little while, haha).
I'll check into the creation process and get back to you with what I find.

Thanks

I would think passing the user to __create and setting the permissions here would be enough to fix it:
https://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/blob/master/privacy_services_management/tcc_services.py#L353-L355
Reading the following, I would assume you could create a tcc db for a user:
https://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/blob/master/privacy_services_management/tcc_services.py#L90-L101

I'm still working on this. I wasn't able to get to it as much as I would have liked yesterday.
Your proposed solution is the same thing I came up with after looking through the available options, so I think that's the way I'm going to take this. I'll update this issue when I've made more progress.

@dhoer would you download this file and check if it works? It's a new .dmg file with a version that I think fixes this issue.

@pdarragh That would be hard for me to do since it is build the url in the cookbook: https://github.com/dhoer/chef-privacy_services_manager/blob/master/recipes/default.rb#L5-L6

Sorry, forgot this would auto-close when I merged branches.
Please let me know how the update goes. I changed how administrative override works, but it shouldn't break anything with your current cookbooks. I do recommend changing --admin to --no-check-bin for better readability and future-proofing, though, but the --admin flag will continue to work interchangeable for the foreseeable future.

That didn't fix the issue. The users Application Support directory is still root. This causes Firefox startup to fail because profile cannot be loaded.
Also, if the --no-check-bin flag is set, does that mean the management tools dependency is no longer needed?

One more thing, the group is admin instead of staff.

I'm not seeing the same thing in my environment.
I'm creating a brand-new user, who has never logged in (the username is tester). If I do ls /Users/tester/Library/Application\ Support/ I get:
$ ls -Flah /Users/tester/Library/Application\ Support/
total 0
drwx------   2 tester  staff    68B Oct  7 09:37 ./
drwx------  26 tester  staff   884B Oct  7 09:37 ../

I then ran Privacy Services Manager:
$ sudo privacy_services_manager.py --user tester --no-check-bin add accessibility  /usr/libexec/sshd-keygen-wrapper
WARNING: Administrative override enabled. Be careful!
INFO: ################################################################################
Privacy Services Manager, version 1.7.0

    service:  accessibility
    action:   add
    app(s):   ['/usr/libexec/sshd-keygen-wrapper']
    user:     tester
    template: False
    language: N/A

INFO: Set to modify local permissions for user 'tester' at '/Users/tester/Library/Application Support/com.apple.TCC/TCC.db'.
INFO: Set to modify global permissions for all users at '/Library/Application Support/com.apple.TCC/TCC.db'.
INFO: TCC.db file was expected at '/Users/tester/Library/Application Support/com.apple.TCC/TCC.db' but was not found. Creating new TCC.db file...
INFO: TCC.db file created successfully.
INFO: Inserting '/usr/libexec/sshd-keygen-wrapper' in service 'accessibility'...
INFO: Inserted successfully.
INFO: Successfully completed.

After running this, when I check the contents of tester's Application Support directory:
$ ls -Flah /Users/tester/Library/Application\ Support/
total 0
drwx------   3 tester  staff   102B Oct  7 09:37 ./
drwx------  26 tester  staff   884B Oct  7 09:37 ../
drwx------   3 tester  staff   102B Oct  7 09:37 com.apple.TCC/

and:
$ ls -Flah /Users/tester/Library/Application\ Support/com.apple.TCC/
total 72
drwx------  3 tester  staff   102B Oct  7 09:37 ./
drwx------  3 tester  staff   102B Oct  7 09:37 ../
-rw-r--r--  1 tester  staff    36K Oct  7 09:37 TCC.db

So in my vanilla setup, everything seems to work as expected. The username is set correctly on both com.apple.TCC and TCC.db, and the group is set to the user's primary group ID (which you can check with id <username>, e.g.:
$ id tester
uid=502(tester) gid=20(staff) groups=<...>

I'm not really sure what's going on here, but my guess is that it's something specific in your environment. I'm happy to try to help you troubleshoot it further, because I want for this to be working correctly for you, but I don't know how to duplicate your issue in my environment. Any ideas?

When I run it, it creates the following directory/file permissions:
drwx------   3 root     staff   102 Oct  6 23:16 Application Support
drwx------   3 vagrant  admin  102 Oct  6 23:16 com.apple.TCC
-rw-r--r--   1 vagrant  admin  36864 Oct  6 23:16 TCC.db

I'm not sure why there is a difference.
To run the cookbook by itself you will need VMWare Fusion, Vagrant, and ChefDK.  Which is a little much to run the test case. But if you are up for it then once these are installed, then do the following:
git clone git@github.com:dhoer/chef-privacy_services_manager.git
cd chef-privacy_services_manager
git checkout create_tcc_issue
chef exec bundle exec
chef exec kitchen test

Kitchen test will create the mac and will run privacy_services_manager.  If it provisioned successfully, then it will run serverspec tests to verify the directory user permissions.

From re-reading your comment.  It looks like Application Support directory is already there.  That does not seem to be the case with for me, so the py script must be creating it for me.

I used Tim Sutton's packer template to create the mac image:
https://github.com/timsutton/osx-vm-templates

I forgot you would need Hashicorp VMware Fusion provider plugin which costs money, in order to run kitchen test.   Can you try deleting Application Support directory before running psm and see if that duplicates the issue?

@dhoer I will try this when I'm back tomorrow morning, or earlier if I'm able to get to it. Sorry for the trouble! That's odd you don't have an Application Support directory, though... in vanilla OS X it's a default directory for a user to have.
I will probably have to implement a more involved fix where PSM manually generates each missing directory and keeps track of them to fix permissions later... If only os.makedirs took in a uid value to set the permissions as it goes!

...huh.
I assumed the Application Support directory to exist, because it's part of OS X's system specifications that it should exist for any user account at any time. It's considered a "key directory", as per this document, and is created by the system by default when a new user is created.
I'll rewrite that portion of the script to handle such cases more gracefully, but I think maybe @timsutton should also look into ensuring the directory exists appropriately in his VM templates. I'd advise you to maybe open a ticket on his project for it so he can keep track of the request? (I've @mentioned him here so he can see where you're coming from.)

As for the issue with the group ID, there's not terribly much I can do about that. To see the group ID I'm getting, open up a python instance and do the following:
>>> from pwd import getpwnam
>>> getpwnam('username').pw_gid

This gets the same information as the following system call:
$ id username -g

So the issue is that your vagrant user is registered to the admin group before anything else; it's that user's primary group identification. Here is a StackExchange post about adjusting a user's primary GID, but that can only be used after the user account is created. The better way to handle this would be to properly set the user's desired primary group during account creation.
It's curious to me that your user's own directory belongs to a group other than their primary. This may be another issue with the VM templates, or else possibly an error in your configuration of those templates (hard for me to say without being a user of those templates myself).

@pdarragh @timsutton  I took a look at this last night and Application Support directory does exist and with the correct user and group before calling psm.
drwxr-xr-x   9 vagrant  staff   306 Oct  7 19:55 Application Support
So I'm not sure why it is getting overwritten by psm with root user and admin group when it preexisted.

I think you need to cd to path /Library/Application Support for root or /Users/{}/Application Support for user e.g. os.chdir(path) before line:
https://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/blob/master/privacy_services_management/tcc_services.py#L358

I would also recommend moving this chunk of code under this if statement:
https://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/blob/master/privacy_services_management/tcc_services.py#L366

Let me just be sure we're on the same page with all the info:

user vagrant is created but hasn't signed in
~vagrant/Library/Application Support/ directory exists with proper 755 vagrant:staff permissions
~vagrant/Library/Application Support/com.apple.TCC/ directory does not exist
PSM is run with --user vagrant
PSM creates ~vagrant/Library/Application Support/com.apple.TCC/TCC.db, owned by vagrant:admin where you were expecting vagrant:staff
The permissions of ~vagrant/Library/Application Support/ directory change to 700 and owned by root:admin

Is this all correct?
It doesn't make any sense that you're seeing all of these permissions changes from PSM. com.apple.TCC is changed and TCC.db is changed. These are the only two items being modified with a call to os.chown. I'm totally at a loss for how you're getting these errors.

I think you need to cd to path /Library/Application Support for root or /Users/{}/Application Support for user

Changing directory within the Python instance will not change how the directories are created, if that's what you're suggesting. The issue is that the Python process is owned by root (because it has to be run with administrative permissions for modifying another user's database).

I would also recommend moving this chunk of code under this if statement

The username/groupid have to be taken outside of that if statement because they're used again after the TCC.db file is created to change its permissions, and it's bad form to get that kind of info twice (since it could hypothetically change between invocations, and I don't want a mismatch).

One and two are both correct.  I don't understand python syntax that well, but it seems that before the call to from pwd import getpwnam, there needs to be a chdir to users directory to get the proper permissions. Looking at the code, I don't understand what the present working directory would be at the time of the from pwd call.

Ohh, gotcha. I wish the issue were so simple.
from pwd import getpwnam tells Python to open the pwd module and get the method named getpwnam. This module has access to the system's passwords database (like /etc/passwd in Linux, but I think dscl handles it in OS X). Where you are when you invoke this call will not affect the result of the calls; the information it gets is static across the system at any given point.
Open a terminal and do id USERNAME (substituting vagrant or whatever user you're interested in for USERNAME) to see some of the info. This information is what the pwd module is accessing. It gets out the user's uid and gid and uses those values to set the permissions on the TCC.db file and its parent directory (no other directories). Here is some information about users and groups, and here's the excerpt on primary groups:

Each user has a designated primary (or default) group and can also be a member of additional groups called secondary groups. When users create files or launch programs, those files and programs are associated with a primary or secondary group. A user who is a part of the group can access these file and programs if necessary permissions are available.

According to the information you've given, your vagrant user's primary group is admin, not staff. This is an issue with your configuration somewhere. A user's home directory should have group ownership of the primary group that the user belongs to. So really, the rest of your vagrant user's home directory should have vagrant:admin permissions. I can't tell you why that isn't the case.
I'm also totally at a loss for how your Application Support directory is being re-owned to root. If the directory already exists at the time that PSM is being invoked, then PSM doesn't touch it. If the directory doesn't exist, it gets created by the os.makedirs call. This call is equivalent to calling mkdir -p in the shell, which means every intermediate directory that is created will be owned by the user running the shell (root in this case). But this shouldn't be an issue, since the Application Support directory already exists.
My plan is to write a version of os.makedirs that'll progressively create each directory and set its permissions properly. Maybe that'll mitigate your issue.

Ahh. Thanks for the explanation. Horrible naming of that module. I will have to verify that the primary group of vagrant user is admin.

@dhoer,
I rewrote the path-creation algorithm with 1.7.2. Give it a try when you've got a chance and let's see if it handles anything better. Fingers crossed.

Thanks, I will try it out this weekend.

@pdarragh Looks good, thanks for taking the time to get this fixed.

Woohoo! Glad to hear that it's finally resolved. Thanks for being patient with me while I got it worked out, and just let me know if you find anything else that needs to be changed!

authors: dhoer pdarragh uurazzle


text:
Allow for parsing of error status codes from non-http response errors.

Describe the feature
Hey there 👋
I'm an Apollo Client maintainer. I'd like to start a discussion in regards to error handling when using Apollo Client with Nuxt/h3 and see if we can collaborate on a solution.
We recently had this issue opened in our repo noting that network errors thrown by Apollo Client aren't forwarding the status code to h3's underlying H3Error due to how the status code is parsed in h3's error creation functions. It appears createError expects a statusCode property in order to set this on the H3Error instance. Unfortunately this doesn't integrate well with Apollo Client because Apollo Client wraps all errors in its own ApolloError instance. The status code is lost since the status code is instead found in error.networkError.statusCode.
I'd love to contribute a way to allow for these libraries to work better together. Unfortunately we are stuck with this error structure for the foreseeable future and we'd like to avoid adding a statusCode property to ApolloError itself, especially since Apollo Client's core aims to be framework agnostic.
One potential solution is that we could add a cause from ApolloError to the original error. With this perhaps createError could try to parse status/statusCode from error.cause if its available?
I'd love to get your thoughts on this! At the very least, perhaps a recommendation I could take back to the original issue would be useful. I'll be honest, I'm pretty unfamiliar with Nuxt/h3, so any help would be appreciated. Thanks!
Additional information

[X] Would you be willing to help implement this feature?

Hi dear @jerelmiller sorry for late reply.

One potential solution is that we could add a cause from ApolloError to the original error. With this perhaps createError could try to parse status/statusCode from error.cause if its available?

This sound a good idea if cause.statusCode is available this way also h3 does not needs to add framework specific logic.

Hey @pi0 no problem! Thanks for the reply!
Glad to hear this idea is on the right track! I've got some priorities I need to get to this week, but I'm hoping I can contribute a PR for this in h3 sometime soon.
@phryneas opened https://github.com/apollographql/apollo-client/pull/11902 on our end which we are hoping to land in the next patch or two. I look forward to moving this forward!


text:
Infinity loading in Stackblitz

Hello!
When I try to import ofetch in default Stackblitz typescript template, I get errors like this and the sandbox won't load:

Demo here.

You should choose container with Nodejs like: https://stackblitz.com/edit/stackblitz-webcontainer-api-starter-nmp34c?file=README.md

You should choose container with Nodejs like: stackblitz.com/edit/stackblitz-webcontainer-api-starter-nmp34c?file=README.md

Thanks, this works, but why...

If you decide to use npm packages on stackblitz, you will most likely need a nodejs environment to help it run perfectly.
URL schema node just support above node@16

authors: SeryiBaran peterroe

repo: unjs/ofetch


text:
Other emulators that might use cso support?

I noticed you added support for cso to pcsx2 and play! besides PPSSPP. Any chance of adding the same to Yabuse / reincast / pcsxr ?
If i recall correctly some of these older consoles used subchannel data as copy protection and that is usually represented as a additional file outside of the iso and also some used CD audio tracks, which might ruin the locality of io reads, so i'm not sure if this is even a good idea in principle - close if you think it's not worthwhile.

To be honest, I don't know well how subchannel data is typically stored.
At a high level, typically cds have 2352 byte sectors, I think.  Outside the 2048 data bytes, the rest are used for error correction.  This is "Mode 1".  PS1 games use those extra bytes for data, afaik, so they're "Mode 2".  Normally these bytes are just stored on the ISO, not separate.
Currently, maxcso only supports power-of-two block sizes.  It makes things simpler, but it's doable to support arbitrary sizes.  FWIW, PPSSPP/Play!/pcsx2 only support power-of-two sizes also.
The actual subchannel data is an additional 98 (really 96) bytes that are also stored with these sectors.  AFAIK, this is typically stored into a separate file, although there's nothing stopping it from being interleaved I guess.  Depends on whether it's read together or separately, really.
How best to compress these really depends on how they're read - can I read two sectors and skip the subchannel data?  Is subchannel reading a separate operation?
As far as audio, pretty sure this is "just data", so it's just as compressible.
A lot of ps1 emulators are closed source, though...
-[Unknown]

I think epsxe (closed source) now supports a compression format that is a 'official' Sony format reversed with built in support for subchannel data - which they used in their PSNetwork Ps1 emulators. I guess a solution like that would not be reversible like cs0 (cue + img + sub files into a single format - not to mention that there are as many subchannel formats as there are backup tools. One for alcohol120 one for cdrecord, etc). Converting multiple formats, even if lossy only won't be easy.

Actually it's pcsxr saying it supports .pbp

I also found this about CCDA tracks in pbps: https://github.com/Hykem/psxtract/issues/9

Mmmm on second thought cso might not be a good fit for those consoles since they typically had quite a few multidisc games unlike the PSP or Ps2. PBP standard for multidisc games is a good thing (if only emulators hacked the bios to allow switching immediately when checked it would be perfect).

That's true, a single-file format designed for multiple discs does seem more appropriate for PS1 when you say it that way for sure.  I don't really know Sega consoles well, but I can imagine it's the same with them as well.
I'll close this for now, but if there's more info please feel free to still comment.
-[Unknown]

repo: unknownbrackets/maxcso

license: isc


text:
Core Files/Testing Update and introduce adapter-core

see https://forum.iobroker.net/post/237344 for more details

Thank you


text:
Split up the HTML into base & components

Also add gubylive to allowed hosts

👍

Removed meetup_desc as discussed

authors: raghothams shrayasr

repo: unnati-xyz/guby


text:
SAML Response Error while logging in using .edu account

While trying to login using a .edu account, the below error is
“Error in SAML response, Please contact system administration.”
SAML error.docx

fixed issue with bumped down versions.
python3-saml==1.14.0 xmlsec==1.3.13 isodate==0.6.1 six==1.11.0 lxml==4.6.5

tested newest package versions
tested on heroku stack 22

Above package versions only work on heroku stack 20 as of April 2023


text:
Sp23 sprint1 shireen

Package.json file, linting and test scripts changes

Only conflict was in .gitignore which has been resolved


text:
nuxt3中 @applay在浏览器中不生效

nuxt3 使用unocss的时候在标签的class中有效，但是在style中并不能有效使用因为需要使用@applay语法

@apply

authors: ReginYuan Shyam-Chen

repo: unocss/unocss


text:
.blade.php include not working

UnoCSS version
latest
Describe the bug
Using the following config

import { defineConfig, presetUno } from 'unocss'

export default defineConfig({
    presets: [
        presetUno(),
    ],
    include: ['./resources/views/**/*.blade.php'],
})

is not adding the styles defined in a ./resources/views/home/welcome.blade.php.
Reproduction
Here is an example repo, showing the exact steps
System Info
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

include is for matching the files in the build pipeline. For additional assets you will need
https://github.com/antfu/unocss/blob/b393dd62b19151b8bf215aa3d56d080cd4d0312e/packages/core/src/types.ts#L650-L653
Which will be
{
  extraContent: {
    filesystem: ['./resources/views/**/*.blade.php'], // maybe better to path as absolute path
  }
}

PR welcome if anyone wants to improve the docs.

@antfu I tried that without success: https://github.com/philharmonie/unocss/blob/master/uno.config.js

{
  extraContent: {
    filesystem: ['resources/views/**/*.blade.php'], // maybe better to path as absolute path
  }
}

It's working like that!

authors: antfu philharmonie