UTL_FILE, Extra CRFL's, possible OS interpretation problem.
Greetings,
DISCLAIMER:
I am an oracle noob so if I make a mistake in forum etiquette or have not checked all available documentation or have made an assumption that is incorrect ( or noobish ) or am unaware of a tool better suited to the task I am trying to accomplish..
Please don’t flame me, I am learning. Give me constructive replies and I will learn, I promise.
My environment: 10G XE DB running on Server 2k3. Developing in SQLDEV 1.54
I am attempting to dump the contents of a CLOB to a file on the OS disc. Due to formatting restrictions, the contents of the file written to disc must be EXACTLY the contents of the CLOB, character per-per character, verbatim.
Here is an example anon block that will give you the essentials of the way I am attempting to accomplish this:
DECLARE
l_clob CLOB ;
l_output_file utl_file.file_type;
BEGIN
l_clob := 'Hello my name is George!' || chr(13) || chr(10) ;
l_clob:= l_clob || 'Would you like to play a game?' || chr(13) || chr(10);
l_clob := l_clob || 'It will be fun, I promise..' || chr(13) || chr(10);
dbms_output.put_line( dbms_lob.getlength(l_clob));
l_output_file := utl_file.fopen( TEST_DIR' , 'test.txt' ,'W', max_linesize=> 32767 );
utl_file.put( l_output_file , l_clob );
utl_file.fflush( l_output_file);
utl_file.fclose( l_output_file );
utl_file.fclose_all;
END;
Here you can see where I put a few lines into my clob, I manually append the CRLF using the CHR function, since I cant accurately reproduce a non-printable character in a string value. This is important because the Clob I am attempting to write to disc contains CRLF’s as part of its data, these must be preserved. Also note that I am writing this to the file using utl_file.PUT not PUT_LINE, again, because the disk file must be the clob verbatim, I cant use put_line because it adds a “new line character” at the end of the data it writes.
Ignore the DMBS_OUTPUT line , I will get back to that in a bit.
I execute this bit of code and get a file text.txt. What I expected to see was:
“'Hello my name is George!
Would you like to play a game?
'It will be fun, I promise..”
What I actually got was:
!http://i594.photobucket.com/albums/tt22/GargleSpam/Temp001.jpg!
Looking at this in notepad++ we can expose the non-printable chars:
!http://i594.photobucket.com/albums/tt22/GargleSpam/Temp002.jpg!
Using notepad ++ we can see that an extra CR ( CHR(13)) has been pre-pended to the CRLF. We can confirm this is not an artifact of viewing this in notepad by looking at the file size of the output file and comparing it to the size of the clob.
The DBMS_OUTPUT line indicates ( in my test case) clob size of 87 characters. If you take the time to count you will see this is correct. 81 printable characters that we see, and the 6 non-printable chars to accomplish the CRLF’s.
However if we look at the file size:
!http://i594.photobucket.com/albums/tt22/GargleSpam/Temp003.jpg!
So that’s 87 + our 3 “ninja ” CR’s.
For my purposes this is a deal-breaking problem. The contents of my output file must be exactly the contents of my clob, byte for byte. So this extra CR is a big big problem.
Where is it coming from? I started thinking about the “new line character” that the PUT_LINE procedure uses and, had a hunch that perhaps since the DB is OS independent, it might be passing one of the non-printable chars to the OS as “new line” and letting the os worry about what that means on disk. With that in mind I did some further testing:
DECLARE
l_clob CLOB ;
l_output_file utl_file.file_type;
BEGIN
l_clob := 'Incoming lf->'|| chr(10) ;
l_clob:= l_clob || 'Incoming cr->' || chr(13);
clob:= lclob || 'Incoming CRLF->' || chr(13) || chr(10);
l_output_file := utl_file.fopen( TEST_DIR' , 'test.txt' ,'W', max_linesize=> 32767 );
utl_file.put( l_output_file , l_clob );
utl_file.fflush( l_output_file);
utl_file.fclose( l_output_file );
utl_file.fclose_all;
END;
This code results in:
!http://i594.photobucket.com/albums/tt22/GargleSpam/Temp004.jpg!
Looking at this it becomes obvious that the CHR(10) is being written to disc as TWO characters ( CR LF). So my assumption must be correct, that the DB is passing CHR(10) to the OS as “newline” and the OS ( Windows in my case ) is interpreting this as ‘CRLF.’
This makes sense since it seems to be widely known ( though not to me , I am shaky on this part ) that “newline” in unix is just CHR(10), and in windows its CHR(10)||CHR(13).
So I seem to have isolated my problem. Now finally my question.. How to I get around this?
Google searches and searches on this forum yeilded only marginal help, something about passing this file through an FTP server.. ?. The only marginal help was in post # 3298335. Nothing that really answers my question though.
Is there a setting my DBA can set to change this behavior? Is there a different way ( PLSQL) to write the file that might mitigate this? Don’t say put the DB on unix, that’s not an option.
Let me know what you think…
-VAF
Hi,
Also you should check that the directory name is enclosed between '. TEST_DIR is an Oracle directory object that maps a real directory path in the filesystem (check privileges).
Like:
DECLARE
l_clob CLOB;
l_output_file utl_file.file_type;
BEGIN
l_clob := 'Hello my name is George!' || CHR(13) || CHR(10);
l_clob := l_clob || 'Would you like to play a game?' || CHR(13) || CHR(10);
l_clob := l_clob || 'It will be fun, I promise..' || CHR(13) || CHR(10);
dbms_output.put_line(dbms_lob.getlength(l_clob));
l_output_file := utl_file.fopen('TEST_DIR', 'test.txt', ' W', max_linesize => 32767);
utl_file.put(l_output_file, l_clob);
utl_file.fflush(l_output_file);
utl_file.fclose(l_output_file);
END;Tip: to post formatted code you must enclose it between {noformat}{noformat} tags (start and end tags are the same).
Regards,
Similar Messages
-
Hi
DECLARE @XMLA nvarchar(3000)
, @DateSerial nvarchar(35);
-- Change date to format YYYYMMDDHHMMSS
SET @DateSerial = CAST(GETDATE() AS DATE);
--SELECT @DateSerial
Set @XMLA =
N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
<ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
<KeyErrorLimit>-1</KeyErrorLimit>
<KeyNotFound>IgnoreError</KeyNotFound>
<NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
</ErrorConfiguration>
<Parallel>
<Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
<Object>
<DatabaseID>MultidimensionalProject5</DatabaseID>
<CubeID>giri</CubeID>
<MeasureGroupID>Fact Internet Sales</MeasureGroupID>
</Object>
<Type>ProcessFull</Type>
<WriteBackTableCreation>UseExisting</WriteBackTableCreation>
</Process>
</Parallel>
</Batch>';
EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
iam executive the query when iam getting below error.
[Execute SQL Task] Error: Executing the query "DECLARE
@XMLA nvarchar(3000)
, @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
correctly, or connection not established correctly.
how to solve this error;
please help meWhat are you trying to do? What sort of data source is SHALL-PCAdventureWorksDw?
When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
If you explain why you think this would work in the first place, maybe we can help you.
Erland Sommarskog, SQL Server MVP, [email protected] -
HT5622 The sound on my ipad mini isn't working. What could possibly be the problem?
The sound on my ipad mini isn't working. What could possibly be the problem?
Reset the device....hold the home and power keys down until the Apple logo appears.
Barry -
Just want to say I love Apple and a very special thank you to Moustafa Barighzaai for going the extra mile and resolving a huge problem for me. Thanks sooo much, it was and is greatly appreciated.
Just want to say I love Apple and a very special thank you to Moustafa Barighzaai for going the extra mile and resolving a huge problem for me. Thanks sooo much, it was and is greatly appreciated.
-
Hi .
I was creating the pass the values t in temp tables though s sis package vs2012 .
First I was taken on executive SQL TASK.
IN EXCUTIVE SQL TASK . I was write the stored proce:
Sp;
reate procedure USP_GETEMP2333
AS
begin
Select eid,ename,dept,salary from emp
end;
create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
insert into #temp
exec USP_GETMP02333
go.
It was executive correctly.
I was taken another sequence container. In the sequence container iam creating one executive sql
In 2<sup>nd</sup> excutive sql task: sql statements is
if object_id('emp_fact_sal') is not null
drop table emp_fact_sal
select eid,ename as emp_name,sal_bar=
case when salary<=5000 then 'l'
when salary >5000 and salary<=7000 then 'm'
else
'h'
end
into emp_fact_sal from #temp.
and one falt flies it was taken to designation .
iam changing all connection properties:
in oldeb connection:
in excutive sal task properties .
delay validation is true,
and retain connection maner is also true,
and package mode is 64 bit is false.
But iwas excutive in 2<sup>nd</sup> excutive ql task .
Iam getting this type of errors,
[Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
correctly.
Please help meArthur suggestion works but you shouldnt even be doing this on a SQL Task.
Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
is an undocumented behavior and should not be relied upon. -
P7N Diamond (Ms-7510) - Possible chipset heat problem
Hi,
Have a P7N Diamond (Ms-7510) with possible chipset heat problem.
After looking around I have seen the platic plugs that keep the chipset heatpike in-place are broken.
Would like to replace them but dont know what size and type to get.
Does anyone know?
Or perhaps there is some other issue with it?
Have seen a few people who clams there is alot of issues with this m/b...
I am a bit stubborn and want to get some life in to this thing! ;-)
FYI I have posted a few others post about this m/b before here...
Thx
//ChristofferTry checking at hobby shop or hardware store and get some nylon screws of size needed instead. Just measure the hole size or take one of the broken pins with you so you can get the right size. Length shouldn't be much of a problem because if you have get something longer than needed they are relatively easy to cut.
P7N was one of the not so good MBs back then. P45 Platinum was one of the very best though and if you could get your hands on one of them for a good price you would be very happy with it. I know several people with new rigs but their mainstay backups are P45 Plats. -
A205-S5000 won't boot. Says possible hard drive problem
Laptop won't boot and says possible hard drive problem. Need to recover
personal reports and data, so thinking of removing the drive and using an enclosure
so the data, if still good, can be extracted from the drive by another computer. Question
is, will I be able to create the restore cd's from the hard drive if the hard drive is not the
boot drive ie; attached to a 2nd computer via usb and enclosure.
If it's not possible, I can try to create cd's from a different model laptop (toshiba), same vista os but
what about the product key? I will try to reinstall the bad drive and try a reboot to recovery mode but
I doubt that is going to work or complete. Idea was to get a new drive and try to install recovery disks.Satellite A205-S5000
Recovery discs must be from an identical model. If you can't burn them from that computer, best to order them
Order Toshiba Recovery Media
The restored Windows is pre-activated.
-Jerry -
I have a mid-2010 polycarbonate/white MacBook (model A1342) running OS X 10.6.8. My machine has been having issues with the internal Bluetooth and keyboard/trackpad randomly ceasing to function.
Bluetooth issue
As of recently (the past month or two), the Bluetooth adapter will completely disappear and eventually reappear on a random basis. It won't appear at all in System Profiler, and the BT menu says "not available". Also, I have had a few kernel panics recently, all of which were apparently thrown by a Bluetooth process/daemon/driver (unfortunately I forgot which one, and also lost the logs from the panics.)
My system has a Broadcom Bluetooth chip that's part of the AirPort card, but is basically just an internal USB device. The adapter has some sort of integrated USB hub ("BRCM2070 Hub"), which the "Bluetooth Module" device itself is connected to.
Nonetheless, this seems to be some sort of problem on the USB bus. Whenever there is a failure, I will almost always see output in Console showing USB errors (ie errors about "enumerating a USB device", "clearing port power", "setting port power", "getting port status", etc). It will either be on any of the ports of the hub at 0x6600000 (the "BRCM2070 Hub" that "Bluetooth Module" is connected to), or port 6 of the hub at 0x6000000 (BRCM2070's port on the internal bus, which the keyboard/trackpad is also connected to on port 3).
I can post more/longer ones, but here's a somewhat short example of the error messages I might receive:
11/18/12 3:18:36 PM kernel USBF: 7351.492 [0xcf9b300] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 6 of Hub at 0x6000000)
11/18/12 3:18:38 PM kernel USBF: 7353.987 AppleUSBHubPort[0xcf9b300]::FatalError - Port 6 of Hub at 0x6000000 reported error 0xe00002c7 while doing clearing port power feature
11/18/12 3:18:38 PM kernel USBF: 7353.987 [0xcf9b300] The IOUSBFamily was not able to enumerate a device.
11/18/12 3:20:20 PM blued[448] Apple Bluetooth daemon started
11/18/12 3:20:20 PM kernel USBF: 7456.186 [0x11fb1300] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 2 of Hub at 0x6600000)
11/18/12 3:20:20 PM kernel USBF: 7456.188 [0x11fb1300] The IOUSBFamily was not able to enumerate a device.
Keyboard/trackpad issue
There's also an issue where the internal keyboard/trackpad will randomly cease functioning (until I restart), often a couple of times a day as of recently. I've had this issue on rare occasion for a while now, but it's gotten more frequent. And more recently, the caps lock light on the keyboard occasionally turns itself on when I'm away.
Both the internal keyboard/trackpad as well as the Bluetooth "hub"/device are connected to the same USB bus/hub. When the keyboard/trackpad die, I've noticed that there will be very similar messages in Console to those above and usually a Bluetooth failure at the same time. (In some cases, it seems to notice that the keyboard/trackpad isn't responding, then attempts to reset/reinitialize it...ie log below.) What could the root cause be...could it be the USB "root" hub/bus causing one or both of these to fail, or possibly a problematic device causing the other to lose connection? I haven't had issues with USB devices on other buses failing, though (ie no problems with external devices.)
Maybe more out of curiosity than anything else, but I've been poking around for info on what might be going on with the USB (aside from the 0x66 hub repeatedly dropping/reconnecting and etc), but can't find much. There seems to be no documentation about the error codes (ie 0xe00002c7) that the hardware/OS are relaying. I even poked through the source for some of the relevant kexts and some reading on OS X driver/kernel programming too...might as well learn more about the inner workings of OS X
Here's an example of some of the messages that I get about the Keyboard/Trackpad:
11/21/12 2:57:22 AM kernel USBF: 1439.228 IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xd1ff000]: Detected an kIONotResponding error but still connected. Resetting port
11/21/12 2:57:22 AM kernel USBF: 1439.234 AppleUSBHubPort[0xd040600]::Resetting device Apple Internal Keyboard / Trackpad: port 3 of Hub at 0x6000000
11/21/12 2:57:22 AM kernel USBF: 1439.319 [0x14452600] USB HID Interface #0 of device CompositeDevice @ 5 (0x6610000)
11/21/12 2:57:22 AM kernel AppleUSBMultitouchDriver::message - kIOUSBMessagePortHasBeenReset.
11/21/12 2:57:23 AM blued[248] Apple Bluetooth daemon started
11/21/12 2:57:23 AM kernel AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitialized
Attempted fixes
Unfortunately, my Macbook isn't under warranty so I'm mostly on my own. First I zapped PRAM, reset SMC, ensured OS updates are installed (still on 10.6.8), and threw out a few drivers/software that were possible troublemakers. Next, I tried running another OS/install to rule out software issues. Accordingly, I found that the BT adapter sometimes disappears on Windows 7 as well (just did a clean install). And finally, I bought a new AirPort/BT card and installed it the other day. That seemed better at first, but I still have the problem of intermittent Bluetooth and keyboard/trackpad.
Problems/solutions?
What might the issue be, or is there anything that may be worth trying? As I mentioned, I've reset PRAM and SMC, made sure it's not an OS/driver issue (it happens on Win7 too), and replaced the Airport card. The machine does have aftermarket RAM (from OWC, ~2 years old) and SSD (Crucial M4, installed September)...but it seems unlikely that either of these would cause the problem. There haven't been any accidents that would have caused physical or (to my knowledge) electrical damage to it.
I also searched for any occurrences of similar problems, but could not find any that were applicable to the Macbook revision in question. There was a similar keyboard/trackpad issue on older Macbook Pros that was caused by stress on a ribbon cable...but that seems unlikely given the concurrent issues with Bluetooth as well as the different design.
The only thing I can think of next is to possibly replace the cable connecting the Airport card to the logic board, and possibly look at replacing the keyboard/trackpad (topcase). Anyway, I'm worried that it might be a hardware issue with the internal USB controller/hub, which would probably mean that it's unfixable unless I replace the logic board.
Any advice as to which of these might be a potential solution or cause of the problem? Or might I just as well sell it off in its current condition and replace it?
Thanks all!Has anyone find a fix for this? I've been using my Dragon Dictate headset on my MacBook Pro for about a year, and then today, when I plugged it in, I got this:
4/16/14 10:01:04.000 AM kernel[0]: USBF: 47.766 The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 1 of Hub at 0x4000000)
4/16/14 10:01:07.000 AM kernel[0]: USBF: 50.269 AppleUSBHubPort::FatalError - Port 1 of Hub at 0x4000000 reported error 0xe00002c7 while doing clearing port power feature
4/16/14 10:01:07.000 AM kernel[0]: USBF: 50.269 The IOUSBFamily was not able to enumerate a device.
Here is what I have tried so far:
Reset the PRAM
Reset SMC
Verify disk (there were no problems)
Repair permissions
Boot with an external USB hard drive (which works fine on the "problem" computer) that contained an old SuperDuper clone of my hard drive from several months ago. I received the same "The IOUSBFamily was not able to enumerate a device" error when I plug in the headset.
Tried to headset on another computer, and it worked fine.
Plug in an external USB keyboard into the problem computer, and it works fine.
All of this would lead me to conclude that it is a hardware problem. But it seems that if it were a hardware problem, the external USB keyboard and external USB hard drive would not work (which they do). If the problem were with the headset, it wouldn't work on another computer, but it does. So I'm wondering if it's some sort of firmware issue…??????? URG!!!!!! -
Possible solution for problems printing with ICC profiles - esp. R2400
(N.B. This is long because I've decided to go in to details about the background of the problem etc.. Also note that whilst my experience is with the Epson R2400, anyone with problems printing using ICC profiles in Aperture may find this post helpful, as will be explained further down the post.)
Ok, here's the situation. I've been an Aperture user for over a year, and an R2400 owner for half a year. In that time I have done a huge amount of experimenting, but I've never managed to get Aperture to work perfectly with Epson's 'premium' R2400 ICC profiles - the ones you can download from their site which are better than the ones provided 'in the box'. This hasn't been too big a deal because, in fact, the R2400 does a rather good job just set to 'System Managed' in Aperture and 'Epson Vivid' with a gamma of 1.8 in the printer driver. Nevertheless, it really annoyed me that something that should work wasn't, which is why I've spent a lot of time trying to figure out what's going on. Having said that, I have come across a method which will give you pretty good prints out of your Epson R2400 using the premium profiles in Aperture - it's not perfect, but it's the best you're going to get if you want to use those profiles in Aperture. I understand the words 'it's not perfect' aren't what photography experts would probably want to hear, however, I have seen a few anguished posts from R2400 owners in here before, so I think some people may find it useful.
The whole reason why Aperture is hopeless at using the R2400's premium profiles is because - unusually - their default rendering intent is set to 'relative colorimetric' rather than 'perceptual'. You might say 'but that's good - it means you get more accurate colours!', and if you do, you're right... however, there's a snag. To get an image to reproduce well using Epson's premium profiles and relative colorimetric rendering, you really need to use black point compensation. This is where the trouble lies: Aperture's black point compensation is diabolical to the point of being unusable when used with relative colorimetric rendering - I feel I need to be awarded compensation every time I've ever tempted to use the setting. So because BPC in Aperture is unusable, that effectively makes the premium profiles unusable too, because Aperture always uses the default rendering intent specified in the profile.
The solution? Use perceptual rendering instead. Ok, so you can't change the rendering intent in Aperture, which makes that sound a tad difficult. However, as I said in the above paragraph, Aperture always obeys the default rendering intent specified in the profile... so you can see where we're going with this: we need to change the ICC profiles' default rendering intent from 'relative colorimetric' to 'perceptual'. I did some digging around and found one or two expensive pieces of software that could do that... but then I found that, lo and behold, the Mac OS has a command-line utility which can do the job for us, for precisely £0.00. It's called SIPS or 'Scriptable Image Processing System', and you can find out some information about it here: http://developer.apple.com/technotes/tn/tn2035.html#TNTAG58 For those who don't like reading technical jargon however, here's what you need to do to convert a profile's rendering intent. First go to terminal, then type in the following command:
sips -s renderingIntent perceptual
Do not press 'enter' yet. Instead, add a space after 'perceptual', find the ICC profile you want to modify, and click and drag it into the terminal window. You should then find that your command looks something like this:
sips -s renderingIntent perceptual /Users/yourname/folder/RandomProfile.ICC
At which point you can then press 'enter', and the command will execute, giving you an ICC profile which will now make Aperture use perceptual rendering.
There is just one further thing to be aware of after doing this: for some crazy reason, you then need to turn on BPC in Aperture for the prints to come out as good as possible. Black point compensation shouldn't make any difference when using perceptual rendering as the idea of perceptual is that it takes account of things like that anyway, however, in Aperture BPC does make a difference, so remember to turn it on to get a half decent print. In general, I find that prints made using this setup come out pretty well; they almost perfectly match prints made using the profiles with a perceptual intent in Photoshop Elements, except for the fact that Aperture blocks up the shadows a bit more than Photoshop. However, if you can live with that, you might find this is quite a workable solution.
Now, I said near the beginning of this post that all the above can apply to other printers too. Most printer profiles have 'perceptual' set as their default rendering intent, in which case everything I've just said won't be of much help. However, If you are reading this because you're having problems with ICC profiles in Aperture, but you don't use an Epson R2400, find your problematic ICC profile, double-click on it, and take a look at the window that opens: specifically, at the 'Rendering Intent' the window mentions. If it doesn't say 'Perceptual' then it may well be worth trying the steps I've outlined in this post to set it to perceptual, to see if doing so produces an improvement when using the profile in Aperture.
Finally, just one note of caution: if you decide to try out the steps I've detailed above on a paid-for custom-made profile, please back your profile up before messing with it. I haven't experienced any problems when using SIPS to change a profile's rendering intent, but I obviously can't guarantee that it won't do something weird and corrupt your expensive custom-made profile.
If you have any questions, feel free to ask, although (contrary to any impression I may give) I am not a colour-management expert; I'm just someone who doesn't give up when they have a problem that should be solvable.
Thomas
Mac Pro 2.0GHz with 30" ACD; 15" MacBook Pro 2.0GHz Mac OS X (10.4.10)Thomas
Wow - thanks for such a comprehensive post.
I have Aperture and a 2400 so this information is exceptionally useful to me.
Again - thanks for caring and sharing
Brian -
IPod - Possible Hard Drive Problem
My iPod is no longer syncing, it comes up with erros when I try to sync.
I suspect the hard drive is bad.
I have done a restore (it didn't work until I formatted the disk in Windows), and this has not solved the problem. I ran the diag mode and it came up with this on the hard drive test (SMART):
Retracts: 10
Reallocs: 376
Pending Sectors: 0
PowerOn Hours: 2334
Start/Stops: 22405
Temp Current: 38C
Temp: Min 1C
Temp: Max 52C
Is my hard disk gone? Could I possibly fix it?
The start/stops number is high, but I have no idea what normal looks like.Have you tried renaming you iPod. Perhaps Windows will see it as a new volume then?
If that doesn't work perhaps try restoring your iPod as doing so will reformat the hard drive. If Windows still asks after that, at least you know the iPod's not at fault.
You could also try reformatting your computer and completely reinstalling Windows if the error message still continues and is really bothers you.
Once you clear the message and you see iTunes freezing again, perhaps try restarting the computer rather then disconnecting the iPod. -
Mac keeps crashing whenever using Office for Mac (possible graphic card problem)
Mid 2010 15 inch MacBook Pro. Played out perfectly for the first two years. As soon as the warranty expired, things went sideways. Do not know why but whenever I try to use Office 2011 for Mac the entire mac freezes for a millisecond and then crashes. Does this repeatedly whenever I try using Office.
Problem report reads as follows:
Wed May 14 21:12:53 2014
panic(cpu 0 caller 0xffffff7f9a820fb0): "GPU Panic: [<None>] 3 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff812c7a8000 0x0a5480a2, D0, P3/4\n"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.4.35/src/Apple MuxControl/kext/GPUPanic.cpp:127
Backtrace (CPU 0), Frame : Return Address
0xffffff81086cb140 : 0xffffff8018422fa9
0xffffff81086cb1c0 : 0xffffff7f9a820fb0
0xffffff81086cb290 : 0xffffff7f98f32eab
0xffffff81086cb350 : 0xffffff7f98ffc49a
0xffffff81086cb390 : 0xffffff7f98ffc50a
0xffffff81086cb400 : 0xffffff7f9927b056
0xffffff81086cb530 : 0xffffff7f9901fb39
0xffffff81086cb550 : 0xffffff7f98f398fd
0xffffff81086cb600 : 0xffffff7f98f37408
0xffffff81086cb800 : 0xffffff7f98f38386
0xffffff81086cb8e0 : 0xffffff7f99e7e9c2
0xffffff81086cb920 : 0xffffff7f99e8e37f
0xffffff81086cb940 : 0xffffff7f99ebc33b
0xffffff81086cb980 : 0xffffff7f99ebc39b
0xffffff81086cb9c0 : 0xffffff7f99e93e15
0xffffff81086cba10 : 0xffffff7f99e5fb5e
0xffffff81086cbaa0 : 0xffffff7f99e5bae7
0xffffff81086cbad0 : 0xffffff7f99e59636
0xffffff81086cbb00 : 0xffffff80188cbe43
0xffffff81086cbb90 : 0xffffff80188cdd3f
0xffffff81086cbbf0 : 0xffffff80188cb85f
0xffffff81086cbd40 : 0xffffff80184b65a8
0xffffff81086cbe50 : 0xffffff8018426bf1
0xffffff81086cbe80 : 0xffffff80184139f5
0xffffff81086cbef0 : 0xffffff801841e043
0xffffff81086cbf70 : 0xffffff80184c97bd
0xffffff81086cbfb0 : 0xffffff80184f3b96
Kernel Extensions in backtrace:
com.apple.driver.AppleMuxControl(3.4.35)[1BFF66C1-65E4-3BB3-9DEE-B61C3137019B]@ 0xffffff7f9a813000->0xffffff7f9a825fff
dependency: com.apple.driver.AppleGraphicsControl(3.4.35)[09897896-ACBD-36B5-B1D4-0CCC4000E 3B3]@0xffffff7f9a80b000
dependency: com.apple.iokit.IOACPIFamily(1.4)[045D5D6F-AD1E-36DB-A249-A346E2B48E54]@0xfffff f7f98d7a000
dependency: com.apple.iokit.IOPCIFamily(2.9)[EDA75271-4E9D-34E7-A2C5-14F0C8817D37]@0xffffff 7f98aba000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[4421462D-2B1F-3540-8EEA-9DFCB0565E39]@0 xffffff7f98e90000
dependency: com.apple.driver.AppleBacklightExpert(1.0.4)[E04639C5-D734-3AB3-A682-FE66694C66 53]@0xffffff7f9a80e000
com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[80472F2E-D31D-32C4-88BA-2EB3D63 C159F]@0xffffff7f98ee3000->0xffffff7f9914bfff
dependency: com.apple.iokit.IOPCIFamily(2.9)[EDA75271-4E9D-34E7-A2C5-14F0C8817D37]@0xffffff 7f98aba000
dependency: com.apple.iokit.IONDRVSupport(2.4.1)[999E29DA-D513-3544-89D1-9885B728A098]@0xff ffff7f98ed3000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[4421462D-2B1F-3540-8EEA-9DFCB0565E39]@0 xffffff7f98e90000
com.apple.nvidia.classic.NVDANV50HalTesla(8.2.4)[B0E6AAA7-E970-3D81-8B43-145D56 A3A4AC]@0xffffff7f99156000->0xffffff7f993fffff
dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[80472F2E-D31D-32C4-88BA-2EB3D63 C159F]@0xffffff7f98ee3000
dependency: com.apple.iokit.IOPCIFamily(2.9)[EDA75271-4E9D-34E7-A2C5-14F0C8817D37]@0xffffff 7f98aba000
com.apple.GeForceTesla(8.2.4)[B6C71E9A-E304-354B-80AD-C69C9032D367]@0xffffff7f9 9e3e000->0xffffff7f99f08fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[EDA75271-4E9D-34E7-A2C5-14F0C8817D37]@0xffffff 7f98aba000
dependency: com.apple.iokit.IONDRVSupport(2.4.1)[999E29DA-D513-3544-89D1-9885B728A098]@0xff ffff7f98ed3000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[4421462D-2B1F-3540-8EEA-9DFCB0565E39]@0 xffffff7f98e90000
dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[80472F2E-D31D-32C4-88BA-2EB3D63 C159F]@0xffffff7f98ee3000
BSD process name corresponding to current thread: WindowServer
Mac OS version:
13C1021
Kernel version:
Darwin Kernel Version 13.1.0: Wed Apr 2 23:52:02 PDT 2014; root:xnu-2422.92.1~2/RELEASE_X86_64
Kernel UUID: E9CF78E2-1E9F-3B6F-81A4-FEE6C6D0E4D5
Kernel slide: 0x0000000018200000
Kernel text base: 0xffffff8018400000
System model name: MacBookPro6,2 (Mac-F22586C8)
System uptime in nanoseconds: 53710064354842
last loaded kext at 52157306680063: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7f9a95d000, size 49152)
last unloaded kext at 52274530849384: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7f9a95d000, size 32768)
loaded kexts:
com.logmein.driver.LogMeInSoundDriver 1.0.0
com.squirrels.driver.AirParrotSpeakers 1.8
com.rim.driver.BlackBerryUSBDriverInt 0.0.68
com.apple.filesystems.udf 2.5
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.iokit.IOBluetoothSerialManager 4.2.3f10
com.apple.filesystems.ntfs 3.11
com.apple.driver.AGPM 100.14.15
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleMikeyDriver 2.6.0f1
com.apple.driver.AppleHDA 2.6.0f1
com.apple.driver.AudioAUUC 1.60
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleIntelHDGraphics 8.2.4
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleHWAccess 1
com.apple.GeForceTesla 8.2.4
com.apple.driver.AppleUpstreamUserClient 3.5.13
com.apple.driver.AppleSMCLMU 2.0.4d1
com.apple.driver.AppleLPC 1.7.0
com.apple.driver.AppleIntelHDGraphicsFB 8.2.4
com.apple.driver.AppleMuxControl 3.4.35
com.apple.driver.AppleMCCSControl 1.1.12
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.3f10
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.SMCMotionSensor 3.0.4d1
com.apple.driver.AppleUSBTCButtons 240.2
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.driver.AppleUSBCardReader 3.4.1
com.apple.driver.AppleIRController 325.7
com.apple.driver.XsanFilter 404
com.apple.driver.AppleUSBHub 666.4.0
com.apple.iokit.IOAHCIBlockStorage 2.5.1
com.apple.driver.AppleFWOHCI 4.9.9
com.apple.driver.AirPort.Brcm4331 700.20.22
com.apple.driver.AppleAHCIPort 3.0.0
com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleUSBEHCI 660.4.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleACPIButtons 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 2.0
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 216.0.0
com.apple.nke.applicationfirewall 153
com.apple.security.quarantine 3
com.apple.driver.AppleIntelCPUPowerManagement 216.0.0
com.apple.iokit.IOSerialFamily 10.0.7
com.apple.AppleGraphicsDeviceControl 3.4.35
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 2.6.0f1
com.apple.vecLib.kext 1.0.0
com.apple.iokit.IOSurface 91
com.apple.iokit.IOFireWireIP 2.2.6
com.apple.iokit.IOBluetoothFamily 4.2.3f10
com.apple.iokit.IOAudioFamily 1.9.5fc2
com.apple.kext.OSvKernDSPLib 1.14
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.nvidia.classic.NVDANV50HalTesla 8.2.4
com.apple.nvidia.classic.NVDAResmanTesla 8.2.4
com.apple.driver.AppleGraphicsControl 3.4.35
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusController 1.0.11d1
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.3f10
com.apple.driver.AppleHDAController 2.6.0f1
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.iokit.IOHDAFamily 2.6.0f1
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.7.0d10
com.apple.driver.AppleSMC 3.1.8
com.apple.driver.AppleUSBMultitouch 240.9
com.apple.iokit.IOUSBHIDDriver 660.4.0
com.apple.driver.AppleUSBMergeNub 650.4.0
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOUSBUserClient 660.4.2
com.apple.iokit.IO80211Family 630.35
com.apple.iokit.IOAHCIFamily 2.6.5
com.apple.iokit.IOEthernetAVBController 1.0.3b4
com.apple.driver.mDNSOffloadUserClient 1.0.1b5
com.apple.iokit.IONetworkingFamily 3.2
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 278.11
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.AppleKeyStore 2
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOReportFamily 23
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.iokit.IOUSBMassStorageClass 3.6.0
com.apple.driver.AppleUSBComposite 656.4.1
com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.6
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.6
com.apple.iokit.IOUSBFamily 675.4.0
com.apple.driver.AppleACPIPlatform 2.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
com.apple.kec.pthread 1
Model: MacBookPro6,2, BootROM MBP61.0057.B0F, 2 processors, Intel Core i5, 2.4 GHz, 8 GB, SMC 1.58f17
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x066D, 0x544E3447313643372D583700000000000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x066D, 0x544E3447313643372D583700000000000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.3f10 13477, 3 services, 15 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: WDC WD10JPVT-75A1YT0, 1 TB
Serial ATA Device: WDC WD10JPVT-22A1YT0, 1 TB
USB Device: Hub
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Internal Memory Card Reader
USB Device: Hub
USB Device: IR Receiver
Thunderbolt Bus:
I've done a couple of modifications on it but I dont believe they have affected it to such extent. I believe it might be a defective graphic card but at this point, believing the crash was induced by the usage of Office I have done everything possible short to dismembering the Mac and changing the Graphic Card. I have read somewhere that mid 2010s had problems with graphic cards. If anyone has found a way around the changing of the card, I would be very grateful of their opinion and suggestions.First, uninstall the software responsible for installing these extensions:
com.logmein.driver.LogMeInSoundDriver 1.0.0
com.squirrels.driver.AirParrotSpeakers 1.8
com.rim.driver.BlackBerryUSBDriverInt 0.0.68
If removing the software and extensions doesn't solve the problem, then you are probably correct about the GPU:
The problem is likely due to the discreet GPU failing. Download gfxCardStatus 2.3 and use it to disable the GPU. This is a temporary workaround until you get your motherboard replaced. -
Alpha Channel / gradation interpretation problem
I have a very peculiar problem, which started happening after upgrading to CC 2014. I was hoping that the latest update would fix it but it didn't.
The problem is with the incorrect way Premiere interpreters Animation codec QT files with alpha with semi-transparent elements that were exported from AE. I have never seen this kind of behavior in any software before. As long as I had my alpha set to straight (unmatted), RGB + Alpha Millions of Colors+ when exporting from AE, everything has always worked fine. And it did in this project. I dropped the animation on the top of my footage in the sequence and it worked. But then after the upgrade to 2014 some unexpected results started to happen whenever I reposition the imported graphics that have alpha.
This image is correct before repositioning it:
And look what happens as soon as I move it:
The difference is huge and unacceptable!
The interesting thing is when I reset the position to original it looks fine again.
I checked several things:
- footage interpretation is correct: straight alpha
- sequence settings: composite in linear color is checked off (and if I turn it on it messes up the other elements - so I assume default off is correct)
- Changing the clip's opacity blending mode to Lighten fixes the problem in a way. But I can't use lighten on these graphics because I have some dark elements as well (which become transparent when in lighten mode)
The bottom line is - this just should work. Importing animation codec QT files with alpha is pretty straightforward and basic operation. So is there some kind of a bug?
I don't know what else I could do. This really messes my client revision process because I need to readjust position of the graphic elements. And just the way and why this is happening does not make sense to me.
Please help! Thanks.
JimBy the way i realized i cannot export bars or other 3d graphics with background either. Same problem.
-
IOError in IE but not in Firefox (possible crossdomain.xml problem)
Yesterday, I hopefully debugged a problem that is occuring for our application in IE but not in Firefox.
It has to do with accessing remote content from a separate domain.
In every aspect it APPEARS to be a crossdomain.xml issue but the fact that this issue only arrises in IE is what has prompted me to post here.
We have a solution in the works (bureaucratically speaking) but I want to double check here.
Our application is on domain "a.domain".
It access an xml file on "b.domain/xml/".
And finally (this is the tricky part) it also accesses an xml file at "b.domain/forwardingPath/" which is actually forwarded to "c.domain/xml/".
The crossdomain.xml is located at "b.domain/crossdomain.xml".
The request for "b.domain/xml/anXMLFile.xml" works without any problem.
The request for "b.domain/forwardingPath/anotherXMLFile.xml" succeeds in Firefox but not in IE (remember, the ACTUAL request is forwarded to "c.domain/xml/anotherXMLFile.xml").
In IE I get an IOError.
I believe we need an appropriate crossdomain.xml file also located at "c.domain/crossdomain.xml" and have put in that request. What I want to confirm is whether this understanding is correct. I am not a server-side person at all. It's all elves and fairies to me. And then finally, why the hell is this behavior inconsistent between IE and Firefox? Is the Firefox version of flash player violating its own security standards?!
I am cross-posting this at stack overflow. http://stackoverflow.com/questions/7395931/ioerror-in-ie-but-not-in-firefox-possible-cross domain-xml-problemI've pinged our developers about this and here's what they have to say:
"We did some work for the plugin around redirects andhence the correct behavior on Firefox.
AFAIK, on IE we don't get notified of the redirect and can't participate in making security decisions during redirect scenarios. This behavior is out of our control.
There is a workaround documented in the AS3docs here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/LoaderCont ext.html#checkPolicyFile
Here is the pertinent paragraph:
Be careful with checkPolicyFile if you are downloading anobject from a URL that may use server-side HTTP redirects. Policy files arealways retrieved from the corresponding initial URL that you specify inURLRequest.url. If the final object comes from a different URL because of HTTPredirects, then the initially downloaded policy files might not be applicableto the object's final URL, which is the URL that matters in security decisions.If you find yourself in this situation, you can examine the value ofLoaderInfo.url after you have received a ProgressEvent.PROGRESS orEvent.COMPLETE event, which tells you the object's final URL. Then call theSecurity.loadPolicyFile() method with a policy file URL based on the object'sfinal URL. Then poll the value of LoaderInfo.childAllowsParent until it becomes true."
Chris -
Possible entries restrictions problem..
Hello~
I have a problem with 'F4'.(ECC6)
When I use F4 on fields and then clicks arrow to show restrictions criteria,
I can't input on any fields. They seem to be enabled, but does'nt work.
But after clicking show/hide arrow twice(first hide, then show again), input becomes to be possible.
What is the problem?Hi ,
Are you using the 'AT Selection-screen' and 'AT Selection-screen Output ' events properly .
Can you show us yr selection screen part of code ..
Regards,
Rajesh Kumar. -
Hi! We are running OWB 10.2.0.5.0 and experiencing high CPU and I/O load serverside and slow response times in the GUI even when there is insignificant transaction throughput in the system. I read about a patch dokument-id är 578399.1 and a script, purge_notifications.sql , that fix a problem with the WB_RT_NOTIFY_QUEUE_TAB table. There exist patches for OWB 10.2.0.3 and 10.2.0.4. Is the patch relevant for our version of OWB? Or can we just run the purge_notifications.sql script ?
Hi Marcos,
I managed to add the index to the table, it didn't work because of running proces flows. But analyzing the table and its indexes is still not possible.
It gives the following errors:
ORA-20005: object statistics are locked (stattype = ALL)
We are running:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
OWB version is: client : 10.2.0.2.8 repos: 10.2.0.2.0
We managed to unlock the statistics with: dbms_stats.unlock_table_stats('OWBRUN_P','WB_RT_NOTIFY_QUEUE_TAB', 'ALL');
Analyzing the table now gives good results on the statistics.
Further we notice on different environments huge differences in the amount of rows in the above mentioned table.
We've got similar environments: a development environment with about 15k rows in the table wb_rt_notify_queue_tab
A test environment with about 350k rows in the table wb_rt_notify_queue_tab
and production environment with 1400k rows in the table wb_rt_notify_queue_tab
. Where does this difference come from and what is the purpose of this table?
Maybe you are looking for
-
Looking for a device. Need suggestions
Looking for a reasonably priced device that will allow me to plug in at least one usb mic, (ideally 2 in the future), and a headphone jack so two people can listen. I have headphone splitters. I'd like to record right into Garageband. Let me know. Th
-
Add extra Business Objects to model CRM 2007: Web Client Records
Hello, Could anyone tell me how I can add more Reference Objects in Case Management? I copied the model CRM 2007: Web Client Records and added a new node (with for example Business Object Service Order) just like product and installations (which are
-
See burger EDI adapter (X12) functionalities
Hi All, We are a consumer products company and have See burger EDI adapter (X12) implemented in XI IE. Could anyone tell me about the standard software components and mapping which comes along with the see burger adapter components, and how to custom
-
Java tags in the include files
Hi.. I have a code for javatag, which works well if you put it directly into the jsp.. But, if I try to put it as part of the include file, called from the same jsp there is no luck. Code would not be executed. I am using WebSphere server. If any one
-
Download of Premier Elements grt error mess: "Error reading initialization setup file" . Any advice?