Problem with bar chart and conditionals
Hi Experts!
I have a problem doing a chart
My chart is horizontal barchart...and Axis Y there is some accounts of a dimension...
There is two kind of accounts...when value is > 0 then green and < 0 then red and other kind is > 0 red and < 0 green... so each bar is an account but depends of each account it will be green or red. In tables I can do it with conditional format depends of other column...but I can't do it with a chart.
Is possible to do this?
Thanks!!!
I add a picture with my problem: http://imageshack.us/photo/my-images/849/barchart.jpg/
Hi,
In 11g in graph properties in the second tab(STYLE)-->Graph Data ..Style and Conditional Formatting-->Conditional Formatting .
You can see all the columns used.
You can select the column and specify the filter condition and select the color for the graph.
You can select for which column you need to have the conditional formatting.
Regards
MuRam
Similar Messages
-
Problem with Bar Chart using Date Data
I am trying to make a simple horizontal bar chart as a Gantt chart. I am trying to set the min and max for the X axis but it is acting strangely. As you can see in the screenshot below, I set the min to 1/1/2000 but the chart uses 9/28/2011. Similar problem with the max setting. Am I doing something wrong here? Can anyone duplicate this? Anyone have a solution other than this workaround I am now using (which I assume will break my chart once Apple fixes this problem)?
BadUnit,
I assume Numbers, like me, is confused why you would set min/max limits that do not include the data?
I do get the same result as you when I enter the time range for the chart as 1/1/2000 thru 1/1/2004.
I even tried making a separate table for the chart:
There is definitley a problem.
When I enter, what I think are reasonable, min and max dates for the chart
min = 1/1/2013
max = 12/31/2015
The chart adjusts like this: -
Problem with Pie chart and Hierarchy
I have to display a Pie chart according to a hierarchy.
The top node claims half of the chart.
<u>A hierarchy for example</u>:
Division A 450
Department A1 100
Department A2 150
Department A3 200
The Pie chart is divided to 4 parts (instead of 3), where Division A takes 50%.
I dont want Division A to be seen in the chart.
The best solution would be if WAD could ignore the first category.
Thanks and best regards,
Sigal.In WAD, mark the SUPPRESS_OPENHIERARCHIENODES parameter of the Pie Data Provider.
-
Regarding Pages charts, when I try to 'build' a 3D chart all I get is little dots but not graphics. No problems with 2D charts though. Guess my question is "Help?"
Sorry for the delay getting back to this.
Thanks to Fruhulda and Peter for their comments regarding the refusal of Pages to let me make 3D charts.
In answer to the questions put to me in this regard :
1. Pages version : Pages '09 v.4.1 (923)
2. Mac O/S : v.10.6.8
3. 3D chart : Can't find a 'name', but upright bars with rounded corners ???
4. Moved apps : Not that I'm aware of! All should be as installed off the disc.
5. A note : I have been able to create these in the past - related to a SW update?
and ... can create these charts perfectly in Keynote (go figure).
Thanks to all.
CM -
Horizontal Bar Chart and Overlaying Line Chart
I am using SSRS 2008 and developing my reports in BIDS.
I have a report with two data points. I want to chart the first as a bar (horizontal) chart and then the second as an overlaying line chart.
I created both data series, originally, as a bar chart. I have clicked on the second series in the "Drop Data Fields Here" area and changed the chart to a line chart. When I do that, it changes both series to a line chart.
However, if I use the column (vertical) chart for the first series, it will let me make the second one a line chart.
Is this a limitation of SSRS 2008? Can I not have one data point be the horizontal bar chart and the second one a line chart?
If so, are there any suggestions how to get around this?
Thanks.Both charts for SSRS 2005/2008 are very limited when it comes to horizontal charts and are infact supporting only left-to-right bar charts, with no ability to combine them with other charting types (lines, areas, points etc.). For a SSRS charting solution that supports all types of charting type combinations in left-to-right and right-to-left horizontal fashion you can use Nevron Chart for SSRS - www.nevron.com. Besides a huge number of charting types and subtypes (most of which are not available in the MS Chart for SSRS 2008) it also provides better image quality in 2D and 3D modes, more settings, has support for rich text formatting in texts, has image filters, ability to customize via C# code and implements many more large and small charting related details.
Best regards,
Crank -
Hi have had problems with photo's and films going onto a 2010 Apple Classic mp3. Have managed to sort photo's but the films won't copy and comes up with message videos not copied cannot be played on this ipod
razzbust wrote:
...but the films won't copy and comes up with message videos not copied cannot be played on this ipod
Self explanatory.
You could try creating an iPod version of the films.
Use CTRL and B to display the Menu bar shown above. Alternatively, use the ALT key, followed by the F key, the W key and finally the I (eye) key - that's (menu)/File/Create New Version/Create iPod or iPhone version. -
Hi everyone. I've got a problem with ABAP charts. I need to place a simple chart in screen's container.
REPORT ZWOP_TEST4 .
Contain the constants for the graph type
TYPE-POOLS: GFW.
DATA: VALUES TYPE TABLE OF GPRVAL WITH HEADER LINE.
DATA: COLUMN_TEXTS TYPE TABLE OF GPRTXT WITH HEADER LINE.
DATA: ok_code LIKE sy-ucomm.
DATA: my_container TYPE REF TO cl_gui_custom_container.
REFRESH VALUES.
REFRESH COLUMN_TEXTS.
VALUES-ROWTXT = 'Salary'.
VALUES-VAL1 = 50000.
VALUES-VAL2 = 51000.
APPEND VALUES.
VALUES-ROWTXT = 'Life cost'.
VALUES-VAL1 = 49000.
VALUES-VAL2 = 51200.
APPEND VALUES.
COLUMN_TEXTS-COLTXT = '2003'.
APPEND COLUMN_TEXTS.
COLUMN_TEXTS-COLTXT = '2004'.
APPEND COLUMN_TEXTS.
Call a chart into a standard container, this function could be used
for many different graphic types depending on the presentation_type
field :
gfw_prestype_lines
gfw_prestype_area
gfw_prestype_horizontal_bars
gfw_prestype_pie_chart
gfw_prestype_vertical_bars
gfw_prestype_time_axis
CALL SCREEN '1000'.
CALL FUNCTION 'GFW_PRES_SHOW'
EXPORTING
CONTAINER = 'CONTAINER' "A screen with an empty
container must be defined
PRESENTATION_TYPE = GFW_PRESTYPE_LINES
TABLES
VALUES = VALUES
COLUMN_TEXTS = COLUMN_TEXTS
EXCEPTIONS
ERROR_OCCURRED = 1
OTHERS = 2.
*& Module STATUS_1000 OUTPUT
text
MODULE STATUS_1000 OUTPUT.
SET PF-STATUS 'GUI_1000'.
SET TITLEBAR 'xxx'.
IF my_container IS INITIAL.
CREATE OBJECT my_container
EXPORTING container_name = 'CONTAINER'.
ENDIF.
ENDMODULE. " STATUS_1000 OUTPUT
*& Module USER_COMMAND_1000 INPUT
text
MODULE USER_COMMAND_1000 INPUT.
ok_code = sy-ucomm.
CASE ok_code.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_1000 INPUT
I created a screen 1000 in SCREENPAINTER, named it 'CONTAINER'. Then I try to launch code above and nothing appears on the screen. Could You give me some tip?Hi,
delete this lines:
IF my_container IS INITIAL.
CREATE OBJECT my_container
EXPORTING container_name = 'CONTAINER'.
ENDIF.
then it should work.
R -
Problem with displaying chart data
Hello everybody,
I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
to show the result. The second column of the grid is for february and the third for march.
Could anybody help me with this problem. Thanks in advance.
ThomasHi Chris,
thanks for your reply. Here you get the source code:
The following method creates the LineChart:
public function init():void
model.upperChart = this;
model.upperChartStyle.setChartViewStyle(this);
this.hAxis = new MyDateTimeAxis();
model.upperChartData.configureHAxis(this.hAxis);
this.vAxis = new LinearAxis();
model.upperChartData.configureVAxis(this.vAxis);
this.vAxisTitle = new Label();
this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
this.vAxisTitle.x = 10
this.vAxisTitle.y = 0;
this.addChild(this.vAxisTitle);
this.myChart = new CartesianChart();
//remove default datatip
this.myChart.showDataTips = false;
this.myChart.x = 10;
this.myChart.y = 0;
this.myChart.width = 768;
this.myChart.height = 196;
model.upperChartStyle.setChartStyle(this.myChart);
this.addChild(this.myChart);
//Remove line shadow
this.myChart.seriesFilters = null;
this.myChart.horizontalAxis = this.hAxis;
this.myChart.verticalAxis = this.vAxis;
this.hAxisRenderer = new AxisRenderer();
model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
this.hAxisRenderer.axis = this.hAxis;
model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
this.vAxisRenderer = new AxisRenderer();
model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
this.vAxisRenderer.axis = this.vAxis;
model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
this.addChild(this.vAxisMinLabel);
model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);
this.myChart.dataProvider = model.upperChartData.dataProvider;
this.myChart.series = model.upperChartData.series;
The data for dataprovider and series you can see in attached file dataprovider.xml.
xfield is equivalent to timestamp
yfield is equivalent to absolute
I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
public function configureHAxis(axis:MyDateTimeAxis):void
axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
axis.dataUnits = "days";
axis.dataInterval = 1;
axis.title = "";
axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
And finally you get the function, that I'm using for string to date conversion:
public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
var result:Date = new Date();
var year:Number = Number(input.substring(0,4));
var month:Number = Number(input.substring(5,7));
var date:Number = Number(input.substring(8,10));
var hours:Number = Number(input.substring(11,13));
var minutes:Number = Number(input.substring(14,16));
var seconds:Number = Number(input.substring(17,19));
result.setUTCFullYear(year);
result.setUTCMonth(month-1);
result.setUTCDate(date);
result.setUTCHours(hours);
result.setUTCMinutes(minutes);
result.setUTCSeconds(seconds);
return result;
I hope that will help to locate the reason for the wrong chart visualization.
Thanks for any help. -
How to print activities together with bar chart
Hi,
Anyone can advise how to print out an activities together with bar chart. When you try to print, an insufficient bar chart come out. Why?
Thank youAnother one to change might be the Gantt chart timescale
File -> Page Setup -> Options -> timecale start and Timescale finish
Best thing to do is cut out all the columns you dont need and print on A3 if you can
Apply a filter if you're seeing more activities than you need, remove any bar labels if there's more info on the Gantt than you need
Does take a bit of fiddling sometimes - but once you're done, don't forget to save the layout ! -
I have a problem with a chart refreshing after its bound data provider changes.
I have a problem with a chart refreshing after its bound data
provider changes. After the subsetHighLowData.refresh() is called I
would expect the chart to redraw, but it still looks the same. I
even inspected the debugger to see if the slice had taken place and
it had.
Any ideas coding friends?"nikos101" <[email protected]> wrote in
message
news:gib6aa$prr$[email protected]..
>I have a problem with a chart refreshing after its bound
data provider
>changes.
> After the subsetHighLowData.refresh() is called I would
expect the chart
> to
> redraw, but it still looks the same. I even inspected
the debugger to see
> if
> the slice had taken place and it had.
>
> Any ideas coding friends?
>
> subsetHighLowData.source =
>
highLowData.source.slice(slider.values[0],slider.values[1]);
Just use the ArrayCollection's removeItemAt, and it should
handle the event
dispatching for you.
HTH;
Amy -
Problem with waveform chart: time scale does not show time correctly
Hello,
I have some problems with a chart.
I want to display some data and the time between two single data can vary. It is something between 50ms and 500 ms.
The problems I have:
1. The time is not shown correctly in the chart (allways 2:00:10 instead of the current time)
2. the data points in the chart have a distance of 1 s (x-scale). That is not correct.
I have tried several things but I thinkt I am on the wrong track.
Could you please help me?
Johannes
LabVIEW 7.1 (!)
Message Edited by johanneshoer on 10-14-2009 04:26 AM
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
Solved!
Go to Solution.
Attachments:
Chart Test.vi 55 KBI have modifierd the vi again.
Now it looks much better.
I have a data array and the last 10 seconds of the data are displayed.
The array size is maximum 150 and that is more than I need to display. If new data is inserted, the oldest gets deleted.
I wonder if this style is efficient?
The time is stil not displayed correctly in the graph. Why does it always show 2:00:00 ?
Johanens
LabVIEW 7.1
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
Attachments:
Chart Test 3.vi 57 KB -
DVCPRO HD footage problems with Quicktime 10 and MacBook Pro
I am trying to open DVCPRO HD footage in Quicktime 10 on my computer and just get black screen with no video. Cannot get these files to play yet can get other ones to play, just not the DVCPRO HD footage shot with Panasonic P2 cards. I can play the same files in Quicktime 10 on other computers with Snow Lion and on my tower with Lion. These will just not work on my MacBook Pro 10.7.5 Everything is up to date. Can anybody trouble shoot this for me? HELP!
I have the same model as you with the same upgrades (8GB RAM, high-res screen) and began to experience similar problems around the same time as you. And like you, I managed to work around the problem with gfxCardStatus for awhile. It was less than ideal though, since my email client, for example, uses the discrete graphics card. After a week or two, the problem got worse and my computer became virtually unusable. The screen would start to flicker at the log-in prompt, forcing me to reboot again. I could only make it to my desktop 1 time out of 10, if that. The Apple Hardware Test (both regular and extended) revealed no problems. I removed some software that I had installed the day before the problem started on the off chance that was the cause, but still it continued. I also tried to boot with a Linux LiveCD to verify that it was, in fact, a hardware issue and not software related, but never managed.
Finally, I brought the machine into my local Apple reseller (there are no Apple Stores where I live) for repairs. It was easy enough to demonstrate the issue, and they ended up replacing the motherboard, since that's the only way to replace the discrete graphics card. The turnaround time was about a week. All covered under the standard warranty (I don't have AppleCare). I've had my computer back for a couple of days now, and it's been running smoothly. No problems with the screen, and I feel confident enough to remove gfxCardStatus.
I hope you've managed to solve your problem by now. Even if your computer passes the Genius Bar hardware diagnostic tool, surely you should be able to demonstrate the issue to the technician and they'll see something is clearly wrong. -
Problems with ListViews Drag and Drop
I'm surprised that there isn't an Active X control that can do this more
easily? Would
be curious to find out if there is - although we aren't really embracing the
use of
them within Forte because it locks you into the Microsoft arena.
---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 02/03/98 01:33
PM ---------------------------
"Stokesbary, Michael" <[email protected]> on 02/03/98 12:19:52 PM
Please respond to "Stokesbary, Michael" <[email protected]>
To: "'[email protected]'" <[email protected]>
cc:
Subject: Problems with ListViews Drag and Drop
I am just curious as to other people's experiences with the ListView
widget when elements in it are set to be draggable. In particular, I am
currently trying to design an interface that looks a lot like Windows
Explorer where a TreeView resides on the left side of the window and a
ListView resides on the right side. Upon double clicking on the
ListView, if the current node that was clicked on was a folder, then the
TreeView expands this folder and the contents are then displayed in the
ListView, otherwise, it was a file and it is brought up in Microsoft
Word. All this works great if I don't have the elements in the ListView
widget set to be draggable. If they are set to be draggable, then I am
finding that the DoubleClick event seems to get registered twice along
with the ObjectDrop event. This is not good because if I double click
and the current node is a folder, then it will expand this folder in the
TreeView, display the contents in the ListView, grab the node that is
now displayed where that node used to be displayed and run the events
for that as well. What this means, is that if this is a file, then Word
is just launched and no big deal. Unfortunately, if this happens to be
another directory, then the previous directory is dropped into this
current directory and a recursive copy gets performed, giving me one
heck of a deep directory tree for that folder.
Has anybody else seen this, or am I the only lucky one to experience.
If need be, I do have this exported in a .pex file if anybody needs to
look at it more closely.
Thanks in advance.
Michael Stokesbary
Software Engineer
GTE Government Systems Corporation
tel: (650) 966-2975
e-mail: [email protected]here is the required code....
private static class TreeDragGestureListener implements DragGestureListener {
public void dragGestureRecognized(DragGestureEvent dragGestureEvent) {
// Can only drag leafs
JTree tree = (JTree) dragGestureEvent.getComponent();
TreePath path = tree.getSelectionPath();
if (path == null) {
// Nothing selected, nothing to drag
System.out.println("Nothing selected - beep");
tree.getToolkit().beep();
} else {
DefaultMutableTreeNode selection = (DefaultMutableTreeNode) path
.getLastPathComponent();
if (selection.isLeaf()) {
TransferableTreeNode node = new TransferableTreeNode(
selection);
dragGestureEvent.startDrag(DragSource.DefaultCopyDrop,
node, new MyDragSourceListener());
} else {
System.out.println("Not a leaf - beep");
tree.getToolkit().beep();
} -
Problems with Customer Service AND unexplained charges!
I've been with Verizon for I-don't-know-how-many years, and through the years you are bound to have a few problems here and there but some of the problems are just ridiculous! It's also the same reocurring problem!!!!!!!!!!!!!!!! I was with Alltel first, before it was bought out by Verizon. The years I was with Alltel, I didn't have near as many problems. It seems EVERY time I do the smallest change or something to my phone or bill, I get a ridiculous amount of charges that I was NOT aware of, nor told about... EVEN IF I ask "So this isn't going to change my bill, or there will not be any unexpected/unexplained charges that I don't know about?"... BUT not matter how many times I ask... and NO matter how many times I am told "no"... there always is. For example.... last year, I updated and signed a new 2 year contract and purchased the first Driod. Before, my 30 day warranty was up, I was having problems with my Driod, and decided to send it in and get a new one. Before I did this.. I called customer service to make sure there would be no interuption in my bill, and there wouldn't be any unexpect charges, and there would be no difference in anything. I was told there was not, and once I recieved my new phone, just send it in and nothing would be changed. Of course, when I get my bill.. I see I was charged $500 for the new phone. It was explained to me that my credit card was reimbursed (which I never check that card, because I never used it expect to purchase the phone) and that I was recharged for the new phone, since it was a new phone. So I had to fork out the $500 (on top of my bill) and then wait months to get the $100 rebate card. Months after that, I "assumed liablity of my line" because I was on a plan with my family. I decided to have my own line, so I "assumed liability." I was not told that when I did that, I "renewed" my contract date. So I just added 6 more months to my 2 year contract. Was NOT told about that! Then again...... I was recently having problems with my Driod (the screen went black and would not come back on.) I had to turn on an OLD motorola razor, so I would not be without a phone for two days while I was waiting on my phone to come in. As soon as my phone came in, I had my Droid turned back on. I recieved my bill recently, and my bill was $200 over what it normally should be.... so I called in... apparently, when I had my phone replaced, they dropped off my data package and when I recieved my replacement driod, they never put it back on. So I was being charged for alllll my data usage... again I was NOT told about this. I wasn't even aware that they had dropped off my data package, and when/where did they get the authority to do that??? These are just a FEW of the problems that I have had.................................
Does anyone have these reoccuring problems!?I understand that my bill can be viewed online, and I do view it fairly regularly, so if there are any unexplained charges, I can call Verizon asap. The problem does not come from me not understanding my bill, but from customer service. I have been with Verizon for a very long time, and it is a continuing problem. Where did Verizon get the 'OK' to drop my data package off my plan? Who authorized that?
After calling Verizon and trying to find out the problem, the gentleman told me that when I activated on old phone while I was waiting on my new Droid to arrive, my data package was dropped off and I "should" have been told about that. When I reactiviated my new Droid, I "should" have called and had them restart my data package. I was not aware that when you activate an old phone that data plan is taken off your plan. In all my years of having cell phones, I never make two years with one phone. I have always, at one point, had to turn on an old phone, and my data package has NEVER changed. Why would I have my data package dropped and why would I have to call Verizon to have it restarted. I would never know to do that unless I was TOLD that my data packaged HAD to be re-added when I recieved my new phone, but I was never told of that.
All of that is beside the point, the point is, Verizon was never given the authorization to change my plan. Never. My bill was taken care of and readjusted, and I am thankful for that. It does not change the fact it is always a hassle with Verizon Customer Service and I am always the one having to PROVE that I am not at fault, or that I was NEVER told of certian things. EVERY TIME I HAVE CALLED CUSTOMER SERVICE, I AM TOLD "I'M SORRY, THEY SHOULD HAVE TOLD YOU THAT."
"they should" does not help my bill with the extra armount of charges. -
Problems with dropped calls and no reception on Samsung Continuum
My mother and I both purchased a Samsung Continuum in late March 2011, and have experienced the same problems with the phone. The device drops at least 2-3 calls per day, often on the same conversation; we have not found that location or time of day makes a difference. The phone freezes up frequently, even if no apps are running in the background. We lose our 3G network reception frequently, and cannot access our texts, emails, or the internet. The screen saver kicks in even when we are actively dialing a number, or typing in a text message. The overall performance of the phone is also poor, and it is quite slow much of the time.
We have raised this issue several times with a representative at one of the Verizon stores, but he states that he can find no problem with the phone, and that these issues may not be covered under our insurance plan. None of my friends with non-Samsung phones are having the same problems with phone reception and performance. I am aggravated enough with these issues that I am considering reactivating my old Blackberry, which worked like a charm.
I am not upset that my phone has not been updated to Android 2.2. I just want the phone to perform as stated, and not fail at its primary function: making and receiving phone calls. I am not certain if these problems originate with the phone, Verizon, or Samsung, nor do I care. I just want to resolve these issues as soon as possible, or I will have to look at other alternatives.
Thank you.If this doesn't work...now what??? I have a useless $400 plus piece of unreliable junk. My Motorola Razor was ions more reliable than this phone...very, very sad but true.
What carrier were you using with the Razor? AT&T? Same area?
Dave M.
MacOSG Founder/Ambassador An Apple User Group iTunes: MacOSG Podcast
Creator of 'Mac611 - Mobile Mac Support' (designed exclusively for an iPhone/iPod touch)
Maybe you are looking for
-
Change history of User for Business Partner Number attaching and removing
Hi Experts Is there any t-code in SRM which will show change history of User for Business Partner Number attaching and removing. Thanks-- Guru Prasad Dwivedi
-
Can anyone please help me with this error: "Apple application support was not found... Error 2" I've followed the instructions by removing all Apple files from my laptop, but when I reinstall the iTunes software it still comes up with this message: "
-
Embed Lightroom Slideshow in Activerain Blog
I've been trying (in vain) to embed a Lightroom slideshow into my activerain blog here: http://activerain.com/blogsview/658980/Homes-Near-Peterson-and The slideshow should be in that big blank white space near the bottom of the post. I'm hosting the
-
Default Dialer not able to search & show mobile numbers {Lenovo K900}
Hi, Last week I purchaged Lenovo K900 & configured some apps & sync contacts from online mail accounts but after 2 or 3 days when I typing any name in default dialer its showing names but as per standard it should show their mobile numbers under thei
-
Problems installing Mastersuite CS6
I've twice downloaded the files for Mastersuite CS6. Each time it says that a restart is imminent - ignore or quit. First time I ignored and it didn't work. I downloaded the files again overnight, with the same error message. I restarted and the file