Intersep or Finder Generating Empty Files
Since installing latest Quicktime and security updates on my Mac, finder has been generating empty files on a Win 2000 mac volume mounted using afp:/at/servername:*. These are not ._filename stuff. I copy hi-res photoshop files to folder watched by Intersep OPI software for low-res generation. During this process, after low-res is generated and copied to its proper folder and hi-res is moved to its destination folder, a 4k empty text file with same name as original hi-res file is sometimes generated--about 25% of the time. This only occurs on my Mac as I haven't updated rest of machines. Wave says this is a Mac OS problem and doesn't seem interested in seeking a solution.
Amiga,
These apparenly "empty" files are probably one half of the Apple-Double file system paradigm. Many Mac files contain a "resource fork" as part of the file, but some file systems cannot handle this resource fork. When these files are transferred to a file system that cannot handle the resource fork, and everything works correctly, the information contained in the resource fork is placed in a second, similarly-named, file.
This is probably what you are seeing. If you are working with images professionally, my guess would be that you will want all of the "extended attributes" that are normally contained in the resource fork to be left intact. In this case, using the HFS+ file system, and only the HFS + file system, is the way to go. Once an image has been converted to some compressed, lower resolution format such as JPG, this copy can be sent to some other file system. The originals, however, will be better off in HFS+.
Scott
Similar Messages
-
Hi all,
I need to generate a empty file via XI when then there is no file in the sender directory during the particular time.
we can't go with adapter module solution to do these.
Please provide with the possible solutions.
Thnz
FaheemHi,
"I need to generate a empty file via XI when then there is no file in the sender directory during the particular time"
your requirement looks a good example of BAM (Business Activity monitoring)....
1) you can implement it using a BPM. Implement a condition in BPM for the first Receive step....
2) this condition should check for how long it should wait to receive a file (have this time duration confirmed..)this will tell you that there is no file in the server to pick...
3) develop a dummy structure (DT)....when your condition in step 3 is satisfied you can use this structure.
4) before using this structure create a mapping with target as this dummy structure...change the occurence of the root node to 0..1
5) In this mapping disable all the target fields. this will create an empty output.
6) send this output to the desired location and you have created your empty file.
I have not tested or implemented this scenario....this is only what I would have tried doing in the first attempt.
If you succeed using this method then dont forget to post the final solution.
Regards,
Abhishek. -
File Content Conversion Problem of not generating empty file
Hi All,
i have 3 input text files for my BPM to process.
if any of the text file is empty, i need to generate an alert message that the file is empty........but the problem is file adapter does not generate a XML message for the empty text file..........
<b>Can anybody suggest how to generate the alert if any of the 3 text files is empty.</b>
Thanks,
Rajeev GuptaRajeev~
I dont find ur mail Id in ur Business card.Post the same..I will send you across a PDF with steps to write a adapter module.You would need to extend the same to check the payload for empty data and accordingly create a XML payload with checkpointer.
For validating this value in a BPM use the FORK step and check the payload in the condition editor.
Refer to this url for the same.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bb/e1283f2bbad036e10000000a114084/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/bb/e1283f2bbad036e10000000a114084/content.htm</a> -
I am getting message from MacPro that my start up disc is full - but I can't find this "start up disc" and can't figure out what to do to help situation. I've been making a number of imovies, which generates junk files and material that I should toss in the trash, but it is not clear to me what items I can toss and which items I can't toss. Can you help? Using the imovie "help" support the system showed me under the menu item "go" where the "start up disc" should be - but that wasn't actually available on my menu! Thanks for your help!
Disk Utility
Get Info on the icon on Desktop
Try to move this to the MacBook Pro forum
Your boot drive should be 30% free to really perform properly. 10% minimum
Backup, clone, use TimeMachine, use another drive for your projects and movies, replace and upgrade the internal drive even. -
How to generate a empty file in AL11 using ABAP and unix command
Hi Experts,
when load infopackage triggers it will search file from AL11 if file is available it will get loaded successfully. When there is no file in AL11 error while opening file (orgin A) and the load will fail. At this level i have to write a abap code using unix command to generate a empty file.
Is there any way to achieve the above requirement.
Thanks
VaraHi,
If i get your requirement properly then you want to create a blank file if there is no file on the application server so that your infopackage does not fail, am i correct.
If this is your requirement then this can be easily done if you use process chain to load the file via infopackage. Follow the following steps:
1. Add a ABAP program before the infopackage and check if the file is present on the server or not. Use a simple ABAP statement OPEN DATASET <FNAME>. Check the SY-SUBRC after this statement if it is not 0 then it means that the file does not exist on the application server.
2. Once you have established that the file is not present create a flat file using a code similar to the below one
OPEN DATASET FILENAME FOR OUTPUT IN TEXT MODE
MESSAGE D_MSG_TEXT.
IF SY-SUBRC NE 0.
WRITE: 'File cannot be opened. Reason:', D_MSG_TEXT.
EXIT.
ENDIF.
* Transferring Data
LOOP AT INT_table.
TRANSFER INT_table-field1 TO FILENAME.
ENDLOOP.
* Closing the File
CLOSE DATASET FILENAME.
3. Add your infopackage step after this ABAP program in your process chain.
I hope this helps.
Best Regards,
Kush Kashyap -
Hi Experts,
We are testing a newly migrated scenario from XI 3.0 to PI 7.1.
The Interface mapping consists of Message mapping followed by a ABAP Mapping.This scenario works fine in XI 3.0
whereas when i try to test the same scenario in 7.1 it creates an empty file.
I have tried to test the scenario using the first with message mapping alone and then with abap mapping alone.
Both work fine generating the expected results.But when i try to run them together it creates an empty file.
I have maintained the values in exchange profile
IntegrationBuilder ->IntegrationBuilder.Repository -> com.sap.aii.repository.mapping.additionaltypes
R3_ABAP|Abap-class;R3_XSLT|XSL (ABAP Engine)
We are testing an apap mapping for the first time in 7.1.Please let me know if i am missing any specific setting.
Thanks,
SudhansuHi,
I assume that the abap mapping does not gets called from the ABAP Stack.
Try entering the abap mapping name again and save and activate. Sometimes this might work.
Check the class in abap stack and try to regenerate it.
In the worst case scenario, modify something in the abap mapping and regenerate it.
Regards
Krish -
Dummy XML not getting generated from empty file by J2EE adapter module
Hi All,
i know when XI gets an empty input text file, it does not generate a send message for it in sender communication channel.
in my scenario, if i get a file with data, i have to generate an XML message for it using file content conversion - this i have done...........
but if i get an empty text file, then i have to generate a dummy XML send message for it for my BPM.......
So i made a J2EE adapter module to generate dummy xml for empty file.....<b>when i give a file with data in it, then my adapter module is called..... but when i give an empty file, then my adapter module is not called</b>.........
<b><i>Can anybody suggest why the module processor is not invoking my customer-adapter module when an empty file is given.............but the module processor is invoking my customer-adapter module when a file with data is given</i>.</b>
Thanks,
Rajeev GuptaHi Amit,
Below is the code of process method which i used:
<i>public ModuleData process(ModuleContext moduleContext,
ModuleData inputModuleData)
throws ModuleException
Object obj;
Message msg_audit;
AuditMessageKey amk;
try
File f = new File("/components/XITEMP/sample/PWC/check.txt");
PrintStream ps;
if (f.canWrite())
FileOutputStream fos =new FileOutputStream(f);
ps = new PrintStream(fos);
ps.println("Testing");
ps.close();
fos.close();
else
f = new File("/components/XITEMP/sample/PWC/check4.txt");
if (f.exists() ==false)
f.createNewFile();
obj = inputModuleData.getPrincipalData();
if (obj!=null)
msg_audit = (Message)obj;
amk = new AuditMessageKey(msg_audit.getMessageId(),AuditDirection.OUTBOUND);
Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,"FileCheck: Module called");
else
String str = new String();
String str1 = new String();
str1="<?xml version=\"1.0\" encoding=\"utf-8\" ?>";
str1+="<ns:MT_PWC_RECORD xmlns:ns=\"urn://PWC_SR3_01/PWC/Customer\">";
str1+="<RECORD_SET>";
str1+="<RECORD>";
str1+="<RECORD_DATA>BLANK_FILE</RECORD_DATA>";
str1+="</RECORD>";
str1+="</RECORD_SET>";
str1+="</ns:MT_PWC_RECORD>";
str=str1;
inputModuleData.setPrincipalData(str);
catch(Exception e)
try
File f = new File("/components/XITEMP/sample/PWC/check.txt");
PrintStream ps;
if (f.canWrite())
FileOutputStream fos =new FileOutputStream(f);
ps = new PrintStream(fos);
ps.println(e.toString());
ps.close();
fos.close();
catch(Exception ex)
return inputModuleData;
}</i>
in the above methood, i used file operations at start just to see whether the module is getting invoked or not...so when i give a data file, then the file operations are performed and messages are written in audit log.........but when i give an empty file, then the file operations are not performed - meaning the module is not getting invoked........
Thanks,
Rajeev Gupta -
Empty file is getting generated at Target FTP Folder side
HI all,
I have scenario like Idoc to File In Target FTP folder is empty file is generated, In adapter engine (communication channel) it shows the successfull status and pay load is getting created at Message display tool in the Message ID tab.But FTP server will receive only Empty file.
Please Give me some advise to resolve this issue..
Regards,
satya TanukuHi Satya,
If you are using FCC then troubleshoot using this blog...
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Regds,
Pinangshuk. -
"Adobe CFC Generator" error "cannot find ide_config.xml file"
Hi there
Yesterday I downloaded a CF Builder 2 Trial. I install in my machine I am running CF 9.01 Dev version.
When I try install "Adobe CFC Generator" extension "cannot find ide_config.xml file"
I try to find some fix. but I can't.
Some Ideas thank you!!With ColdFusion Builder 2, CFC Generator was intended to be removed.However mistakenly, CFC Generator was removed only partially.
If you want to use:
Plesae download it from: http://adobecfcgenerator.riaforge.org/
Or If you have ColdFusion Builder 1 or ColdFusion Builder 2 Beta installation:
You can take it from <ColdFusion Builder 1 or ColdFusion Builder 2 Beta Install Dir>\extensions and deploy it to your server instead of using the incorrectl installed CFC Generator.
Thanks,
Krishna -
Crash reporter often generates empty (0 kb) dump (dmp) files
My Firefox crashes quite often, but that's not the topic of this question. The problem is that often when it crashes, an empty dmp file is generated which causes the crash reporter not to submit the crash report. I have used the about:crashes page to submit pending reports that had non-empty dmp files, but not one report with an empty one got submitted.
I think this (generating empty dmp files) is a bug that needs to be solved to better solve other bugs. Can anyone give me any information about this bug (preferably how to fix it)? Should I post a bug report to Bugzilla?
== This happened ==
A few times a week
== oldest empty dmp file is Nov. 5 2009Hi,
Event ID: 1000; Source: Application Error; please refer to:
http://www.eventid.net/display-eventid-1000-source-Application%20Error-eventno-1475-phase-1.htm
I would recommend you try
some general steps about troubleshooting explorer.exe crash Issues.
Bug Check 0xC5, please refer to:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff560192(v=vs.85).aspx
Hope this helps.
Regards.
Spencer
TechNet Community Support -
Found a better solution. The answer is given at the very bottom of this post.
I'm looking for $(Random), %(Date), %(Time), or some %(Value) that I can put in the "Generate Program Database File" entry.
Like "$(TargetDir)_%(CreateTime).pdb".
But the problem is, %(CreateTime), %(ModifiedTime), and %(AccessTime) has colons in them, making them useless when putting them into the filenames.
What other ways can I generate PDB files of different file names? Or, how do you modify %(CreateTime) so that I can remove the colons and just obtain the numeric values?Hi Tom_mail78101,
It seems that there is no built-in macro for renaming the PDB files randomly.
You could submit this feature request:
http://visualstudio.uservoice.com/forums/121579-visual-studio
The Visual Studio product team is listening to user voice there. You can send your ideas/suggestions there and people can vote.
I agree with Viorel. The possible way to rename the PDB files is that you write your own script to rename the PDB file after building the project and put the script to Post-Build event in Build Event. As for whether this way can accomplish it, you can try
to consult on: MSBuild
forum like this thread: https://social.msdn.microsoft.com/Forums/vstudio/en-US/bcf39fd6-0e0c-4486-9438-7a724ded44de/postbuild-event-command?forum=msbuild
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Sql Developer 3.1 - Exporting a result set in xls generates and empty file
Ever since upgrading to the Production version SQL Developer 3.1 (3.1.07) it appears that there is an issue when attempting to export a result set as a .xls format.
If I attempt to export in .xls format, the exported file is an empty file (i,e no output). When I change the export type to txt, csv or xlsx the results are exported as expected.
This appears to be a bug introduced in the Production version as I was successfully able to perform these tasks on the various 3.1 EA releases.
Am I alone in this, have I misconfigured something or is this a bug?I keep having problems exporting to XLSX - mostly in cases where the data is voluminous and the format would be preferable over plain XLS as it does not have the 65krows limit ;-{ The data is read to the data grid (sometimes fast, sometimes much slower and "in chunks"), then the "task progress" won't move anymore, and the export file remains empty; If I cancel the task, trying to export again results in a message stating that sqldeveloper still has the output file locked.
-
Hello
I am facing a very strange problem saving files. Find attached a quick example showing the issue.
The first time I hit "save" and choose a name for the file (numbers.txt, for example), everything works great and the file is created with my data. Nevertheless, if I save the file numbers.txt the first time and then I click on "save" again and choose the same name for the file and click YES after "The file already exists. Do you want to replace it?", the file numbers.txt is replaced, but it gets empty!!!! If I click on "save" again and choose another name (results.txt, for example), the file results.txt is created properly. If I try to replace the file results.txt I will get the same error with an empty file again.
I think that the issue has something to do with "trying to write SAME DATA TWICE in a file", even choosing to "replace" the file. If you stop running the VI, start again, and try to save replacing a file that already exists, the file will not get empty.
Thanks.
Dan07
Solved!
Go to Solution.
Attachments:
Save File - Problem.vi 11 KBDear Dan07,
After you are done writing to the file, you should finish the whole operation with closing the file. Also, your original code writes the same set of random nubers to the file all the time. If you place the random nuber generation code inside your while loop, it will run every time you press the save button and it will generate a new set of random numbers. Please see the attached snippet for an example.
If you have any further questions, please feel free to ask!
Daniel
Attachments:
Save File with Close.png 25 KB -
Empty files are getting created at receiver FTP server
Hi Experts,
I have an Idoc to File scenario where I am sending an XML file to receiver FTP server.
Scenario is working fine but sometimes an empty file is getting generated at receiver FTP server.
I have already selected ignore empty file at receiver channel so issue is not within PI system configuration.
When I checked the message log I can see that almost all the files are getting created successfully without any issues, but
for some files/messages I can see that there are below error logs.
"Transmitting the message to endpoint <local> using connection IDoc_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not get FTP connection from connection pool (1 connections) within 5,000 milliseconds; increase the number of available connections"
"Exception caught by adapter framework: Could not get FTP connection from connection pool (1 connections) within 5,000 milliseconds; increase the number of available connections."
And after there is again success message log in the same message and it creating a file successfully during that time stamp.
but the third party is sometime receiving empty file which I am not able to find in any trace or log (my file name is SD_timestamp.xml).
Can you please let me know what is the solution and what adjustments FTP server need to do in order to resolve this issue.
Thanks in advance.
Regards,
Rahul KulkarniThe error you are getting that says "Could not get FTP connection from connection pool (1 connections) within 5,000 milliseconds; increase the number of available connections" has probably nothing to do with the empty files problem.
I second Hareesh Gampa that you first should try "temporary file creation". You might also need to tell the FTP owner that he should only pick up files with that are written completely and that do comply with a negotiated file name schema. The temp file should have another schema of course then. He should not pick up just every file that is written. See here for details
http://help.sap.de/saphelp_nw74/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm
HTH
Cheers
Jens -
Processing Empty Files with File adapter
Hi..
We are working on SP17....But i couldn't find the option Handling empty files in Sender File adapter...i checked the Adapter Metadata for File adapter under the SWCV- SAP BASIS 6.40 but was unable to search for the word "empty"....
Please suggest....
Regards
PraveshHi
Possibly only from SP 19 in XI and SP 10 in PI.
you have that control. refer this thread
File Content Conversion Problem of not generating empty file
Maybe you are looking for
-
I can no longer scan using HP d110 after Mavericks
I have tried so many work-arounds to fix this issue! I've read countless threads, deleted and re-installed drivers (although according to mac and hp, this wasn't necessary), I've tried scanning using the Print/Scan utility, Image Capture, Preview an
-
How can I edit multiple clips with different frame rates on the same timeline
how can I edit multiple clips with different frame rates on the same timeline
-
Computer (window 8) doesn't recognize my iPod touch 5th gen.
So my iPod is on the "connect to itunes" spot. When I plug it in, it says something like "USB device cannot be recognized." help?
-
Photosmart C4780 on Mac OS X 10.5.8
Hello, After replacing my black printer cartridge, all of a sudden my printer no longer works. I tried turning it off and on, unplugging the computer, and rechecking the connection via USB to my desktop computer. I even re-loaded the cartridges in
-
Can my computer handle FCE 4?
I got my powerbook in '03 to edit videos and its worked just fine for what I've needed. I recently updated my system to 10.4.11 and have a 320 GB external HD to handle all the footage I need. But I'm getting to that point where I'd LOVE to dive into