Skip to content

Instantly share code, notes, and snippets.

View mikepsinn's full-sized avatar
💭
Attaining universal consciousness

Mike P. Sinn mikepsinn

💭
Attaining universal consciousness
View GitHub Profile
02-27 11:18:37.823 23648-23687/com.quantimodo.sync E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
02-27 11:43:40.291 25852-25944/com.quantimodo.sync E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
02-28 21:35:19.826 21566-21589/com.quantimodo.android I/QuantiModo﹕ AccessTokenStorecom.quantimodo.sync:c96637dabff2fe6b215692b0a4d1f871affb8ac7:writemeasurements
02-28 21:35:19.826 21566-21589/com.quantimodo.android I/QuantiModo﹕ RefreshTokenStorecom.quantimodo.sync:c96637dabff2fe6b215692b0a4d1f871affb8ac7:writemeasurements:refresh
02-28 21:35:19.826 21566-21589/com.quantimodo.android I/QuantiModo﹕ Returning: ac: 2d94cbe88d299fd08f529e93a3bb7cf141b45353exp: Fri Feb 28 22:34:03 CST 2014, ref: 3c9b5483adf842bf7ecf4f29afe9028add103ad5
02-28 21:35:19.826 21566-21589/com.quantimodo.android I/QuantiModo﹕ authtoken not null
02-28 21:35:19.826 21566-21589/com.quantimodo.android I/QuantiModo﹕ Expire check, current time: 1393644919840, expire date: 1393648443000
02-28 21:35:19.826 21566-21589/com.quantimodo.android I/QuantiModo﹕ Returning auth token: com.quantimodo.android.authentication.TokenManager$AuthToken@422dbac0
02-28 21:35:19.836 21601-21910/com.quantimodo.sync:sync I/Quantimodo﹕ Getting compatible apps
3-01 08:22:16.363 32443-32443/com.quantimodo.sync I/Quantimodo﹕ After syncing: com.myfitnesspal.android,com.urbandroid.sleep,:
03-01 08:22:17.233 32443-32443/com.quantimodo.sync I/Quantimodo﹕ Before syncing: com.myfitnesspal.android,com.urbandroid.sleep,:
03-01 08:22:17.233 32443-32443/com.quantimodo.sync I/Quantimodo﹕ After syncing: com.urbandroid.sleep,:
03-01 08:22:17.744 32443-32443/com.quantimodo.sync I/Quantimodo﹕ Before syncing: com.urbandroid.sleep,:
03-01 08:22:17.744 32443-32443/com.quantimodo.sync I/Quantimodo﹕ Disabling tracking apps sync, no apps selected
03-01 08:22:17.744 1165-6081/system_process D/SyncManager﹕ setSyncAutomatically: provider com.quantimodo.sync.content-appdata, user 0 -> false
03-01 08:22:17.774 32443-32443/com.quantimodo.sync I/Quantimodo﹕ After syncing: :
03-01 08:22:20.697 32443-32443/com.quantimodo.sync I/Quantimodo﹕ Before syncing: :
03-01 08:22:20.697 32443-32443/com.quantimodo.sync I/Quantimodo﹕ Enabling tracking apps sync, new app selected
03-01 08:22:20.697
03-01 08:25:58.580 1165-2313/system_process D/SyncManager﹕ setSyncAutomatically: provider com.quantimodo.sync.content-appdata, user 0 -> true
03-01 08:25:58.590 32443-32443/com.quantimodo.sync I/Adreno200-EGLSUB﹕ <ConfigWindowMatch:2087>: Format RGBA_8888.
03-01 08:26:02.053 32216-32234/com.quantimodo.android I/QuantiModo﹕ Get access token for: writemeasurements
03-01 08:26:02.063 32216-32234/com.quantimodo.android I/QuantiModo﹕ AccessTokenStorecom.quantimodo.sync:c96637dabff2fe6b215692b0a4d1f871affb8ac7:writemeasurements
03-01 08:26:02.063 32216-32234/com.quantimodo.android I/QuantiModo﹕ RefreshTokenStorecom.quantimodo.sync:c96637dabff2fe6b215692b0a4d1f871affb8ac7:writemeasurements:refresh
03-01 08:26:02.063 32216-32234/com.quantimodo.android I/QuantiModo﹕ Returning: ac: 14911fc9fc606388ddaf13710b1a19128632e6a5exp: Sat Mar 01 09:22:21 CST 2014, ref: 3c9b5483adf842bf7ecf4f29afe9028add103ad5
03-01 08:26:02.063 32216-32234/com.quantimodo.android I/QuantiModo﹕ authtoken not null
03-01 08:26:02.063 322
03-04 10:12:55.753 10118-10118/com.quantimodo.android E/﹕ <s3dReadConfigFile:75>: Can't open file for reading
03-04 10:12:55.753 10118-10118/com.quantimodo.android E/﹕ <s3dReadConfigFile:75>: Can't open file for reading
03-04 10:12:56.784 10118-10770/com.quantimodo.android E/AndroidRuntime﹕ FATAL EXCEPTION: Thread-11131
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
at com.google.gson.Gson.fromJson(Gson.java:815)
at com.google.gson.Gson.fromJson(Gson.java:768)
at com.google.gson.Gson.fromJson(Gson.java:717)
at com.quantimodo.sdk.QuantimodoClient.searchVariables(QuantimodoClient.java:266)
at com.quantimodo.android.fragments.TrackingFragment.getQmSuggestedVariables(TrackingFragment.java:582)
at com.quantimodo.android.fragments.TrackingFragment.getHistorySuggestedVariables(TrackingFragment.java:663)
@mikepsinn
mikepsinn / SpreadSheetReader.java
Created March 8, 2014 23:48
Port SpreadSheetReader.java to PHP
package com.quantimodo.etl;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.formula.eval.NotImplementedException;
import org.apache.poi.ss.usermodel.*;
import java.io.File;
import java.io.IOException;
public class SpreadsheetReader implements Reader
03-21 14:50:51.688 17426-17426/com.moodimodo I/Quantimodo﹕ Question: 0
03-21 14:50:51.698 17426-17426/com.moodimodo I/Quantimodo﹕ Overlay not null
03-21 14:50:51.768 17426-17426/com.moodimodo I/Quantimodo﹕ Cancel reminder
03-21 14:50:51.798 17426-17426/com.moodimodo I/Quantimodo﹕ Calculating accurate mood
03-21 14:50:51.798 17426-17426/com.moodimodo I/Quantimodo﹕ Not all questions were filled in, cannot calculate accurate mood
03-21 14:50:52.609 17426-17426/com.moodimodo I/Quantimodo﹕ Removed view
03-21 14:51:14.262 17426-17426/com.moodimodo I/Adreno200-EGLSUB﹕ <ConfigWindowMatch:2087>: Format RGBA_8888.
03-21 14:52:14.256 17426-17426/com.moodimodo W/IInputConnectionWrapper﹕ getExtractedText on inactive InputConnection
03-21 14:52:14.266 17426-17426/com.moodimodo W/IInputConnectionWrapper﹕ beginBatchEdit on inactive InputConnection
03-21 14:52:14.266 17426-17426/com.moodimodo W/IInputConnectionWrapper﹕ endBatchEdit on inactive InputConnection
03-21 15:04:58.097 23831-29271/com.myfitnesscompanion V/BluetoothSocket.cpp﹕ readNative
03-21 15:04:58.427 23831-29271/com.myfitnesscompanion V/BluetoothSocket.cpp﹕ readNative
03-21 15:04:59.208 23831-29271/com.myfitnesscompanion V/BluetoothSocket.cpp﹕ readNative
03-21 15:04:59.308 222-222/? I/VPNCStarter﹕ Message channel file directory does not exist
03-21 15:04:59.538 23831-29271/com.myfitnesscompanion V/BluetoothSocket.cpp﹕ readNative
03-21 15:04:59.879 5284-5343/system_process I/InputReader﹕ Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.2101 ]
03-21 15:04:59.879 5284-5342/system_process I/InputDispatcher﹕ Delivering touch to current input target: action: 0x0
03-21 15:04:59.879 5284-5342/system_process I/InputDispatcher﹕ Delivering touch to current input target: action: 0x0
03-21 15:04:59.879 5284-5342/system_process I/InputDispatcher﹕ Delivering touch to current input target: action: 0x0
03-21 15:04:59.879 5284-5342/system_process D/lights﹕ button : 255 +
app.imagenote.photonote.SPDChecker.isSPDValid(SPDChecker.java:70)
03-24 11:07:26.236 15510-18835/? W/System.err﹕ at com.sec.samsung.gallery.app.imagenote.photonote.SPDChecker.access$000(SPDChecker.java:10)
03-24 11:07:26.236 15510-18835/? W/System.err﹕ at com.sec.samsung.gallery.app.imagenote.photonote.SPDChecker$1.call(SPDChecker.java:149)
03-24 11:07:26.236 15510-18835/? W/System.err﹕ at com.sec.samsung.gallery.app.imagenote.photonote.SPDChecker$1.call(SPDChecker.java:137)
03-24 11:07:26.236 15510-18835/? W/System.err﹕ at java.util.concurrent.FutureTask.run(FutureTask.java:234)
03-24 11:07:26.236 15510-18835/? W/System.err﹕ at java.lang.Thread.run(Thread.java:841)
03-24 11:07:26.241 15510-18836/? W/System.err﹕ java.io.IOException: offset < 0: -65
03-24 11:07:26.241 15510-18836/? W/System.err﹕ at java.io.RandomAccessFile.seek(RandomAccessFile.java:601)
03-24 11:07:26.241 15510-18836/? W/System.err﹕ at com.sec.samsung.gallery.app.imagenote.photonote.SPDChecker.isSPDValid(SPDChecker.java:70)
03-24 11:0