EA1: A few formatter issues

1. Alignment of AND keywords in select statement is wrong.
  function get_segment_size(ownname in varchar2,   segname in varchar2, segtype in varchar2) return number is indsize number(16);
  begin
    begin
      select bytes
      into indsize
      from dba_segments
      where owner = ownname
       and segment_type = segtype
       and segment_name = segname;
    exception
    when others then
      raise;
    end;
    return indsize;
  end;becomes
FUNCTION get_segment_size
    ownname IN VARCHAR2,
    segname IN VARCHAR2,
    segtype IN VARCHAR2 )
  RETURN NUMBER
IS
  indsize NUMBER ( 16 ) ;
BEGIN
  BEGIN
     SELECT bytes
       INTO indsize
       FROM dba_segments
      WHERE owner  = ownname
  AND segment_type = segtype
  AND segment_name = segname;
  EXCEPTION
  WHEN OTHERS THEN
    raise;
  END;
  RETURN indsize;
END;The ANDs are left aligned with the enclosing block rather than right aligned with the 'master keywords'.
2. NUMBER(?,?) and VARCHAR2(?) declarations have parentheses and sizes split over multiple lines.
  index_list dba_indexes_tab;
  rebuild_stmt varchar2(200);
  end_time date;
  start_size number(16,   0);
  end_size number(16,   0);
  batch app_support_batch_runs % rowtype;
  batch_results resultset;becomes
  index_list dba_indexes_tab;
  rebuild_stmt VARCHAR2
    200
  end_time DATE;
  start_size NUMBER
    16, 0
  end_size NUMBER
    16, 0
  batch app_support_batch_runs % rowtype;
  batch_results resultset;3. Some array subscripted expressions have their parentheses split across multiple lines.
    end_time := sysdate;
    batch_results := resultset();
    batch_results.extend;
    batch_results(batch_results.last).asjr_result_type := 'ELAPSED_TIME';
    batch_results(batch_results.last).asjr_result_key := 'ALL';
    batch_results(batch_results.last).asjr_result_value :=((end_time -batch.asbr_component_start_time) *(24 *60 *60));becomes
  end_time      := sysdate;
  batch_results := resultset
  batch_results.extend;
  batch_results
    batch_results.last
  .asjr_result_type := 'ELAPSED_TIME';
  batch_results
    batch_results.last
  .asjr_result_key := 'ALL';
  batch_results
    batch_results.last
  .asjr_result_value :=
    ( end_time -batch.asbr_component_start_time ) * ( 24 *60 *60 )
  ;Another similar block later in the same package is left as single lines.
4. 3 seems to apply generally to expressions involving parentheses - array subscripts, procedure calls. Some are done properly, others are spread across multiple lines.
5. Various keywords are not recognised by the formatter, although they are by the syntax highlighter. (They are in bold, but not upper case)
raise
extend
last
immediate
6. There doesn't seem to be away to format the current selection rather than the whole buffer (in the PL/SQL editor)

Given this -
select prej.asbr_component_name,
  prej.asbr_batch_start_time,
  etime.asjr_result_value Elapsed,
  prer.asjr_result_value Size_before,
  postr.asjr_result_value Size_after,
  prer.asjr_result_value -postr.asjr_result_value Shrinkage
from app_support_batch_runs prej
inner join app_support_job_result prer on prer.asjr_asbr_id = prej.asbr_id
inner join app_support_job_result postr on postr.asjr_asbr_id = prej.asbr_id
inner join app_support_job_result etime on etime.asjr_asbr_id = prej.asbr_id
where prer.asjr_result_type = 'START_SIZE'
and postr.asjr_result_type = 'END_SIZE'
and etime.asjr_result_type = 'ELAPSED_TIME'
order by prej.asbr_component_name;with [em]indent AND/OR[em] unchecked, you get this.
SELECT prej.asbr_component_name    ,
  prej.asbr_batch_start_time        ,
  etime.asjr_result_value Elapsed   ,
  prer.asjr_result_value Size_before,
  postr.asjr_result_value Size_after,
  prer.asjr_result_value -postr.asjr_result_value Shrinkage
   FROM app_support_batch_runs prej
INNER JOIN app_support_job_result prer
     ON prer.asjr_asbr_id = prej.asbr_id
INNER JOIN app_support_job_result postr
     ON postr.asjr_asbr_id = prej.asbr_id
INNER JOIN app_support_job_result etime
     ON etime.asjr_asbr_id    = prej.asbr_id
  WHERE prer.asjr_result_type = 'START_SIZE'
AND postr.asjr_result_type    = 'END_SIZE'
AND etime.asjr_result_type    = 'ELAPSED_TIME'
ORDER BY prej.asbr_component_name;The problems with this are.
1) The sql statement as a whole is indented (ie the select keyword)
2) Despite 1), INNER, AND and ORDER are NOT indented at all whereas the should be at least level with the select. I suspect the problem may be that it is trying to right align 'INNER JOIN' and 'ORDER BY' with the SELECT-FROM-WHERE.I thing the ON of the join clauses is right aligned.
3) The column list isn't right. The columns should be left aligned and positioned one space to the right of the select keyword ( or at a pinch on a new line, indented from the select keyword by 2 columns)
with [em]indent AND/OR[em] checked, you get this.
SELECT prej.asbr_component_name    ,
  prej.asbr_batch_start_time        ,
  etime.asjr_result_value Elapsed   ,
  prer.asjr_result_value Size_before,
  postr.asjr_result_value Size_after,
  prer.asjr_result_value -postr.asjr_result_value Shrinkage
   FROM app_support_batch_runs prej
INNER JOIN app_support_job_result prer
     ON prer.asjr_asbr_id = prej.asbr_id
INNER JOIN app_support_job_result postr
     ON postr.asjr_asbr_id = prej.asbr_id
INNER JOIN app_support_job_result etime
     ON etime.asjr_asbr_id    = prej.asbr_id
  WHERE prer.asjr_result_type = 'START_SIZE'
  AND postr.asjr_result_type  = 'END_SIZE'
  AND etime.asjr_result_type  = 'ELAPSED_TIME'
ORDER BY prej.asbr_component_name;This is better but still has the problems with right-alignment.
With [em]Right-align master keywords[em] unchecked...
SELECT prej.asbr_component_name     ,
  prej.asbr_batch_start_time        ,
  etime.asjr_result_value Elapsed   ,
  prer.asjr_result_value Size_before,
  postr.asjr_result_value Size_after,
  prer.asjr_result_value -postr.asjr_result_value Shrinkage
FROM app_support_batch_runs prej
INNER JOIN app_support_job_result prer
ON prer.asjr_asbr_id = prej.asbr_id
INNER JOIN app_support_job_result postr
ON postr.asjr_asbr_id = prej.asbr_id
INNER JOIN app_support_job_result etime
ON etime.asjr_asbr_id        = prej.asbr_id
WHERE prer.asjr_result_type  = 'START_SIZE'
  AND postr.asjr_result_type = 'END_SIZE'
  AND etime.asjr_result_type = 'ELAPSED_TIME'
ORDER BY prej.asbr_component_name;IMO This is best but I would like ON indented with respect to the INNER JOIN it belongs to.
So in terms of this sql statement, I think the only bug is the alignment of columns. The right alignment option doesn't work very well for longer 'keywords' (mainly the new-fangled sql-92 stuff). Perhaps a redefinition of what constitutes a master keyword would do better.

Similar Messages

  • EA1 - SQL Formatter issues (JOINs and GROUPs and ORDER BY oh my ;)

    Great job with improving the SQL Formatter, but it still has some bugs that need to be worked out.
    The key words JOIN and it's modifiers INNER, LEFT, RIGHT and FULL OUTER are not recognized as master key words. As such they end up flush against the left margin Also when GROUP BY and/or ORDER BY key words are present in an outer most select statement the other key words are not indented far enough to be right aligned with the end of the word BY and are indented too far to be right aligned with the word GROUP or ORDER. In sub queries, GROUP and ORDER BY are correctly right aligned with their respective SELECT statements.

    We're picking up and collating the Formatter issues. I'll add these.
    Specific bug for these #7013462
    Sue

  • Sony Xperia Z experiences few usability issues after updating to latest software

    Recently I upgraded my Sony Xperia Z phone (see snapshot for current upgraded system info)
    After this upgarde I am facing few usability issues like ease of keyboard use
    I lost all saved words from disctionary, also punctuations symbols bar at top of keyboard is missing (see image)
    When I enter any wrong word and I want to delete/modify entered word.. now it deletes character by character instead of whole word (earlier behavior)
    What is the solution to get that top symbols bar in keyboard?
    itsvaibh

    Download sony update service,attempt a repair of software.Before that,backup your data.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • A few forums issues noted

    Here are a few forums issues noted while reviewing the FAQ for the site.
    1) "Using Forums Forums" eyebrow text (above) is awkwardly worded.
    2) FAQ contains some
    spurious and bad links, missing
    icons,
    duplicated text, numerous
    typos, and some incorrect information.
    3) Some images in the FAQ contain obsolete information, such as the "tags" feature shown
    here.

    As most of these things have not been fixed yet, I am replying so that this goes to the top of the list for a short amount of time.
    Hello,
    Since the FAQ is now a WIKI, and everyone of the links that Graeme provided go to a page that says nothing more than:
    "The Forums help file has been moved to the
    Community Wiki. Please update any bookmarks you may have."
    I am unsure what you mean by suggesting that these things have not been fixed.
    If you can provide links to information that needs to be updated, we can fix that.
    Better yet, since it's a wiki, YOU can fix errors or missing data!
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Stuck on few CSS issues mid-build

    Hi all,
    Spend the last week making some good progress with a website build, but I’ve hit a few stumbling blocks I hoped the CSS pros out there might be able to help with please!
    <div id="body_container">
    I’ve tried setting this div’s height to 100% so it expands accordingly (set to 800px right now), but when I do this it ‘disappears’ from view – i.e. the background colour vanishes and all its contents appear on a white background which is applied to the #body_container_fullwidth. Any ideas what I’m doing wrong?
    <div id="left_content">
    Why isn’t this expanding in height to accommodate the youtube video? It’s height is set to 100%.
    <hr class="leftcontent1"></hr>
    I’m seeing this in Dreamweaver but not in FF or IE preview. Any ideas?
    <img class="rightbutton" src="Images/right_button.png" width="24" height="24" alt="More" />
    I’ve put this image in the <div id="right_content_greystrip"> container but it’s appearing below and I can’t work out why?
    Sorry it’s quite a few issues all at once – I’ve been over each time and time again but am thoroughly stuck!
    Thanks in advance guys
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="PageTitle" -->
    <title></title>
    <!-- TemplateEndEditable -->
    <link href="CSS/style_sheet.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-17957242-1']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </head>
    <body>
    <div id="logo_address_container_fullwidth">
    <div id="logo_address_container">
    <div id="logo_container"><a href="Templates/test.com"><img src="Images/thewharfhouse-logo.png" width="359" height="41" alt="The Wharf House" /></a></div>
    <div id="address_container">
    <p class="headeraddress">Over, Gloucester, GL2 8DB | 01452 332 900 | <a href="Templates/www.test.com">[email protected]</a></p>
    </div>
    </div>
    </div>
    <div id="nav_container_fullwidth">
    <div id="nav_container">
    <p class="nav"><a href="Templates/www.test.com">Home</a>  &#8226;  <a href="Templates/www.test.com">Restaurant</a>  &#8226;  <a href="Templates/www.test.com">Accommodation</a>  &#8226;  <a href="Templates/www.test.com">Online Shop</a>  &#8226;  <a href="Templates/www.test.com">News & Events</a>  &#8226;  <a href="Templates/www.test.com">Functions & Weddings</a>  &#8226;  <a href="Templates/www.test.com">Local Tourism</a>  &#8226;  <a href="Templates/www.test.com">Contact</a></p>
    </div>
    </div>
    <div id="header_image_container_fullwidth">
    <div id="header_image_container">
      <!-- TemplateBeginEditable name="header-image" --><img src="Images/header-test.jpg" width="1100" height="350" alt="Header test" /><!-- TemplateEndEditable --></div>
    </div>
    <div id="body_container_fullwidth">
    <div id="body_container">
    <div id="body_container_left">
    <div id="left_content">
    <h1 class="leftcontent1">Welcome to The Wharf House</h1>
    <hr class="leftcontent1"></hr>
    <h2>Welcome to the award winning waterside Restaurant and Accommodation, situated in Over on the edge of the historic city of Gloucester.</h2>
    <p>Welcome to The Wharf House Waterside Restaurant with Rooms, set in the perfect riverside location. Sample our culipxary delights, which have recently been awarded a highly acclaimed red rosette by the AA or enjoy a stay in our beautiful rooms awarded with 4 stars by the AA.</p>
    <p>Each of our 6 bedrooms provide wonderful views of the River Severn, or our newly restored Canal Basin. All rooms are equipped with wide-screen TV’s, walk in WiFi, and private en suite facilities, some with whirl-pool baths.</p>
    <p>All rooms include breakfast the following morning. Breakfast is served between 7.30am-9.30am Monday to Friday and 8.30am-9.45am Saturday and Sunday
    (earlier if required at a supplement of £5 per room per half hour).</p>
    <p>All profits made by The Wharf House are used for the promotion and restoration of the Herefordshire and Gloucestershire Canal Trust.</p>
    </div>
    <div id="left_content">
    <h1 class="leftcontent2">The Wharf House video showcase</h1>
    <div id="youtube">
    <iframe width="380" height="214" src="http://www.youtube.com/embed/f8UT6QJIMfE" frameborder="0" allowfullscreen></iframe>
    </div>
    <p>Take a look inside The Wharf House restaurant and rooms in Over, near Gloucester, with naration from Natasha Turney at the restaurant.</p>
    </div>
    </div>
    <div id="body_container_right">
    <div id="right_content">
    <h1 class="rightcontent">Book your stay</h1>
    <img class="rightcontent" src="Images/right_content_test.png" width="120" height="90" alt="Test" />
    <p>Check availability and book your stay in one of our luxurous individual rooms.</p>
        <div id="right_content_greystrip">
              <p class="right_content_greystrip"><a href="Templates/test.com">Check room availability</a></p>
            <a href="Templates/test.com"><img class="rightbutton" src="Images/right_button.png" width="24" height="24" alt="More" /></a></div>
         </div>
    <div id="right_content">
    <h1 class="rightcontent">Over Canal Festival 2012</h1>
    <img class="rightcontent" src="Images/right_content_test.png" width="120" height="90" alt="Test" />
    <p>Don’t miss the Over Canal Festival on Saturday 1 and Sunday 2 September 2012, featuring Prunella Scales and Timothy West, heritage boat processions, fun on the water, great food and drink, music and lots more!</p>
    </div>
    <div id="right_content">
    <h1 class="rightcontent">Christmas 2012 menus available now</h1>
    <img class="rightcontent" src="Images/right_content_test.png" width="120" height="90" alt="Test" />
    <p>Turkey is banned for another year at The Wharf House, but instead you’ll find a tempting selection of courses sure to please even the pickiest eater in your party. Plus, a buffet menu is also available this festive season.</p>
    </div>
    </div>
    </div>
    </div>
    <div id="top-footer_container_fullwidth">
    <div id="top-footer_container">
    <p class="footertop">The Wharf House, Over, Gloucester, GL2 8DB | 01452 332 900 |<a href="Templates/www.test.com"> [email protected]</a></p>
    </div>
    </div>
    <div id="middle-footer_container_fullwidth">
    <div id="middle-footer_container">
    <div id="middle-footer_container_text">
    <p class="footermiddle">Awards and accolades</p>
    </div>
    <div id="middle-footer_container_awardsaccolades_img"><img src="Images/aa-accommodation-logo.png" alt="AA 4 Star Guest Accommodation" width="63" height="100" class="awardsaccolades" /></div>
    <div id="middle-footer_container_awardsaccolades_img"><img src="Images/aa-restaurant-logo.png" alt="AA Rosette Restaurant" width="64" height="100" class="awardsaccolades" /></div>
    <div id="middle-footer_container_awardsaccolades_img"><img src="Images/green-tourism-silver-logo.png" alt="Silver Green Tourism" width="77" height="100" class="awardsaccolades" /></div>
    <div id="middle-footer_container_text">
      <p class="footermiddle">Social media links</p>
    </div>
    <div id="middle-footer_container_socialmedia_img"><a href="https://www.facebook.com/TheWharfHouse" target="_blank"><img src="Images/facebook-logo.png" alt="Facebook" width="109" height="41" class="socialmedia" /></a></div>
    <div id="middle-footer_container_socialmedia_img"><a href="https://twitter.com/thewharfhouse" target="_blank"><img src="Images/twitter-logo.png" alt="Twitter" width="121" height="41" class="socialmedia" /></a></div>
    </div>
    </div>
    <div id="bottom-footer_container_fullwidth">
    <div id="bottom-footer_container">
    <p class="footerbottom1"><a href="Templates/www.test.com">Home</a>  &#8226;  <a href="Templates/www.test.com">Restaurant</a>  &#8226;  <a href="Templates/www.test.com">Accommodation</a>  &#8226;   <a href="Templates/www.test.com">Online Shop</a>  &#8226;  <a href="Templates/www.test.com">News & Events</a>  &#8226;  <a href="Templates/www.test.com">Functions & Weddings</a>  &#8226;  <a href="Templates/www.test.com">Local Tourism</a>  &#8226;  <a href="Templates/www.test.com">Contact</a></p>
    <p class="footerbottom2">All profits from The Wharf House will be used for the promotion and restoration of the Hereford and Gloucester Canal. &copy; 2012.</p>
    </div>
    </div>
    </body>
    </html>
    @charset "utf-8";
    html {
        min-height: 100%;
        margin-bottom: 1px;
    body {
        background-color: #FFFFFF;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
        margin-right: 0px;
    p {
        font:Arial, Helvetica, sans-serif;
        color: #666666;
        font-size: 14px;
        margin-bottom: 1.2em;
        margin-top: 0em;
        line-height: 1.4em;
        text-align: left;
        font-weight: normal;
        margin-left: 15px;
        margin-right: 15px;
    p.headeraddress {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 15px;
        text-align:left;
        color: #666666;
    p.nav {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 16px;
        color: #FFF;
        text-align:center;
    p.nav a:link {
        color: #FFF;
        text-decoration: none;
    p.nav a:visited {
        text-decoration: none;
        color: #FFF;
    p.nav a:hover {
        color: #FFF;
        text-decoration: underline;
    p.nav a:active {
        color: #FFF;
        text-decoration: underline;
    p.footertop {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 15px;
        text-align:center;
        color: #666666;
    p.footermiddle {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 12px;
        font-style: italic;
        text-align:right;
        color: #666666;
    img.awardsaccolades {
        display: block;
        margin-left: auto;
        margin-right: auto;
    img.socialmedia {
        display: block;
        margin-left: auto;
        margin-right: auto;
    p.footerbottom1 {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 15px;
        text-align:center;
        color: #666666;
    p.footerbottom2 {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 12px;
        font-style: italic;
        text-align:center;
        color: #666666;
    img {
        border: 0px;
    h1.leftcontent1 {
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 24px;
        color: #840000;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 0px;
        font-weight:400;
    h1.leftcontent2 {
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 20px;
        color: #666666;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 10px;
        font-weight:400;
    h1.rightcontent {
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 20px;
        color: #666666;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 10px;
        font-weight:400;
    img.rightcontent {
        float:left;
        margin-left: 15px;
        margin-right: 12px;
    #youtube {
        float:left;
        margin-left: 15px;
        margin-right: 12px;
    hr.leftcontent1 {
      border: 1px;
      width: 520px;
      color: #840000;
      height: 1px;
      margin-left: 15px;
      margin-top: 6px;
    h2 {
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 16px;
        font-style:italic;
        color: #666666;
        margin-top: 0px;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 15px;
        font-weight:400;
    a:link {
        color: #840000;
        text-decoration: none;
    a:visited {
        text-decoration: none;
        color: #840000;
    a:hover {
        color: #840000;
        text-decoration: underline;
    a:active {
        color: #666666;
        text-decoration: underline;
    #logo_address_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color:#F1EACE;
        margin: auto;
        padding-top: 35px;
    #logo_address_container {
        width: 960px;
        height: 74px;
        background-color:#F1EACE;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    #logo_container {
        width: 359px;
        height: 41px;
        float:left;
        padding-left: 20px;
    #address_container {
        width: 561px;
        height: 20px;
        float:left;
        padding-left: 20px;
        margin-top: 14px;
    #nav_container_fullwidth {
        width: 100%;
        float:left;
        background-color:#840000;
        margin: auto;
        padding: 0px;
    #nav_container {
        width: 960px;
        height: 30px;
        background-color:#840000;
        margin-left: auto;
        margin-right: auto;
        padding-top: 6px;
    #header_image_container_fullwidth {
        width: 100%;
        height: 350px;
        float:left;
        background-color:#F1EACE;
        margin: auto;
        padding: 0px;
    #header_image_container {
        width: 1100px;
        height: 100%;
        background-color:#F1EACE;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    #body_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color: #FFF;
        margin: auto;
        padding: 0px;
    #body_container {
        width: 960px;
        height: 800px;
        background-color:#F1EACE;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
        margin-top: 20px;
        margin-bottom: 0px;
    #body_container_left {
        width: 580px;
        background-color:#F1EACE;
        float:left;
        margin-left: 30px;
        margin-top: 30px;
    #body_container_right {
        width: 290px;
        background-color:#F1EACE;
        float:right;
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 30px;
    #left_content {
        width: 580px;
        height: 100%;
        background-color:#FFF;
        box-shadow: 3px 3px 5px #999;
        padding-top: 1px;
        padding-bottom: 8px;
        margin-bottom: 30px;
    #right_content {
        width: 290px;
        height: 100%;
        background-color:#FFF;
        box-shadow: 3px 3px 5px #999;
        padding-top: 1px;
        padding-bottom: 10px;
        margin-bottom: 30px;
    #right_content_greystrip {
        width: 290px;
        height: 24px;
        background-color:#DFDFDF;
        float:left;
    img.rightbutton {
        float:right;
    p.right_content_greystrip {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        text-align:right;
        padding-top: 1px;
        margin-right: 5px;
    p.right_content_greystrip a:link {
        color: #840000;
        text-decoration: none;
    p.right_content_greystrip a:visited {
        text-decoration: none;
        color: #840000;
    p.right_content_greystrip a:hover {
        color: #840000;
        text-decoration: underline;
    p.right_content_greystrip a:active {
        color: #840000;
        text-decoration: underline;
    #top-footer_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color: #E6D69C;
        margin: auto;
        padding: 0px;
        font:Georgia, "Times New Roman", Times, serif;
        padding-top: 20px;
    #top-footer_container {
        width: 960px;
        height: 100%;
        background-color:#E6D69C;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    #middle-footer_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color: #F1EACE;
        margin: auto;
        padding: 0px;
        border-top: 1px solid #840000;
        border-bottom: 1px solid #840000;
        font:Georgia, "Times New Roman", Times, serif;
    #middle-footer_container {
        width: 960px;
        height: 140px;
        background-color:#F1EACE;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    #middle-footer_container_text {
        width: 160px;
        height: 40px;
        margin-left: auto;
        margin-right: auto;
        float: left;
        padding-top: 60px;
    #middle-footer_container_awardsaccolades_img {
        width: 100px;
        height: 100px;
        margin-left: auto;
        margin-right: auto;
        float: left;
        padding-top: 20px;
    #middle-footer_container_socialmedia_img {
        width: 130px;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
        float: left;
        padding-top: 48px;
    #bottom-footer_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color: #E6D69C;
        margin: auto;
        padding: 0px;
        font:Georgia, "Times New Roman", Times, serif;
    #bottom-footer_container {
        width: 960px;
        height: 75px;
        background-color:#E6D69C;
        margin-left: auto;
        margin-right: auto;
        padding-top: 20px;

    Hi osgood_,
    Thanks so much for your generous help - this was hugely useful and much appreciated. I also managed to fix my top query via your overflow: hidden; suggestion too.
    Everything's looking great with the exception of my little ../Images/right_button.png image which isn't showing up for some reason - I ideally want it to be flush over on the right of that greystrip - any ideas?
    Thanks again
    <div id="body_container_right">
    <div id="right_content">
    <h1 class="rightcontent">Book your stay</h1>
    <img class="rightcontent" src="../Images/right_content_test.png" width="120" height="90" alt="Test" />
    <p>Check availability and book your stay in one of our luxurous individual rooms.</p>
        <div id="right_content_greystrip">
    <p class="right_content_greystrip"><a href="../Images/right_button.png"><span>Check room availability</span><img src="Images/right_button.png" width="24" height="24" alt="More" /></a></p>
      </div>
      </div>
    <div id="right_content">
    <h1 class="rightcontent">Over Canal Festival 2012</h1>
    <img class="rightcontent" src="../Images/right_content_test.png" width="120" height="90" alt="Test" />
    <p>Don’t miss the Over Canal Festival on Saturday 1 and Sunday 2 September 2012, featuring Prunella Scales and Timothy West, heritage boat processions, fun on the water, great food and drink, music and lots more!</p>
    </div>
    <div id="right_content">
    <h1 class="rightcontent">Christmas 2012 menus available now</h1>
    <img class="rightcontent" src="../Images/right_content_test.png" width="120" height="90" alt="Test" />
    <p>Turkey is banned for another year at The Wharf House, but instead you’ll find a tempting selection of courses sure to please even the pickiest eater in your party. Plus, a buffet menu is also available this festive season.</p>
    </div>
    </div>
    @charset "utf-8";
    html {
        min-height: 100%;
        margin-bottom: 1px;
    body {
        background-color: #FFFFFF;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
        margin-right: 0px;
    p {
        font:Arial, Helvetica, sans-serif;
        color: #666666;
        font-size: 14px;
        margin-bottom: 1.2em;
        margin-top: 0em;
        line-height: 1.4em;
        text-align: left;
        font-weight: normal;
        margin-left: 15px;
        margin-right: 15px;
    p.headeraddress {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 15px;
        text-align:left;
        color: #666666;
    p.nav {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 16px;
        color: #FFF;
        text-align:center;
    p.nav a:link {
        color: #FFF;
        text-decoration: none;
    p.nav a:visited {
        text-decoration: none;
        color: #FFF;
    p.nav a:hover {
        color: #FFF;
        text-decoration: underline;
    p.nav a:active {
        color: #FFF;
        text-decoration: underline;
    p.footertop {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 15px;
        text-align:center;
        color: #666666;
    p.footermiddle {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 12px;
        font-style: italic;
        text-align:right;
        color: #666666;
    img.awardsaccolades {
        display: block;
        margin-left: auto;
        margin-right: auto;
    img.socialmedia {
        display: block;
        margin-left: auto;
        margin-right: auto;
    p.footerbottom1 {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 15px;
        text-align:center;
        color: #666666;
    p.footerbottom2 {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 12px;
        font-style: italic;
        text-align:center;
        color: #666666;
    img {
        border: 0px;
    h1.leftcontent1 {
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 24px;
        color: #840000;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 0px;
        font-weight:400;
    h1.leftcontent2 {
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 20px;
        color: #666666;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 10px;
        font-weight:400;
    h1.rightcontent {
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 20px;
        color: #666666;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 10px;
        font-weight:400;
    img.rightcontent {
        float:left;
        margin-left: 15px;
        margin-right: 12px;
    #youtube {
        float:left;
        margin-left: 15px;
        margin-right: 12px;
    hr.leftcontent1 {
      border: solid 1px;
      width: 520px;
      color: #840000;
      height: 1px;
      margin-left: 15px;
      margin-top: 6px;
    h2 {
        font:Georgia, "Times New Roman", Times, serif;
        font-size: 16px;
        font-style:italic;
        color: #666666;
        margin-top: 0px;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 15px;
        font-weight:400;
    a:link {
        color: #840000;
        text-decoration: none;
    a:visited {
        text-decoration: none;
        color: #840000;
    a:hover {
        color: #840000;
        text-decoration: underline;
    a:active {
        color: #666666;
        text-decoration: underline;
    #logo_address_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color:#F1EACE;
        margin: auto;
        padding-top: 35px;
    #logo_address_container {
        width: 960px;
        height: 74px;
        background-color:#F1EACE;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    #logo_container {
        width: 359px;
        height: 41px;
        float:left;
        padding-left: 20px;
    #address_container {
        width: 561px;
        height: 20px;
        float:left;
        padding-left: 20px;
        margin-top: 14px;
    #nav_container_fullwidth {
        width: 100%;
        float:left;
        background-color:#840000;
        margin: auto;
        padding: 0px;
    #nav_container {
        width: 960px;
        height: 30px;
        background-color:#840000;
        margin-left: auto;
        margin-right: auto;
        padding-top: 6px;
    #header_image_container_fullwidth {
        width: 100%;
        height: 350px;
        float:left;
        background-color:#F1EACE;
        margin: auto;
        padding: 0px;
    #header_image_container {
        width: 1100px;
        height: 100%;
        background-color:#F1EACE;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    #body_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color: #FFF;
        margin: auto;
        padding: 0px;
    #body_container {
        width: 960px;
        overflow: hidden;
        background-color:#F1EACE;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
        margin-top: 20px;
        margin-bottom: 0px;
    #body_container_left {
        width: 580px;
        background-color:#F1EACE;
        float:left;
        margin-left: 30px;
        margin-top: 30px;
    #body_container_right {
        width: 290px;
        background-color:#F1EACE;
        float:right;
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 30px;
    #left_content {
        width: 580px;
        overflow: hidden;
        background-color:#FFF;
        box-shadow: 3px 3px 5px #999;
        padding-top: 1px;
        padding-bottom: 8px;
        margin-bottom: 30px;
    #right_content {
        width: 290px;
        height: 100%;
        background-color:#FFF;
        box-shadow: 3px 3px 5px #999;
        padding-top: 1px;
        padding-bottom: 10px;
        margin-bottom: 30px;
    #right_content_greystrip {
        width: 290px;
        background-color:#DFDFDF;
        float: left;
    #right_content_greystrip span {
        float: left;
        width: 230px;
        display: block;
        padding: 3px 0 0 0;
    #right_content_greystrip img {
        float: right;
    p.right_content_greystrip {
        margin-bottom: 1.2em;
        margin-top: 0em;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        text-align:right;
        padding-top: 1px;
        margin-right: 5px;
    p.right_content_greystrip a:link {
        color: #840000;
        text-decoration: none;
    p.right_content_greystrip a:visited {
        text-decoration: none;
        color: #840000;
    p.right_content_greystrip a:hover {
        color: #840000;
        text-decoration: underline;
    p.right_content_greystrip a:active {
        color: #840000;
        text-decoration: underline;
    #top-footer_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color: #E6D69C;
        margin: auto;
        padding: 0px;
        font:Georgia, "Times New Roman", Times, serif;
        padding-top: 20px;
    #top-footer_container {
        width: 960px;
        height: 100%;
        background-color:#E6D69C;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    #middle-footer_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color: #F1EACE;
        margin: auto;
        padding: 0px;
        border-top: 1px solid #840000;
        border-bottom: 1px solid #840000;
        font:Georgia, "Times New Roman", Times, serif;
    #middle-footer_container {
        width: 960px;
        height: 140px;
        background-color:#F1EACE;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    #middle-footer_container_text {
        width: 160px;
        height: 40px;
        margin-left: auto;
        margin-right: auto;
        float: left;
        padding-top: 60px;
    #middle-footer_container_awardsaccolades_img {
        width: 100px;
        height: 100px;
        margin-left: auto;
        margin-right: auto;
        float: left;
        padding-top: 20px;
    #middle-footer_container_socialmedia_img {
        width: 130px;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
        float: left;
        padding-top: 48px;
    #bottom-footer_container_fullwidth {
        width: 100%;
        height: 100%;
        float:left;
        background-color: #E6D69C;
        margin: auto;
        padding: 0px;
        font:Georgia, "Times New Roman", Times, serif;
    #bottom-footer_container {
        width: 960px;
        height: 75px;
        background-color:#E6D69C;
        margin-left: auto;
        margin-right: auto;
        padding-top: 20px;

  • A few setup issues

    I recently installed Arch linux and I'm happy to say that I've mostly gotten everything running the way that I want it. Unfortunately there are a few problems that I've been unable to resolve. I'm running an Asus M6Ne with a 64 meg Radeon 9700M video card with the latest arch install on a Gnome Desktop.
    1) The Emerald Window Manager in Compiz Fusion refuses to load: Everything seemed to install properly and there is no error message reported it just doesn't work whenever I enable compiz fusion through fusion-icon. Which leaves a rather interesting effect of windows not having borders/titles when the compiz window manager is enabled.
    2) Gnome-display-manager sometimes refuses to load: once in a while gnome-display manager refuses to load. It may be related to the fact that I tried installing the Ubuntu Human theme and some other themes from AUR. But the themes from AUR don't appear in the appearance panel anyway so I'm not sure if they're the cause.
    3) My vmware virtual machines don't load properly: Whenever I try and run my XP Vmware image I get the error message "Failed to initialize monitor device". I did have some trouble with mkvmdev when I rebooted the system attempting to fix the problem. The Startup log essentially stated that I needed to rerun vmware-config.pl. Although rerunning that script has not solved the issue.
    4) My samba shares refuse to mount on boot: I've tried a number of different ways to get some samba shares automatically mounted on boot. The solution that has had the most success so far is putting the shares into fstab and loading it from there. However, on boot the system complains that the network is unavailable despite netfs being placed after all of the networking components are loaded in /etc/rc.conf. Strange thing is that these same shares mount just fine once the system is up and running and I run mount -a.
    5) Sound doesn't work properly: after running into some issues playing some things with ALSA I decided to try installing pulse audio. It worked well up until a reboot after which mplayer would complain about not being able to find something along the lines of pulse_audio_control (I don't remember the exact error message). Trying to get to the source of the problem I opened sound settings in preferences only to find all of the options blank. This problem persisted for a few reboots until somehow the settings finally remained at what I set them at. However the system still refuses to play sound properly. Currently only mplayer and the startup sounds that I have enabled work. Not even the test button in sound settings works properly. In an attempt to fix this problem I've switched all of the sound settings back to ALSA but the problem persists.
    I've checked the relevent Wiki articles and the forums for hints on how to solve these problems but I've had no luck so far as the relevent info does not seem to be there or the solutions don't seem to correct my situation. Any help would be much appreciated.

    I'd like to report success in getting my samba shares working properly. The cause was a module that was set to load in the background in rc.conf, changing it to normal mode solved the issue. Also, the problem with Gnome-display-manager seems to have disappeared. However I still have not had any luck with Compiz Fusion, and my Vmware virtual machine.
    I have made progress with my sound drivers, it seems that my system is trying to use ALSA when I've set the system to use Pulseaudio. I have not had any luck no matter what I change in the sound settings.

  • Printable PDF and few other issues

    Hello,
    I am using BIEE 11g and experiencing few issues and looking for advices for issues below :
    1. Printable PDF format
    - When i download dashboard and answer to printable PDF, the PDF's format doesnt seem following the format of dashboard. It maintains overall format, but it becomes uneven. And gap between sections and columns of dashboard are quite different with it of dashboard on the screen.
    - Image included inside columns of table for conditions, It looks fine on the dashboard and answer, but it gets misplaced if i download them in PDF or PPT. Sometimes the images are outside the table. However, it works fine with Excel.
    2. Mobile Device Management
    - For addition of new mobile device, I go to Administration => Manage Device Types. When i try to create a new device, it gives me error message saying "This Device Type cannot be deleted/updated as it is a pre-configured system device". Is there anyway i can add new devices?
    3. MS Word. Direct download impossible for dashboard and answer
    - This one is simple. Is it possible to download answer or dashboard directly as MS Word format. I heard that security of MS Office blocks users for direct download.
    Thanks in advance.

    AngM627,  I can imagine how frustrating it must be for you to keep receiving the notification advising you to update your phone software. Do you mind telling me which software version is on your Incredible 2?

  • A few iPod issues (possibly Vista related)

    In the past few weeks, my iPod (80GB 5G) has been acting awfully strange, for a few reasons:
    - When I try to update it, iTunes (v7.0.2) gives me the error: "Attempting to copy to the disk "IPOD" failed. An unknown error occured (-69). On occasion, it appears to update normally, but when I check the iPod's contents, it's missing several hundred songs.
    - When I try to restore the iPod to factory settings with the 'Restore' button, I get the error message "The iPod software update server could not be contacted."
    It seems very possible that these errors are due to the fact that I upgraded to Windows Vista around the time I started noticing these issues. Since the Vista knowledge base doesn't seem to address these specific issues, I'm not fully convinced that this is the case. So...I'm at a loss. Can anyone help me?

    Welcome to Apple Discussions!
    iTunes 7.0.2 does not fully support Windows Vista. For more information about using iTunes with Windows Vista, see the following articles:
    iTunes and Windows Vista: http://docs.info.apple.com/article.html?artnum=305042
    iTunes Repair Tool for Vista 1.0: http://www.apple.com/support/downloads/itunesrepairtoolforvista10.html
    An update to iTunes is expected fairly soon. The next version will natively support Vista.
    About the update server cannot be contacted: that error could be caused by a network setting. See the following article for more information: http://docs.info.apple.com/article.html?artnum=304468. I'm not sure if the windows will look the same in Vista (haven't had a chance to lay hands on it yet...I also have PCs in the house), but it gives you a rough idea. Hope this helps.

  • Skype is having a few connection issues. (Windows ...

    Uhm, I'm pretty sure I have the latest skype, but whenever I've tried to access home for the past few weeks, it  just doesn't do anything, is has an internet issue, same with trying to sign into it with facebook, it has a connection error and says.  
    "Sometimes the internet gets a bit sleepy and takes a nap. Make sure it’s up and running then we’ll give it another go."
    The thing is, my internet is fine, I can sign into skype, but I can't access home, or try to sign in with my Facebook.

    What is the version of Internet Explorer installed on your computer?
    In Internet Explorer go to Help -> About Internet Explorer.
    What do you see when you open this link in your Internet Explorer?
    https://apps.skype.com/home/
    P.S. Please, don’t say that you are not using Internet Explorer. This is irrelevant. Skype depends on Internet Explorer.

  • Formatter issue

    I have a strange issue at hand. I am trying to apply a formatter to format date to one of the fields but the formatter function never gets invoked.
    I tried with XMl and JS views but non of them seems to work is there any trick I am missing.
    I am also using lazy loading because I thought eager loding of views might be issue but no use.
    Here is code in contention
    var oTemplate = new sap.m.ColumnListItem({
      type:"Navigation",
      press:oController.handleProjectSelected,
      cells:[
            new sap.m.ObjectIdentifier({title:"{displayName}"}),
            new sap.m.Text({
            path:"creationDate",
            formatter:"util.Formatter.date"
            new sap.m.Label({
            text:"{creatorUserName}"
            new sap.m.Text({
            path:"lastDataUpdateDate",
            formatter:"util.Formatter.date"
    //Same for XML view
    <ColumnListItem
      type="Navigation"
      press="handleProjectSelected">
      <cells>
      <ObjectIdentifier title="{displayName}"/>
      <Text text="{
      path:'creationDate',
      formatter:'util.Formatter.date'
      }"/>
      <Text text="{creatorUserName}"/>
      <Text text="{
      path:'lastDataUpdateDate',
      formatter:'util.Formatter.date'
      }"/>
      </cells>
      <customData>
      <core:CustomData
      key="target"
      value="Project"/>
      </customData>
      </ColumnListItem>
    Here is Formatter code it never gets invoked
    jQuery.sap.declare("util.Formatter");
    jQuery.sap.require("sap.ui.core.format.DateFormat");
    util.Formatter = {
      date : function (value) {
      if (value) {
      var oDateFormat = sap.ui.core.format.DateFormat.getDateTimeInstance({pattern: "yyyy-MM-dd"});
      return oDateFormat.format(new Date(value));
      } else {
      return value;

    Hi,
    Since you can specify a formatter for basically any attribute, you should also specify for which attribute you want tho use a formatter.
    For instance, the following code uses a formatter for both 'text' and 'valueState' properties:
    var oTV = new sap.ui.commons.TextView({
        text: {
            parts: ["mydatefield"],
            formatter: function(oValue) {
                if (oValue != undefined) {
                    var yyyy = oValue.getFullYear().toString();
                    var mm = (oValue.getMonth() + 1).toString(); // getMonth() is zero-based        
                    var dd = oValue.getDate().toString();
                    return yyyy + '/' + (mm[1] ? mm : "0" + mm[0]) + '/' + (dd[1] ? dd : "0" + dd[0]);
                } else return "";
        valueState: {
            parts: ["mydatefield"],
            formatter: function(oValue) {
                return (oValue === undefined || oValue == null) ? sap.ui.core.ValueState.Error : sap.ui.core.ValueState.None;
    Hope this explains!
    R.

  • A few Eris issues

    On my second Eris.  Love the droid format, usability but as I said I'm on my second.  Previous one couldn't hold a call in my home - 38 day owned so I got the "like new replacement".  Replacement seems faster, but dropped a few calls again.  I'm trying to find all the clitches prior to the 30 day return of this baby before I get stuck again.  Along with the phone call issues the last one kept forgetting the defaut home, kept asking me what I wanted to do when I pushed the home key (so annoying), kept dropping "favoirite" people and lost pictures.  This one seems to delay calling people.... I push, I wait, sometimes connects, sometimes doesn't and I hold the phone up to my ear and then wonder why it's not going through then realize I didn't feel the vibrate.  And here's another odd thing - went to download FB for android and it says FB for nexus one?  Is this one bad too or are there just things on the Eris that need to be lived with?
    I went with Verizon because we do live in an area that reception has always been a bit of an issue.  None of the phone we currently own, except my Eris, has an trouble now.  I previously had an LG Dare that worked like a charm, but thought I needed to upgrade.  Would the LG Ally get better service?  Was going BlackBerry, but was talked into the droid format ("much better 3G experience"). They made offer at Verizon that if I was still having problems to swap me out to a different device.  I like the Verizon network - won't leave, but also don't want to be stuck with a phone that can't be used as a phone.
    Any suggestions?

    "Much better 3G experience" sounds like a salesman trying to make a sale.  I had one salesman in a store tell me that a certain Verizon phone didn't have 3G but this other (more expensive) one would.... Verizon customer support on the phone was very upset about that.  The Android Ally is comparable to the IPhone and is generally a good phone, but it has some bugs to work out.
    You won't know what your experience is until you try it and then make a decision within the return policy about whether it works or not.  I'm having trouble with dropped calls, there is a trouble ticket out to see if there is a specific reason for it.  My personal preference is Blackberry all the way, but I don't like the new Blackberry models on the Verizon market - particularly the Bold.  For one reason, I have difficulty seeing the red numbers and my husband is color blind and cannot see the numbers at all.  
    I'm on my second new phone too (previous Bold) so I have to decide this week if I am going to stick with it or not.

  • A few small issues I can't find fixes for

    Hi everyone, I've been using arch for a little bit now and really enjoying the experience. I have run across 3 small problems and other than that everything thing seems to be running flawlessly. I'd appreciate any help with these, and thanks in advance. I have googled trying to find solutions and searched the wiki but either none of the issues were listed or the fixes for them didn't seem to have an effect, but if I missed something sorry, just if you want to point me in the right direction that'd be appreciated.
    So some specifics about my system first, I'm running on arch linux 64bit using KDE as my desktop environment.
    Okay so problem number 1:
    Sometimes when arch goes to boot it fails to mount /dev/sda2 which is my root partition, This doesn't happen everytime but I'd say 50 or 60 percent of the time, but when it does I give it a restart once or twice and it loads into arch just fine. I can restart my computer if anyone wants the exact wording I get, but it goes along the lines of "failed to mount /dev/sda2 you are now being dropped in to a recovery shell" Now I'm not sure but this might be because of the weird way I set the harddrive partitions up, but it worked in all the distros I used before settling on arch, but to give you an idea, I'm using 2 300gb hard drives, I have them split so that 1 hard drive is completely devoted to my / and /boot partitions, the other one has /usr /tmp /var and swap on it. In addition I have a 1tb drive for storage that is devoted to /home. If it is causing the problem and I have to reformat and go to a more conventional partition scheme I will, but I'd prefer to avoid that if at all possible, just because I am rather settled in to this install.
    Problem number 2:
    Amarok takes forever and a day to load, somewhere in the area of 60+ seconds, when I start it via the terminal I get this output:
    KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
    (amarok:19322): GStreamer-CRITICAL **: gst_debug_add_log_function: assertion `func != NULL' failed
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
    amarok(19322)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
    amarok(19322)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
    amarok(19322)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
    amarok(19322)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "Amarok Script Console"
    amarok(19322)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "LyricWiki"
    amarok(19322)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "Cool Streams"
    amarok(19322)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "Librivox.org"
    ** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: **
    ** amarok --debug                                                                           **
    I thought maybe it was the gstreamer backend because the wiki said it might cause problems and to try using xine instead. However doing this didn't seem to help at all.
    Problem number 3
    Flash is all weird when I use Kwin, when I use compiz it works near flawlessly but my issue with that is then kde doesn't act nearly as smooth as it does without compiz. When I use flashplugin from the repos I can't go fullscreen because it makes everything freeze up, and when I try flashplugin-prerelease from the aur flash is always in the spot where it loaded meaning if I change tabs in firefox it goes through the other tab and if I scroll it stays stationary and everything else scrolls behind it.
    Again I apologize if I missed it in the searches that I ran and these have been solved elsewhere, but thanks in advance for all help given.
    Edit: Installing pulseaudio and using that instead of alsa seems to have fixed amarok starting slowly.
    Last edited by Sinner (2011-03-26 05:05:57)

    milomouse wrote:Maybe you should use UUIDs instead of /dev/sd* to avoid any possible device confusion (type 'blkid' to see your UUIDs), though from your first post about "cannot mount /dev/sda2" it still appears to check for root device correctly.  At any rate, in your grub or lilo or syslinux (whatever bootloader you have) config you could also change root=/dev/sda2 to root=/dev/disk/by-uuid/YOURROOTUUID (however your bootloader can handle it) to help further reduce possible errors.  (helpful link: https://wiki.archlinux.org/index.php/Pe … ice_naming )  Trying to think of what else it could be since it only happens every now and then, which is a little strange.
    Oh my bad I forgot to say I'm using grub, but yeah I went through and did that, That seemed to stop me being loaded into a recovery shell or whatever, but when arch started to boot about 2 out of the 5 times I restarted to test it, it said file systems didn't check and had my log in as root to try to remount the partition. Also I got a COMERROR=-32 after which it said it was doing a comreset and would retry in 8 seconds after doing that 3 times it booted almost every time unless it ran into the filesystem check.
    Last edited by Sinner (2011-03-25 16:29:32)

  • Time Machine Disk - A few 'minor issues'

    Hi All, (note not all caps
    I've had some issues with macs or another over the past week but to cut a long story short, the one that had a 'logic board' issue starting booting up so I took the chance to re-install leopard, but, during the calculating phase when restoring from Time machine the system froze....since then my time machine disk can't be mounted or read in anyway. This is my only backup and contains just about every single movie and picture of my kids from day of birth so...I assume that the many data recovery apps out there would do the trick? or failing that does anybody have any recommendations or actions i could take without spending out too much?
    Thanks all

    hello again, got a copy of boomerang which seems to have listed most if not all files for recovery, so this begs another question, does anybody here know or if speak to apple, do you think it's possible to do a manual restore as it were? I can see all files so can I effectively drag and drop from the disk to the new mac so keeping most of my apps and settings? I guess what would be cracking would be to find out if I could copy the contents to another disk and effectively make a proper time machine disk from the recovered one...which incidently was never erased just fails to mount.
    Any pointers gratefuly received.

  • Re: mixed up on few java issues

    What is java SDK?
    Also I have installed a few versions of JDK, each time upgrading from older one because I was given older versions when I first started on java.
    Now I have a few version on the computer, how do I find out which version I am using?

    SDK = Software Development Kit
    JDK is the basic Java SDK.
    To find out the version you're using (assuming you've installed JDK correctly) type the following at a command prompt:
    java -version
    Welcome to Java. Read the Java Tutorial on this site. Buy Core Java, Volume 1 - Fundamentals.
    Ask questions when you're really stuck, i.e. you've already tried to find the answer for yourself on the web and by looking in books.

  • EA2: Formatter issues

    1) Formatter in the worksheet doesn't leave a blank line between sql statements.
    If you have several statements in worksheet and format them, they are all formatted as one with no gap between them.
    2) You can't just format the selection. If I select a statement and format, the whole worksheet is formatted.
    3) It doesn't handle syntax errors.
    I think the formatter should detect and report syntax errors (it is a parser after all).
    In my worksheet, one of the statements had a syntax error (semi colon inside the parentheses of a sub-query instead of outside), and later statements in the worksheet are indented relative to the statement with the error. AFAICS, the subsequent statements are formatted correctly, but the left margin isn't reset after the error statement.

    I agree with smitjb's statements. The formatter has other flaws as well like:
    1) Columns and tables are simply indented based on the indentation setting rather than left aligned 1 space after the leading SELECT
    2) [INNER, LEFT, RIGHT, FULL [OUTER]] JOIN statements are not right aligned with the select key word the same was as the FROM and WHERE key words
    3) GROUP BY and ORDER BY are not aligned with the SELECT key word on the space between GROUP/ORDER and BY, alternatively, the SELECT, FROM and WHERE key words are not indented suffciently to right align with the BY key word.
    Setting the formatter indent to 8 cause columns and table to line up 1 space to the right of the SELECT statement, but then nesting of PL/SQL statements shifts to the right very quickly. Perhaps these could be separate indents.
    Selecting the option to have a line break follow select from and where statements is not preserved so is not honored.

Maybe you are looking for