[Newbies] Omnibase (OSProcess undefined)

ernst ernst at hisplace.net
Sat Aug 5 14:17:45 UTC 2006


Have loaded Omnibase from OmniBase-DG.6.mcz (tried also SqueakMap)
DoIt:   db := OmniBase createOn: 'MyDB'
and get a walkback because OSProcess is undefined (see below).
Is OSProcess a class or some kind of global variable?
How to fix it?

Thanks

ensureAccessMode: accessMode forFileStream: aFileStream
	"Check the special byte is appropriately set to allow the desired access
mode.  Signal a locking conflict if there is a problem.
	See the class comment for more information on what's going on here."
	
	| needsWriteAccess |
	needsWriteAccess := (accessMode = self accessModeReadOnly) not.
	(OSProcess accessor
		isLockableFile: aFileStream
		from: self shareModeFlagLocation
		to: self shareModeFlagLocation
		exclusive: needsWriteAccess)
			ifFalse: [ODBLockingConflict signal].
-- 
View this message in context: http://www.nabble.com/Omnibase-%28OSProcess-undefined%29-tf2055921.html#a5664493
Sent from the Squeak - Beginners forum at Nabble.com.



More information about the Beginners mailing list