dschanoeh / kayak Goto Github PK
View Code? Open in Web Editor NEWKayak is a CAN bus analysis tool based on SocketCAN
Home Page: https://dschanoeh.github.io/Kayak/
License: GNU Lesser General Public License v3.0
Kayak is a CAN bus analysis tool based on SocketCAN
Home Page: https://dschanoeh.github.io/Kayak/
License: GNU Lesser General Public License v3.0
Hi,
Does Kayak support SAE J1939, at least I did not find it in any of descriptions.
Thank you in advance for help,
Pawel
Instructions for installing socketcand in the Kayak tutorial is outdated and incorrect. According to the socketcand documentation, the correct instructions are:
./autogen.sh
./configure
make
make install
Please update.
Hi,
I'm having an issue while trying to compile Kayak on a Debian GNU/Linux (sid):
Failed to transfer file: http://bits.netbeans.org/maven2/org/netbeans/api/org-openide-util/RELEASE80/org-openide-util-RELEASE80.pom. Return code is: 502 , ReasonPhrase:Bad Gateway.
If I actually point the browser on the URL (or try to download it via wget or curl) it fails, seems like there's no resource behind the HTTP server.
Thanks in advance,
m
The link to the binaries for installing Kayak on the tutorials page under "(3) Install and configure Kayak" is broken.
Hi all,
I created a file named engine.kcd in ~/kayak/descriptions/...
with the following content: https://github.com/dschanoeh/Kayak/blob/master/Kayak-kcd/src/test/resources/can_definition_sample.kcd
but there is nothing in the descriptions tab when I open kayak.
If the "Log files" widget is closed, there is no chance to re-open it.
Is it possible to load and transmit messages which are defined in the description (.kcd) from Kayak? The closest which I get is the "Send frames" window, but as far as I know it is only possible to manually add these frames along with their content (which is not ideal in my case).
Hi,
this happens with Kayak-1.0-SNAPSHOT and openjdk version "1.8.0_201" on Fedora 29 on running ./kayak
:
./../etc/kayak.conf: line 4: $'\r': command not found
./../etc/kayak.conf: line 9: $'\r': command not found
./../etc/kayak.conf: line 12: $'\r': command not found
Invalid maximum heap size: -Xmx256m
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
This is similiar to the problem reported by @M4GNV5 in #25 and the solution provided by @follower applies as well:
file ./../etc/kayak.conf
./../etc/kayak.conf: ASCII text, with CRLF line terminators
dos2unix ./../etc/kayak.conf
dos2unix: converting file ./../etc/kayak.conf to Unix format...
file ./../etc/kayak.conf
./../etc/kayak.conf: ASCII text
Now ./kayak
starts.
I am getting a compile error when I run "mvn clean package":
java.lang.NoClassDefFoundError: org/codehaus/plexus/components/io/resources/PlexusIoResourceCollection
The output of the build is attached. I am using 64-bit Ubuntu 15.04.
mvn --version shows this:
Apache Maven 2.2.1 (rdebian-17)
Java version: 1.8.0_45-internal
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "4.1.5-rt5-custom" arch: "amd64" Family: "unix"
KCD doesn't allow the user to specify a minimum/maximum value which is used to limit the physical value after the conversion (y = mx + b) was applied.
Signals with big endian byteorder are loaded as signals with little endian byteorder.
Either I'm missing something completely obvious or ... but for the life of me I cannot figure out how to save my projects or workspace/setup. I've got everything working but no way of saving. The save all button is disabled and although current setups are usually reloaded by default, there are occasions where they don't load and I lose all my set up. Surely there's a way to save all of this stuff...?
Dear all
Since January the new kcd-version includes a namespace and does not support "version" no more [1]. Would it be possible to integrate some kind of backwards compatibility to support older versions of this format, as other applications like CANBabel [3](or restcan [4]) are using it.
For instance CANBabel is producing an invalid format of kcd, as it is still using "version="0.7"" [2].
Sincerely, alvar
[1] https://github.com/dschanoeh/Kayak/pull/17/commits
[2] julietkilo/CANBabel#7
[3] https://github.com/julietkilo/CANBabel
[4] https://github.com/dschanoeh/restcan
If the time is stopped and started again while recording a log file the timestamps in the file start again at zero. This is bad and breaks the format specification. Therefore log file recording must be stopped when the global time is stopped.
With socketscan installed by command below.
$ git clone http://github.com/dschanoeh/socketcand.git $ cd socketcand $ autoconf $ ./configure $ make clean $ make $ sudo make install
With java version โ1.8.0_161โ
installed.
With maven
installed by command sudo apt-get install maven2
.
When input mvn clean package
in the Kayak source folder,it did't work out.
The log info shown below.
log.docx
When I try to start Kayak I get
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/kwood/Kayak/application/target/kayak/platform/lib/boot.jar) to field java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
This is on Ubuntu 18.04LTS running on VBOX. works fine when I install it on a native install of Ubuntu.
Kayak (KCDLoader) can't load example kcd-file. (https://raw.github.com/dschanoeh/Kayak/master/Kayak-kcd/src/test/resources/can_definition_sample.kcd)
WARNING [com.github.kayak.canio.kcd.loader.KCDLoader]: Found invalid file: C:\Users\D1AHRTN\kayak\descriptions\can_definition_sample.kcd!
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'min' is not allowed to appear in element 'Value'.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unknown Source)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
at com.github.kayak.canio.kcd.loader.KCDLoader.parseFile(KCDLoader.java:106)
at com.github.kayak.ui.descriptions.DescriptionManagement.addDescription(DescriptionManagement.java:114)
at com.github.kayak.ui.descriptions.DescriptionManagement.access$100(DescriptionManagement.java:45)
at com.github.kayak.ui.descriptions.DescriptionManagement$2.run(DescriptionManagement.java:101)
at org.openide.util.Task.run(Task.java:248)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'min' is not allowed to appear in element 'Value'.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.processAttributes(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
at org.apache.xerces.jaxp.validation.ValidatorHandlerImpl.startElement(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
... 13 more
This is the error. =/
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project Kayak-mapview: Compilation failure
[ERROR] /home/kali130/Kayak/Kayak-mapview/target/generated-sources/annotations/com/github/kayak/mapview/Bundle.java:[3,18] cannot find symbol
[ERROR] symbol: class Generated
[ERROR] location: package javax.annotation
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :Kayak-mapview
Hi,
I downloaded the binary file for Linux OS from kayak.2codeornot2code.com. The installation was successful but the application failed to launch. But the binary for a Windows machine works.
Also, I tried to clone all the files using git, but the build was not successful. It shows a failure in building the Netbeans module. I have double checked that the correct version of JDK and Maven is installed. Inspite of multiple attempts, the build was a failure.
Please help on how I can rectify this. I have installed socketcand and other tools on a Kali Linux machine.
The linux binary installer file from http://kayak.2codeornot2code.org/Kayak-1.0-SNAPSHOT-linux.sh seems to be corrupted.
Download
chmod +x Kayak-1.0-SNAPSHOT-linux.sh
./Kayak-1.0-SNAPSHOT-linux.sh
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Installer file {mylocalpath}/Kayak-1.0-SNAPSHOT-linux.sh seems to be corrupted
Has anyone got Kayak working on the Raspberry Pi 2?
I've got socket can up as can0 and when I try to connect as socket//[email protected]:29536
It won't connect. Is the syntax correct?
Build fails with error in Kayak-mapview:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project Kayak-mapview: Compilation failure
[ERROR] /home/ralf/src/Kayak/Kayak-mapview/target/generated-sources/annotations/com/github/kayak/mapview/Bundle.java:[3,18] cannot find symbol
[ERROR] symbol: class Generated
[ERROR] location: package javax.annotation
I did a clean "git clone" and used "mvn clean install".
Other modules had no build problem:
[INFO] Kayak .............................................. SUCCESS [ 0.227 s]
[INFO] Kayak - Platform application branding resources .... SUCCESS [ 2.342 s]
[INFO] Kayak-core NetBeans Module ......................... SUCCESS [ 3.980 s]
[INFO] Kayak-ui NetBeans Module ........................... SUCCESS [ 3.597 s]
[INFO] Kayak-logging NetBeans Module ...................... SUCCESS [ 1.163 s]
[INFO] Kayak-kcd NetBeans Module .......................... SUCCESS [ 2.680 s]
[INFO] Kayak-mapview NetBeans Module ...................... FAILURE [ 0.459 s]
[INFO] Kayak - NetBeans Platform based application ........ SKIPPED
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.