Apt and the filenames list results in a crash
Back to work: seems that when you use too much filenames apt will crash. The problem is that apt lists all filenames that contain annotations by default. My 404 files and long directory names are the end of apt ;)
So, is there a switch or parameter that drops the filenames list? Or, at least, writes them line by line?
This ended up resolving my problem: http://support.apple.com/kb/HT1379?viewlocale=en_US
Similar Messages
-
How can I get my "Now Playing" screen back? I can't scroll or change screens at all. All I have is the album picture and the song list page. I can toggle between the two but nothing else. It did this all by itself. Now it's stuck.
what happens when you tap the screen?
Next try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: Back up and restore your iOS device with iCloud or iTunes
- Restore to factory settings/new iOS device. -
Hi All,
I'm going for 11 new things learned today about Java!
I'm using JFileChooser to prompt for a file, and I need to capture the filename and see if it's inside the file.
I'm getting a "found int, expected boolean" compile error. Can comeone enlighten?
Thanks!
MVP
String strFileName;
JFileChooser jfc = new JFileChooser();
strFileName = jfc.getSelectedFile().getName(); // tried both these
strFileName = jfc.getName(); // lines
currentLine = strInFileArray;
if(currentLine.indexOf(strFileName)) //compile error on this lineI didn't say it didn't compile, it does compile.
And I know it doesn't do anything because I display
currentLine before and after the change is attempted.
And I did read up on the method - how do you think I
found it in the first place?If you did, then what does it say after the word "Returns" in the method description? And where else could you have found the method? Some IDEs will spit out a list of possible methods that can be called from an option. One of the reaosns why I suggest new comers shouldn't use IDEs to start (forces them to learn about the API which is the best possible thing for someone in your (ie newbie, nothing personal) possition to do).
>
Now, if statements like
i++
setBackground(Color.WHITE)
setFont(myfont)
getContentPane().setLayout()
repaint()
and others (iow, no '=' for assignment)
all change objects or attributes of objects, it seems
a logical assumption to me that
currentLine.replaceAll(strFileName,NEW_FILE_NAME);
will change the object 'currentLine'.So you assume that all methods work the sae way, and forget the docs? The first sentance of the second paragraph in the String API says:
"Strings are constant; their values cannot be changed after they are created. "
So you see, the answer to your question, and the why it is the way it is, are both in the API.
>
Finally, (not for you jverd, you are polite), to be
called names by supposedly mature posters on this
forum - which exists specifically for beginner-level
questions like mine - is just amazing. Excuse me for
thinking I might find help and assistance instead of
abuse.A double standard, yes? I have to be mature, but not you? You whine alot. You can ask questions without whining, others do it all the time (you didn't whine in the first question in this thread, and I tried to answer (well, tried to get you to answer yourself, which I believe is more beneficial)). Once you started your whining again, I became immature also. No apologies here.
And even if the assinine (which it was intentionally) it still had some help (by pointing to the API). You saw the API before (which is good) but I did not know that, and your questions seemed to indicate otherwise.
>
TheReallyDisappointedMVPBuck up. Nothing personal. Just ask questions differently, that's all. -
Where can I find the filename list for iOS image Default.png ?
I have a really hard time finding where information is scattered on Adobe. Does anyone know the definitive list of supported Default image filename for iOS publishing?
Here is what I was using previously to support up to iPhone5 in portrait orientation:
Default.png
[email protected]
[email protected]
Default-Portrait.png
[email protected]
I'd like to add iPhone 6 and 6+
thanksUp until now, I would include these images for a landscape only app:
[email protected]
Default-Landscape.png
[email protected]
Default.png
[email protected]
The Default-Landscape.png would appear on non Retina iPad, and would be correct whichever way you held the device. Likewise [email protected] would do the same for Retina iPad.
According to your article, Default-Landscape@2x doesn't exist any more, and Default-Landscape is now specifically for Landscape Left.
Is this correct, or can we continue to only have Default-Landscape & Default-Landscape@2x?
My guess/hope is that the article is wrong, and that there is both a Default-Landscape@2x still, and a Default-LandscapeLeft, and that Default-Landscape is not specifically for Landscape Left. -
Question about timeline navigation and the display list-
I’ve got a movieclip called “rotatorProxy” that spans the entire timeline. I’ve got nav buttons that jump to various frames on that timeline. I need to get the display depth of rotatorProxy each time the nav buttons move the playhead. The AS3 code is easy enough:
var zIndex:int = this.getChildIndex(getChildByName("rotatorProxy")) ;
my problem is where to put it. If I put this code in any script that executes in the target frame, it works, but only if I hit the nav buttons slowly. If I bang on a single nav button rapidly, getChildByName("rotatorProxy”) can return null. I don’t know much about how the display list works but I assume the display list is rebuilt after every jump and the frame scripts are executing asynchronously, so it’s possible my getChildByName call is executed before the display list is complete. Is there an event or some other handle that would allow me to call my code before the frame is rendered but after the display list is complete?Wow, thanks for the fast response...
“if rotatorProxy exists in all frames, it should never return null.”
That’s what I thought, but not what I’m seeing, rapidly jumping around on the timeline seems to confuse the player and it temporarily looses track of rotatorProxy.
You can sort of see it in action here: http://www.appliedcd.com/newACT/act.html
The zIndex is used to establish the depth of the rotating screens which have been added to the display list via AS. If you bang on the nav buttons quickly you’ll see the stacking order screw up, if you had been in the development environment you’d see the null error thrown.
I’ll see if I can use the render event to sort this out. I know testing in the frame after the jump will work, but it’s cleaner if I can establish the proper stacking order before the first jump frame is rendered. -
How can I delete some of the movies on my Apple tv1? The movies list and also the music list are greyed out. Hope some one has an idea as I can't figure it out!
Welcome to the Apple Community.
The best way would be transfer them to your iTunes library, but if you wish to delete them instead, select the trash can on the right hand side of the listing on the Apple TV, you can't delete them using iTunes on your mac/PC? -
Do the restore action restores also the bookmarks and the reading list?
Hi All,
I have to restore my ipad through itunes, to overcome the password lock screen problem (forgot my password).
I performed sync earlier but i'm not sure wither the reading list and the bookmarks will be retored also or will be lost?
Any information or instruction regarding this issue is very vital since i have important bookmarks and reading list.
I have ipad2 with IOS 7.0.6
Thanks in advance!yes it will be restored to how it was when you last backed up
-
Execute Immediate and the in list
Hello,
How do I format the in list when i am executing a query with execute immediate ?
I want to check if a character value is in ('5', '6', '7') ? Execute immediate treats my in list as a string instead of checking to see if the given value is in ny list of values or not. Please see the code / output below.
SQL> declare
2
3 v_result VARCHAR2 (1) := 'N';
4 v_num_list1 VARCHAR2 (40) := '''5''';
5 v_num_list2 VARCHAR2 (40) := '''5'',''6'',''7''';
6
7 v_in VARCHAR2 (100)
8 := 'BEGIN IF (:txn_value IN (:case_list)) THEN :result := ''Y''; END IF; END;';
9 v_ctrl_no varchar2(40) := '''5''';
10 BEGIN
11
12 DBMS_OUTPUT.PUT_LINE ('txn_value: ' || v_ctrl_no);
13 DBMS_OUTPUT.PUT_LINE ('case_list: ' || v_num_list1);
14
15 EXECUTE IMMEDIATE v_in
16 USING IN v_ctrl_no, v_num_list1, OUT v_result;
17
18 DBMS_OUTPUT.PUT_LINE ('result is ''' || v_result || '''');
19 v_result := 'N';
20
21 DBMS_OUTPUT.PUT_LINE ('txn_value: ' || v_ctrl_no);
22 DBMS_OUTPUT.PUT_LINE ('case_list: ' || v_num_list2);
23
24 EXECUTE IMMEDIATE v_in
25 USING IN v_ctrl_no, v_num_list2, OUT v_result;
26
27 DBMS_OUTPUT.PUT_LINE ('result is ''' || v_result || '''');
28
29 END;
30 /
txn_value: '5'
case_list: '5'
result is 'Y'
txn_value: '5'
case_list: '5','6','7'
result is 'N'
Thanks,
Annayou can't use a bind variable for an in-list string.
you can rebuild the dynamic statement each time, without a bind variable:
sql := '... in ( ' || in_list_var ||' )...
or, you can use instr:
sql := ' ... instr(:in_list_var, :txn_val) > 0 ...'
using ','||in_list, ','||txn_val||','; -- notice the extra commas -
Simple Class and the Display List
I have very simple code for a class:
package
import flash.text.TextField;
import flash.display.Sprite;
public class Greeter extends Sprite
public function Greeter()
var txtHello:TextField = new TextField();
txtHello.text = "Hello World";
trace("hi");
addChild(txtHello);
The above file is saved as Greeter.as in say folder C:\test
I then create a Fla file named test_display.fla (saved in C:\test) and its contents are:
import Greeter;
var tt:Greeter = new Greeter();
Now the Output window shows hi due to the trace statement but the addChild method should show
Hello World in the Flash movie but it does not. The only way to get Hello World to the Flash Movie
is to change the test_display.fla to:
import Greeter;
var tt:Greeter = new Greeter();
addChild(tt);
In other words I have to use the addChild method twice ( once in Greeter.as and once in test_display.fla )
to get Hello World to display in the Flash movie. Does anyone know why this is so?Thanks Andrei1,
I honestly am having trouble with your answer. I am sure it is correct, I just don't get it right now.
As a slight twist on the original code say for example you want to get Hello World to output
inside the output window NOT the Flash movie. I see the code snippet inside the class it reads:
var txtHello:TextField = new TextField();
txtHello.text = "Hello World";
So now inside the FLA file ( not inside the class file ) I have tried various ways to get Hello World to print in output window:
I have tried trace(tt.text); and I get an error.
So the question is I know tt is an instance of Greeter and inside Greeter I see
where Hello World is assigned via:
txtHello.text = "Hello World";
So the question is why can't I get Hello World to print in the output window ( using trace) via
the instance tt somehow? -
Sherlock Holmes and the Bogus AHT Result
Ok - can anyone make sense of this? My G5 was going to sleep every 10 seconds or so. I ran the Apple Hardware Test and got an error code in relation to the Logic Board (2STH/1/2:CPUT-DIODE). A depressing call to Apple which didn't throw any light on the issue followed.
But! Now the computer's behaving normally, and a second run of the AHT shows no problems at all.
?????Ian--
My G5 was going
to sleep every 10 seconds or so. I ran the Apple
Hardware Test and got an error code in relation to
the Logic Board (2STH/1/2:CPUT-DIODE).
Like the others have said, it sounds to me like the computer was putting itself to sleep to protect itself from overheating. The CPU T-Diode is a sensor on the G5 CPU itself that senses how hot the chip is running. If it runs over 85° C for longer than 30 seconds, the computer will shut itself down.
Since your computer seems to be running normally, and a second run of AHT doesn't show the error, I'd say the error you got on the first run of the AHT was because the CPU was still too hot. Did the computer have a chance to cool down after the first run of the AHT? If so, that's probably why the error didn't show up on the second run.
If the computer is shutting itself off because of heat, the fans should be really running hard. Is this the case? If not, then perhaps one or more of the fans have failed, and that's the cause of your overheating.
Other people have suggested that pet hair and dust can clog the air intake on the bottom of the iMac and that cleaning the little grilled vents along the bottom will help.
Have you made any changes to the area where your iMac sits that might either block the inflow of air to the bottom of the iMac, or out the back? Also, if you've ever opened up the case, make sure it's completely closed at the top. That can interfere with the air flow and cause overheating. Also, make sure that the hot air that comes out the back isn't being recycled back into the bottom of the machine.
Finally, you can check your console.log and see for sure if the computer is overheating. If it starts putting itself to sleep, let it sit for a while to cool off. Then, wake it up again, and, before you restart, open the Console application in your Utilities folder. Look for log entries like this:
<pre class="command">May 28 10:49:08 localhost kernel: Thermal Manager: max temperature exceeded for 30 seconds, forcing system sleep
May 28 10:49:08 localhost kernel: SMUNeo2PlatformPlugin core dump:
May 28 10:49:09 localhost kernel: IOHWControls:
May 28 10:49:09 localhost kernel: [0] "System" Type:"fan-rpm" Id:0 TGT:1343 CUR:1343
May 28 10:49:09 localhost kernel: [1] "Hard Drive" Type:"fan-rpm" Id:2 TGT:1929 CUR:1919
May 28 10:49:09 localhost kernel: [2] "CPU" Type:"fan-rpm" Id:1 TGT:4400 CUR:4401
May 28 10:49:09 localhost kernel: [3] "sysclk slew" Type:"slew" Id:256 TGT:1 CUR:1
May 28 10:49:09 localhost kernel: IOHWSensors:
May 28 10:49:09 localhost kernel: [0] "CPU Power" Type:"power" Id:5 CUR:12.2119 W
May 28 10:49:09 localhost kernel: [1] "CPU T-Diode" Type:"temp" Id:0 CUR:85.38558 C
May 28 10:49:09 localhost kernel: [2] "CPU Current" Type:"current" Id:1 CUR:1.15552 A
May 28 10:49:09 localhost kernel: [3] "CPU Voltage" Type:"voltage" Id:2 CUR:11.64384 V
May 28 10:49:09 localhost kernel: [4] "Hard drive" Type:"temperature" Id:4 CUR:54.0 C
May 28 10:49:09 localhost kernel: IOHWCtrlLoops:
May 28 10:49:09 localhost kernel: [0] "Clock Slew" Id:0 MetaState:1 "Force Reduced Speed"
May 28 10:49:09 localhost kernel: [1] "PowerMac8,1 B System Fans" Id:1 MetaState:0 "Normal"
May 28 10:49:09 localhost kernel: [2] "CPU Fan" Id:2 MetaState:0</pre>That was proof enough to the Apple techs when I took my iMac in for the same problem. Since the log gets re-written with every restart, it's easiest just to save a copy somewhere else on your hard drive. Look in Console's "File" menu...
charlie -
IWeb and the Music list ?
Can I put bunch of numbers from my own music as a list...?
Without the picture of image for every song which comes with it ...?
Is this feature possible on the iWeb?
That would be weird if apple doesn't support this for the music writers/composers.Single song players can take many forms....
http://web.me.com/roddymckay/JW-Player/Catalina.html
Or you can have a jukebox player that uses a playlist....
http://www.iwebformusicians.com/Website-Music-Movies/Flash-Audio-Jukebox.html -
A voice breaks into all songs played on my jpod announcing the song and playlist. Is this a setting I cant find? Very frustrating.
The same thing happens to me
Whether I am listening to the music in my car. .or working out
Very annoying -
When I buy book and the progress "collecting pictures" iphoto suddenly crashes
I need some help with Iphoto.
I have started to do a new picture-book. When I was ready tu submit and buy the book, every step works fine until it start to collecting pictures.
It goes for about 30 sec, collecting page nr1 and nr2 - when it stops on nr3 and crashes.
I have snow leopard 10.6.8 with latest Iphoto software. I have tried to restart system several times.
I even tried another internet connection. And also to pic another pictures on page 3 to se if there is some error in the picture files. Nothing works!You're experienceing the problem many have with iPhoto trying to create the PDF file of the book for uploading and printing. The following workaround as worked for many:
Boot into Safe Mode and preview the book as described in this Apple document: iPhoto '11: Preview a book, card, or calendar before you order or print it. If you can preview the book successfully, confirm there are no errors or obmissions, save the preview as a PDF and order the book (while still in the Safe Mode).
OT -
The Daily List of Where Safari Crashes
It's happened to us all:
You hear the computer popping, but no page comes up. The Apple color wheel spins and spins...the window closes. The pop up reads "Safari has unexpectedly crashed. Do you want to submit the problem to Apple?"
ARGHHHHHH.
This post is a daily running diary of the websites that Safari couldn't handle and crashed:
Monday, Feb. 19th:
(1) VH1.com (VH1--2007 Pop culture quiz information)
(2) Deadspin.comcnn.com
-
I have a 3rd generation iPod Touch and just did the update to IOS 5. Now I can't connect to my Netgear wifi router. My iPhone connects fine along with all of my other laptops etc. I have the router set with WPA-PSK [TKIP] security and an access list. I've confirmed the mac address is included on that list and that the password is correct. Under choses netwrok I select the network and it just goes into a spin. I have tried removing the password and the access list settings and it still will not complete the connection to the router thus no internet access. The routers firmware is also up to date. This thing worked fine before this update and I've already tried to restore from backup. Any ideas or is the wifi nic bad in this thing with the new apple firmware update? Any fix?
Thanks Bob, I don't know why but it all of a sudden worked a few days later. It's a mystery but at least problem solved.
Maybe you are looking for
-
CFID and CFTOKEN Being Deleted from Session Cookie
I can't believe that no one else has run into this - but I have found nothing on the internet. When I copy a piece from a web page that is generated by my coldfusion server, and paste it into a word document, the session cookie is altered, and the CF
-
Backup - iPhone to MacBook Pro
i've been using the iPhone for a year and use it as the primary place to put contacts. I recently started to back up on my MacBook. When I'm on the same wifi network with both devices, I want to update my contacts etc onto the MacBook with what I'v
-
Hi Gurus, I would like to refresh the table S032 as it has got negative valuated stock,could you plz please provide me the function module which refreshes the tableS032. Thanks a lot in advance.
-
Optimize JPG image size reduction by reduced compression quality vs. reduced pixels?
I have many images of slides scanned at high res (4800 DPI, maximum pixels 5214x3592). Although I will be saving these as lossless TIFs, I also wish to make JPGs from them that I wish to be just less than 5 MB in file size. Aside from cropping, I
-
I was experiencing a pop up by 'salus' and in trying to rid of it, I reinstalled Firefox. Since doing so, I am unable to open any webpages. I only get the above error. I've discovered a way around it is to first open CCleaner and click on the 'online