this fixed it: http://support.alfredapp.com/kb:not-finding-apps
Monthly Archives: February 2012
eio running fctl (or open) on a scsi tape device
meant “the san had become disconnected” or something (errno 5)
Or there isn’t a tape in that drive.
Or you’re accessing st10 instead of st6 accidentally
java woe
[ERROR] \dev\3.0\dps_trunk\prestapeservice\src\test\java\org\familysearch\digitalarchive\dpstapewriter\ActuallyWriteToTapeTest.java:[16,4] as of release 1.4, ‘assert’ is a keyword, and
may not be used as an identifier
[ERROR] (use -source 1.3 or lower to use ‘assert’ as an identifier)
[ERROR] assert subject.thisBlocksCrcFinalValues.size() == 0;
[ERROR] \dev\3.0\dps_trunk\prestapeservice\src\test\java\org\familysearch\digitalarchive\dpstapewriter\ActuallyWriteToTapeTest.java:[16,18] ‘;’ expected
[ERROR] \dev\3.0\dps_trunk\prestapeservice\src\test\java\org\familysearch\digitalarchive\dpstapewriter\ActuallyWriteToTapeTest.java:[16,48] <identifier> expected
[ERROR] \dev\3.0\dps_trunk\prestapeservice\src\test\java\org\familysearch\digitalarchive\dpstapewriter\ActuallyWriteToTapeTest.java:[16,50] ‘;’ expected
[ERROR] -> [Help 1]
meant “you are putting an assert outside a method body!”
visual studio 2010 express 64 bit woe
1>MSVCRTD.lib(ti_inst.obj) : fatal error LNK1112: module machine type ‘X86′ conflicts with target machine type ‘x64′
this meant “your properties -> VC++ Directories -> Library Directories” is pointing to a directory that has 32 bit libs built in it. Fix somehow!
In my case http://social.msdn.microsoft.com/Forums/ar/vcgeneral/thread/c747cd6f-32be-4159-b9d3-d2e33d2bab55
jna unsigned char
just use a byte it “should work”
ref: http://en.wikipedia.org/wiki/Java_Native_Interface#Mapping_types
http://jna.java.net/javadoc/overview-summary.html#marshalling
jnaerator woe
Exception in thread “main” java.lang.Error: Exception reading field ‘interface_id’ in class sg_io_hdr_t: java.lang.IllegalAccessException: Class com.sun.jna.Structure can not access a member of class sg_io_hdr_t with modifiers “public”
at com.sun.jna.Structure.getField(Structure.java:468)
at com.sun.jna.Structure.calculateSize(Structure.java:788)
at com.sun.jna.Structure.allocateMemory(Structure.java:290)
at com.sun.jna.Structure.<init>(Structure.java:177)
at com.sun.jna.Structure.<init>(Structure.java:167)
at com.sun.jna.Structure.<init>(Structure.java:163)
at com.sun.jna.Structure.<init>(Structure.java:154)
at com.ochafik.lang.jnaerator.runtime.Structure.<init>(Structure.java:29)
at sg_io_hdr_t.<init>(Yo.java:124)
at Yo.sendScsiCommand(Yo.java:64)
at Yo.rewindTape(Yo.java:38)
at Yo.main(Yo.java:33)
meant “you need to make that class public or it won’t instantiate right [I guess]“
jna woe
javac -cp \*.jar Yo.java
Yo.java:2: package com.sun.jna does not exist
import com.sun.jna.Library;
^
Yo.java:3: package com.sun.jna does not exist
import com.sun.jna.Native;
^
Yo.java:4: package com.sun.jna does not exist
import com.sun.jna.Platform;
^
Yo.java:5: package com.sun.jna does not exist
import com.sun.jna.Pointer;
^
Yo.java:6: package com.ochafik.lang.jnaerator.runtime does not exist
import com.ochafik.lang.jnaerator.runtime.Structure;
^
Yo.java:7: package com.sun.jna does not exist
import com.sun.jna.Pointer;
^
Yo.java:15: cannot find symbol
symbol : class Library
location: class Yo
public interface CLibrary extends Library {
^
Yo.java:49: cannot find symbol
symbol: class Structure
class sg_io_hdr_t extends Structure<sg_io_hdr_t, sg_io_hdr_t.ByValue, sg_io_hdr_t.ByReference > {
^
Yo.java:92: package Structure does not exist
public static class ByValue extends sg_io_hdr_t implements Structure.ByValue {
^
Yo.java:89: package Structure does not exist
public static class ByReference extends sg_io_hdr_t implements Structure.ByReference {
^
Yo.java:57: cannot find symbol
symbol : class Pointer
location: class sg_io_hdr_t
public Pointer dxferp;
^
Yo.java:59: cannot find symbol
symbol : class Pointer
location: class sg_io_hdr_t
public Pointer cmdp;
^
Yo.java:61: cannot find symbol
symbol : class Pointer
location: class sg_io_hdr_t
public Pointer sbp;
^
Yo.java:66: cannot find symbol
symbol : class Pointer
location: class sg_io_hdr_t
public Pointer usr_ptr;
^
Yo.java:17: cannot find symbol
symbol : variable Platform
location: interface Yo.CLibrary
Native.loadLibrary((Platform.isWindows() ? “msvcrt” : “c”),
^
Yo.java:17: cannot find symbol
symbol : variable Native
location: interface Yo.CLibrary
Native.loadLibrary((Platform.isWindows() ? “msvcrt” : “c”),
^
Yo.java:81: cannot find symbol
symbol : method setFieldOrder(java.lang.String[])
location: class sg_io_hdr_t
setFieldOrder(new String[]{“interface_id”, “dxfer_direction”, “cmd_len”, “mx_sb_len”, “iovec_count”, “dxfer_len”, “dxferp”, “cmdp”, “sbp”, “timeout”, “flags”, “pack_id”, “usr_ptr”, “status”, “masked_status”, “msg_status”, “sb_len_wr”, “host_status”, “driver_status”, “resid”, “duration”, “info”});
^
Yo.java:87: cannot find symbol
symbol : variable Structure
location: class sg_io_hdr_t
return Structure.newArray(sg_io_hdr_t.class, arrayLength);
^
18 errors
meant “you don’t have all the jars in your classpath, do it like this intead” (I guess..bash woe?)
$ javac -cp jna.jar:jnaerator-0.9.10-SNAPSHOT-shaded.jar Yo.java
automatic swig-like JNA converter
http://code.google.com/p/jnaerator/ apparently
better than quicksilver (OS X)
I think what you want is “alfred” http://itunes.apple.com/us/app/alfred/id405843582?mt=12
end-of-data detected scsi sense data
this with an on drive verify “error” sense data response of
f0 00 08 00 00 00 01 12 00 00
00 00 00 05 00 00 00 00 32 05
10 01 00 00 00 00
(08 00 05) meant “when passing in the verify command, you have too many values in the length field, so it’s expecting more files than are on tape” and erring.