Skip to content

Instantly share code, notes, and snippets.

View adamfowleruk's full-sized avatar

Adam Fowler adamfowleruk

View GitHub Profile
@adamfowleruk
adamfowleruk / part.previous.log
Created August 20, 2018 08:22
part.previous.log
[2018-08-20 01:21:57,141][INFO ][Part : 149] main - PART command: publish
[2018-08-20 01:22:03,718][INFO ][GitManager : 115] initialiseCaptureRepos - Pushing asset files (to GitHub)
[2018-08-20 01:22:13,848][INFO ][GitManager : 344] initialiseCaptureRepos - Major version number detected (1.0). Pushing to master branch (master)
[2018-08-20 01:22:14,745][INFO ][GitManager : 398] publishMetadata - Pushing asset metadata (To the searchable Pentaho Asset Repository website)
[2018-08-20 01:22:14,755][FATAL][GitManager : 748] fetchRepositoryVersion - Could not complete pull of repo 'https://github.com/Pentaho-SE-EMEA-APAC/part-metadata.git'
org.eclipse.jgit.api.errors.WrongRepositoryStateException: Cannot pull into a repository with state: MERGING
at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:244)
at org.pentaho.part.versioning.GitManager.fetchRepositoryVersion(GitManager.java:746)
at org.pentaho.part.versioning.GitManager.publishMetadata(GitManager.java:4
@adamfowleruk
adamfowleruk / part.previous.log
Created August 17, 2018 17:32
part.previous.log
[2018-08-17 10:31:53,738][INFO ][Part : 149] main - PART command: publish
[2018-08-17 10:31:53,746][WARN ][PublishCommand: 68] execute - Running in non-interactive mode. This will overwrite files without asking.
[2018-08-17 10:31:57,102][TRACE][PublishCommand: 112] execute - Main JAR path: /usr/local/part/part.jar
[2018-08-17 10:31:57,166][INFO ][GitManager : 115] initialiseCaptureRepos - Pushing asset files (to GitHub)
[2018-08-17 10:31:57,167][TRACE][GitManager : 129] initialiseCaptureRepos - Entered initialiseCaptureRepository for folder: /home/demouser/projects/demo-agilebi
[2018-08-17 10:31:57,168][TRACE][GitManager : 133] initialiseCaptureRepos - Repo short name: demo-agilebi
[2018-08-17 10:31:57,168][WARN ][GitManager : 144] initialiseCaptureRepos - Asset folder already initialised for git: '/home/demouser/projects/demo-agilebi/.git'
[2018-08-17 10:31:57,169][TRACE][GitManager : 148] initialiseCaptureRepos - Loading local git fold
@adamfowleruk
adamfowleruk / part.previous.log
Created July 27, 2018 09:01
part.previous.log
This file has been truncated, but you can view the full file.
[2018-07-27 01:59:09,269][INFO ][Part : 151] main - PART command: capture
[2018-07-27 01:59:09,285][TRACE][RDBMSUtility : 96] sniffDrivers - SNIFF: Found postgres driver class on classpath
[2018-07-27 01:59:09,286][TRACE][RDBMSUtility : 102] sniffDrivers - SNIFF: Found hsqldb driver class on classpath
[2018-07-27 01:59:09,287][WARN ][CaptureCommand: 112] execute - Running in non-interactive mode. This will overwrite files without asking.
[2018-07-27 01:59:09,305][INFO ][CaptureCommand: 181] execute - Capturing to folder: /home/demouser/projects/demo-agilebi
[2018-07-27 01:59:09,631][DEBUG][HttpConnection: 378] readHttpGet - - GET url: http://localhost:8080/pentaho/plugin/data-access/api/datasource/jdbc/connection
[2018-07-27 01:59:09,635][TRACE][HttpConnection: 387] readHttpGet - executing request GET http://localhost:8080/pentaho/plugin/data-access/api/datasource/jdbc/connection HTTP/1.1
[2018-07-27 01:59
@adamfowleruk
adamfowleruk / part.previous.log
Created July 24, 2018 10:53
part.previous.log
[2018-07-24 11:53:33,486][INFO ][Part : 144] main - PART command: bug
[2018-07-24 11:53:35,648][FATAL][GitManager : 761] reportBug - Failed to add attachment to gist for new issue on GitHub
java.io.FileNotFoundException: C:\Users\afowler\.part\part.previous.log (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.pentaho.part.versioning.GitManager.reportBug(GitManager.java:758)
at org.pentaho.part.commands.BugCommand.execute(BugCommand.java:74)
at org.pentaho.part.Part.main(Part.java:191)
[2018-07-24 11:53:35,649][FATAL][BugCommand : 76] execute - Failed to report bug
@adamfowleruk
adamfowleruk / part.previous.log
Created July 24, 2018 10:49
part.previous.log
[2018-07-17 15:07:25,833][INFO ][Part : 125] main - PART command: publish
[2018-07-17 15:17:04,906][INFO ][Part : 125] main - PART command: publish
[2018-07-17 15:19:47,025][INFO ][Part : 125] main - PART command: publish
[2018-07-17 15:20:02,320][FATAL][GitManager : 117] initialiseCaptureRepos - Failed to create develop branch
org.eclipse.jgit.api.errors.RefNotFoundException: Ref HEAD cannot be resolved
at org.eclipse.jgit.api.CreateBranchCommand.getStartPointObjectId(CreateBranchCommand.java:276)
at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:129)
at org.pentaho.part.versioning.GitManager.initialiseCaptureRepository(GitManager.java:115)
at org.pentaho.part.commands.PublishCommand.execute(PublishCommand.java:74)
at org.pentaho.part.Part.main(Part.java:157)
@adamfowleruk
adamfowleruk / part.previous.log
Created July 24, 2018 10:01
part.previous.log
[2018-07-17 15:07:25,833][INFO ][Part : 125] main - PART command: publish
[2018-07-17 15:17:04,906][INFO ][Part : 125] main - PART command: publish
[2018-07-17 15:19:47,025][INFO ][Part : 125] main - PART command: publish
[2018-07-17 15:20:02,320][FATAL][GitManager : 117] initialiseCaptureRepos - Failed to create develop branch
org.eclipse.jgit.api.errors.RefNotFoundException: Ref HEAD cannot be resolved
at org.eclipse.jgit.api.CreateBranchCommand.getStartPointObjectId(CreateBranchCommand.java:276)
at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:129)
at org.pentaho.part.versioning.GitManager.initialiseCaptureRepository(GitManager.java:115)
at org.pentaho.part.commands.PublishCommand.execute(PublishCommand.java:74)
at org.pentaho.part.Part.main(Part.java:157)
@adamfowleruk
adamfowleruk / gpscompassread.c
Created July 14, 2014 15:50
Sending GPS and Compass information to hardware serial on Arduino Pro Mini with UBlox GPS and HMC5883L compass chip (Airbot UBlox 2.0 module)
#include <nmea.h>
#include <SoftwareSerial.h>
#include <Wire.h>
SoftwareSerial mySerial(2, 3); // RX, TX
NMEA nmeaDecoder(ALL);
void setup() {
// Open serial communications and wait for port to open:
Wire.begin();
@adamfowleruk
adamfowleruk / gpsprinter.c
Created July 13, 2014 22:51
NMEA decoder and Airbot UBlox GPS working on Arduino Pro Mini 3.3V
#include <nmea.h>
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3); // RX, TX - change for your connections
NMEA nmeaDecoder(ALL);
void setup()
{
// Open serial communications and wait for port to open:
@adamfowleruk
adamfowleruk / ublox-i2c.c
Created June 26, 2014 18:11
Serial and I2C comms examples for Airbot UBlox GPS and compass part
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <linux/i2c-dev.h>