<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Frau Klein</title>
	<atom:link href="http://blog.frau-klein.org/feed/?cat=-10" rel="self" type="application/rss+xml" />
	<link>http://blog.frau-klein.org</link>
	<description>Real Life Enthusiast. Business Traveler. Internet User.</description>
	<lastBuildDate>Sun, 27 Jan 2013 15:49:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Successfully Upgrading Vista to Windows 8 after starting with &#8220;Internal Error: Error retrieving the scan report&#8221;</title>
		<link>http://blog.frau-klein.org/2013/01/successfully-upgrading-vista-to-windows-8-after-starting-with-internal-error-error-retrieving-the-scan-report/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=successfully-upgrading-vista-to-windows-8-after-starting-with-internal-error-error-retrieving-the-scan-report</link>
		<comments>http://blog.frau-klein.org/2013/01/successfully-upgrading-vista-to-windows-8-after-starting-with-internal-error-error-retrieving-the-scan-report/#comments</comments>
		<pubDate>Sun, 27 Jan 2013 15:49:09 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[tech talk]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[win8]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36329</guid>
		<description><![CDATA[&#160; Since yesterday I am upgrading my 5y old Dell XPS M1740 laptop from Windows Vista to Windows 8 Pro. Vista made me not using Windows anymore; the machine mainly collected dust in the past years since I stopped gaming. Recently I enjoyed the metro UI on my Windows Phone 7, so I decided to <a href='http://blog.frau-klein.org/2013/01/successfully-upgrading-vista-to-windows-8-after-starting-with-internal-error-error-retrieving-the-scan-report/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Since yesterday I am upgrading my 5y old Dell XPS M1740 laptop from Windows Vista to Windows 8 Pro. Vista made me not using Windows anymore; the machine mainly collected dust in the past years since I stopped gaming. Recently I enjoyed the metro UI on my Windows Phone 7, so I decided to give Windows 8 a try to see what all the fuzz is about. Thankfully the machine just about fits minimum requirements for Windows 8.&nbsp;</p>
<p>I thought upgrading is going to be simple, I just needed to download the Windows 8 Upgrade Assistant and things will go smoothly. &#8230; not quite, it&#8217;s now 24h later and I am just about done. I did undergo a lot of pain as i kept getting an error message during verification of my machine. The exact error message was: <em>Windows 8 Upgrade Assistant: Internal Error: Error retrieving the scan report</em>. No further information, details or anything. Thankfully there was google, but most pages I found were suffering people left in confusion about this error, pointing out custom tools, configurations etc might be the cause and some systems just aren&#8217;t upgradable.&nbsp;</p>
<p>Despite that depressing search results I didn&#8217;t give up but stubbornly attempted to somehow make my system upgradable. After all .. it is just a bunch of software, so why should it be impossible? I read a bit and got even more depressed, because there were lots of indications that customizations of any kind might be preventing Windows Vista from being upgradable. I haven&#8217;t used the laptop in the past 3 years, so how could I possibly remember what I had done back then &#8211; especially as I mainly used MacOS and CentOS in the past 3 years and forgot most about Windows?</p>
<p>Anyways, back to the upgrade procedure. It involved a lot of swearing and I also dug quite a bit around in the internet. First I had to find out where the damn log file was located that might indicate what errors occured: The file <strong>setuperr.log</strong> is located in a <em>hidden</em> directory under the user&#8217;s home directory in <strong>AppData/Local/Microsoft/WebSetup/Panther</strong>.</p>
<p>In my case It only contained 3 lines:</p>
<blockquote><p>2013-01-26 23:33:59, Error &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CONX &nbsp; [PerformTransform] [0x8007007e] Transform node failed.</p>
<p>2013-01-26 23:33:59, Error &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CONX &nbsp; [CreateReport] [0x8007007e] Failed transforming report.</p>
<p>2013-01-26 23:33:59, Error &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CONX &nbsp; Failed to retrieve the HTML report from the compatibility controller. HRESULT = 0x8007007e.</p>
</blockquote>
<p>So the report assembly failed, nothing else seemed to be wrong with my system. Following ip on the particular error code let nowhere helpful. I resembled all my partial knowledge about pains of windows and decided to follow this path:</p>
<ul>
<li><strong>Windows Upgrade &#8211; the solution to everything</strong>: I started with performing a&nbsp;<em>Windows Update:</em>&nbsp;as I hadn&#8217;t done one since early 2009. 108 updates were found and installed over a couple of hours, 2 failed to be installed, so I ran it again, also Microsoft Securiyt Essentials and Microsoft Windows Essentials failed too in the first attempts (ironically because another install program was running &#8211; Windows Update.. d&#8217;oh). So I installed them manually, rebooted and tried to run the Windows Upgrade Assistant again. The error still occured.</li>
<li><strong>Cleaning up the system</strong>: I uninstalled all software i don&#8217;t need anymore or where I didn&#8217;t remember what it was for. As I read in a post that it was suggested to remove Microsoft Office 2013 Preview, I decided to uninstall the Microsoft Power Point 2007 viewer (I&#8217;m working long enough with computers to not apply logic anymore..). It turned out the PPT Preview Install as corrupted and I couldn&#8217;t uninstall it. I found this <a href="http://support.microsoft.com/kb/928218" target="_blank">Microsoft knowledge base article</a>&nbsp;that helped on the deinstallation, sadly that didnt solve the problem either, Windows 8 upgrade assistent still failed the same error.</li>
<li><strong>Asking google about Vista update errors</strong>: So I searched again for Windows Vista Upgrade issues, and found <a href="http://support.microsoft.com/kb/947821" target="_blank">another knowledge base article</a>. I installed the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=504" target="_blank">System Update Readiness Tool for Windows Vista</a>. Not too much to my surprise it&nbsp;didn&#8217;t solve the problem either.</li>
<li><strong>Reaching desparation &#8211; Just fix it</strong>: Pretty close to giving up I just searched how to fix a corrupted windows installation and found <a href="http://support.microsoft.com/fixit" target="_blank">Microsoft fix.it</a>. I selected as problem <em>Install or upgrade hardware or software</em>&nbsp;and selected <em>Fix the problem with Microsoft Windows Update that is not working.</em> It found a problem and repaired it. I restarted the upgrade assistant and the problem was gone!</li>
</ul>
<p>So&#8230; either the last step or the combination of all of the above fixed it!</p>
<p>Then windows update was asking me what kind of data i want to keep. Just to be sure that I my data is save I tried to upload it to <a href="http://mega.co.nz" target="_blank">mega</a>&nbsp;this failed as well as the upload speed for a 16GB archive was not sufficient, I ended up copying everything to an external hard drive and then proceeded with the upgrade procedure. After patiently watching progress bars for more than 1h I see now the start up screen about customizing Windows 8. Yeah!&nbsp;</p>
<div></div>
<p>&nbsp;</p>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36329&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/how-to/" title="how-to" rel="tag">how-to</a>, <a href="http://blog.frau-klein.org/tag/troubleshooting/" title="troubleshooting" rel="tag">troubleshooting</a>, <a href="http://blog.frau-klein.org/tag/upgrade/" title="upgrade" rel="tag">upgrade</a>, <a href="http://blog.frau-klein.org/tag/vista/" title="vista" rel="tag">vista</a>, <a href="http://blog.frau-klein.org/tag/win8/" title="win8" rel="tag">win8</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2013/01/successfully-upgrading-vista-to-windows-8-after-starting-with-internal-error-error-retrieving-the-scan-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing mails: How a secondary inbox increases efficiency</title>
		<link>http://blog.frau-klein.org/2013/01/managing-mails-how-a-secondary-inbox-increases-efficiency/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=managing-mails-how-a-secondary-inbox-increases-efficiency</link>
		<comments>http://blog.frau-klein.org/2013/01/managing-mails-how-a-secondary-inbox-increases-efficiency/#comments</comments>
		<pubDate>Thu, 10 Jan 2013 12:12:55 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[life hacking]]></category>
		<category><![CDATA[tech talk]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[lifehacker]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[organization]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36327</guid>
		<description><![CDATA[I hate distractions while I am at work &#8211; especially those which come by mail. For some reasons I get over hundred mails a day &#8211; notifications, internal and external mailing lists, group mailings, gigantic discussions via mail threads and important mails directed to me or my team. As I work in a cross function <a href='http://blog.frau-klein.org/2013/01/managing-mails-how-a-secondary-inbox-increases-efficiency/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I hate distractions while I am at work &#8211; especially those which come by mail. For some reasons I get over hundred mails a day &#8211; notifications, internal and external mailing lists, group mailings, gigantic discussions via mail threads and important mails directed to me or my team.</p>
<p>As I work in a cross function for the engineering team and have to respond to developer issues in an appropriate time I keep a close eye on my inbox. Concepts like checking mails only to specified times or not at all during the day don&#8217;t apply to my work flows, filtering mails into various sub folders makes them forgotten or unseen as I actually want to read all the mail &#8211; just not all the time.&nbsp;</p>
<p>These days my mailbox contains these folders:</p>
<ul>
<li><strong>Inbox</strong>: I usually try to keep the total number of mails in there below 100, only mails I have to follow up on or that are related to future events or where I am waiting for response in a mail thread are in there.&nbsp;I have notifications for my inbox active as I want to be notified if there is an important mail.&nbsp;Up until this Monday I got all the clutter of updates, mailing lists etc. in there too which was pretty distracting.&nbsp;</li>
<li>Now what I have setup now is a new&nbsp;<strong><em>secondary inbox</em></strong>&nbsp;and a filter that filters all those mails I don&#8217;t need to pay attention in-time. The filters are defined conservatively to ensure that I won&#8217;t miss an important mail. The immediate effect is that I got less than 20 new mails in my Inbox over night, 40 more I found in the secondary inbox.</li>
<li><strong>{Notifications}</strong>: There are a few tools and platforms I receive notification mails from I can&#8217;t configure so all status updates about <em>everything is fine</em> go directly in there &#8211; I couldn&#8217;t care less about. I only worry about <em>something went wrong</em> which stays in my inbox.</li>
<li><strong>{Projects} + subfolder</strong>: contain mails related to certain projects and initiatives I am working on. &nbsp;</li>
<li><strong>{tech mailing list}</strong>: all mails to an internal mailing list &#8211; a very valuable source of information which I regularly use to look for answers as I usually remember having seen a related question before, but I never seem to remember the answer.</li>
<li><strong>Unsorted</strong>: all other mail that is either unrelevant, resolved or any other information. I used to have a much finer granulation, but at the end I don&#8217;t really care about threads that are out of date and hence I don&#8217;t need to make the effort to sort them.&nbsp;&nbsp;</li>
</ul>
<p>This might be common sense, but years of creating massive filters, creating no filters, having smart mailboxes, reading about suggested workflows I never found a solution tailored to my needs. Now it&#8217;s simple: I check the inbox as soon as I got the notification of a new mail, I check the secondary inbox 2-3 times a day.</p>
<p>Btw, while writing this I noticed that <em>Gmail</em> actually tries to do something similar with the <em>Priority Inbox</em> which seems to be the reverse approach of the above.&nbsp;</p>
<p>For my private mails I took a different approach a while ago. For private mails I use Gmail which comes with a different set of features than the chosen mail server of my company. In the past I had a lot of subfolders, rules and configurations which ended up in a massive inbox with over 10.000 unread mails, tons of unread mail in other folders and I never really noticed if I had new mails or not and where they ended up. So one day I archived all mail and marked it as read disregarding if there was something I wanted to follow up or not and started with a <em>clean</em> Inbox &#8211; 0 mails. I removed all filters: all mail to my private mailbox gets delivered to my inbox, I delete it, read it and/or either archive it straight away, answer it or leave it for follow up. Goal here is to have less than 20 mails in the inbox and to have a clear overview of whom I owe an answer.</p>
<p>So long story short: <strong>Simplicity rules, automated filters and folders suck.</strong></p>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36327&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/communication/" title="communication" rel="tag">communication</a>, <a href="http://blog.frau-klein.org/tag/how-to/" title="how-to" rel="tag">how-to</a>, <a href="http://blog.frau-klein.org/tag/lifehacker/" title="lifehacker" rel="tag">lifehacker</a>, <a href="http://blog.frau-klein.org/tag/mail/" title="mail" rel="tag">mail</a>, <a href="http://blog.frau-klein.org/tag/organization/" title="organization" rel="tag">organization</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2013/01/managing-mails-how-a-secondary-inbox-increases-efficiency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Internal Machines</title>
		<link>http://blog.frau-klein.org/2012/10/monitoring-internal-machines/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=monitoring-internal-machines</link>
		<comments>http://blog.frau-klein.org/2012/10/monitoring-internal-machines/#comments</comments>
		<pubDate>Mon, 01 Oct 2012 14:30:51 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[MacPassion]]></category>
		<category><![CDATA[tech talk]]></category>
		<category><![CDATA[availability]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[uptime]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36325</guid>
		<description><![CDATA[Overview Due to some server outages I was looking for a tool that monitors internal and external web application on servers. The outtages were random, ping worked, web access to the installed applications didn&#8217;t work. The applications reported no interruptions, so it must be a network related issue. To report something more specific than &#8216;flaky <a href='http://blog.frau-klein.org/2012/10/monitoring-internal-machines/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p class="p1"><strong>Overview</strong></p>
<p class="p2">Due to some server outages I was looking for a tool that monitors internal and external web application on servers. The outtages were random, ping worked, web access to the installed applications didn&#8217;t work. The applications reported no interruptions, so it must be a network related issue. To report something more specific than &#8216;flaky access&#8217; I wanted to get some more detailed records from my local machine. I looked around, didn&#8217;t find a tool at all, looked closer, found nagios, javamelody and other overkills, none of them really fit the purpose. The tool I have chosen is <a href="http://postgresql/"><span class="s1">uptime</span></a>.</p>
<p class="p1"><strong>The Tool: Uptime</strong></p>
<p class="p1">Perfect little tool, after installation it requires to be started and then it works. I just added the sites I wanted to monitor. The best description of how to install and use it is this video:&nbsp;<a href="http://vimeo.com/39302164" target="_blank">http://vimeo.com/39302164</a>&nbsp;If you run into issues, see below.</p>
<p class="p1">
<p class="p1"><strong>Installation</strong></p>
<p class="p1">I ran into a couple of issues during installation:</p>
<ul>
<li>I hadn&#8217;t <em>npm</em> installed</li>
<li>I had a version <em>boost</em> installed too new for <em>mongodb</em>. I had to downgrade it first, details <a href="https://trac.macports.org/ticket/35118" target="_blank">here</a>.</li>
<li>Mac Ports fails to compile if the port shall be installed from a volume that contains spaces (<em>Macintosh HD 2</em> fails as install resource,&nbsp;<em>Macintosh HD</em> doesn&#8217;t)</li>
</ul>
<p class="p1">Finally I installed it to my mac environment, below the (cleaned up) commands:</p>
</p>
<p class="p3">&nbsp;</p>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="td1" valign="baseline">
<blockquote>
<p class="p4"><span style="font-family: 'courier new', courier; font-size: x-small;">#downgrade boost</span></p>
<p class="p4"><span style="font-family: 'courier new', courier; font-size: x-small;">&nbsp;</span><span class="s2" style="font-family: 'courier new', courier; font-size: x-small;">cd</span><span style="font-family: 'courier new', courier; font-size: x-small;"> /tmp</span></p>
<p class="p6"><span style="font-family: 'courier new', courier; font-size: x-small;"><span class="s3">svn co&nbsp; -r 93341 </span>&#8216;<a href="http://svn.macports.org/repository/macports/trunk/dports/devel/boost/'"><span class="s4">http://svn.macports.org/repository/macports/trunk/dports/devel/boost/&#8217;</span></a></span></p>
<p class="p5"><span style="font-family: 'courier new', courier; font-size: x-small;"><span class="s2">cd</span> boost</span></p>
<p class="p7"><span style="font-family: 'courier new', courier; font-size: x-small;">sudo<span class="s3"> port </span>install</span></p>
<p class="p5"><span style="font-family: 'courier new', courier; font-size: x-small;"><span class="s2">sudo</span> port activate boost @1.49.0_0</span></p>
<p class="p5">&nbsp;</p>
<p class="p4"><span style="font-family: 'courier new', courier; font-size: x-small;">#install and start mongodb</span></p>
<p class="p5"><span style="font-family: 'courier new', courier; font-size: x-small;"><span class="s2">sudo</span> port <span class="s2">install</span> mongodb</span></p>
<p class="p5"><span style="font-family: 'courier new', courier; font-size: x-small;"><span class="s2">sudo</span> port load mongodb</span></p>
<p class="p5">&nbsp;</p>
<p class="p5"><span style="font-family: 'courier new', courier; font-size: x-small;">#install npm</span></p>
<p class="p7"><span style="font-family: 'courier new', courier; font-size: x-small;">sudo<span class="s3"> port </span>install<span class="s3"> npm</span></span></p>
<p class="p5">&nbsp;</p>
<p class="p4"><span style="font-family: 'courier new', courier; font-size: x-small;">#get uptime</span></p>
<p class="p5"><span style="font-family: 'courier new', courier; font-size: x-small;"><span class="s2">cd</span> ~/repo/github</span></p>
<p class="p5"><span style="font-family: 'courier new', courier; font-size: x-small;">git clone git://github.com/fzaninotto/uptime.git</span></p>
<p class="p7"><span style="font-family: 'courier new', courier; font-size: x-small;"><span class="s3">npm </span>install</span></p>
<p class="p5"><span style="font-family: 'courier new', courier; font-size: x-small;">node app.js</span></p>
</blockquote>
</td>
</tr>
</tbody>
</table>
<blockquote></blockquote>
<p class="p1"><strong>Monitors</strong></p>
<p class="p2">So far I added all desired machines for monitoring, interval is set to 15s.</p>
<ul class="ul1"></ul>
<p class="p2">As reference I also added google to exclude events if&nbsp;my line isn&#8217;t working.</p>
<ul class="ul1"></ul>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36325&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/availability/" title="availability" rel="tag">availability</a>, <a href="http://blog.frau-klein.org/tag/how-to/" title="how-to" rel="tag">how-to</a>, <a href="http://blog.frau-klein.org/tag/monitoring/" title="monitoring" rel="tag">monitoring</a>, <a href="http://blog.frau-klein.org/tag/tool/" title="tool" rel="tag">tool</a>, <a href="http://blog.frau-klein.org/tag/uptime/" title="uptime" rel="tag">uptime</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2012/10/monitoring-internal-machines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Day with Postgres</title>
		<link>http://blog.frau-klein.org/2012/08/my-first-day-with-postgres/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-first-day-with-postgres</link>
		<comments>http://blog.frau-klein.org/2012/08/my-first-day-with-postgres/#comments</comments>
		<pubDate>Fri, 24 Aug 2012 16:36:03 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[tech talk]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36323</guid>
		<description><![CDATA[I&#8217;m usually using mysql, today for a test i had to use Postgres. I&#8217;m fairly happy how smooth everything went, as it was mainly verifying a database creation and setup. Here the little things I needed to do. download and install Postgres.app. I won&#8217;t use postgres regularly and I don&#8217;t want to have it autostarting <a href='http://blog.frau-klein.org/2012/08/my-first-day-with-postgres/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m usually using mysql, today for a test i had to use Postgres. I&#8217;m fairly happy how smooth everything went, as it was mainly verifying a database creation and setup. Here the little things I needed to do.</p>
<ul>
<li>download and install <a href="http://www.postgresql.org/download/macosx/" target="_blank">Postgres.app</a>. I won&#8217;t use postgres regularly and I don&#8217;t want to have it autostarting or deeply integrated in my system.&nbsp;</li>
<li>add postgress path to <em>~/.profile</em>, all you need is&nbsp;<em>export PATH=/Applications/Postgres.app/Contents/MacOS/bin:$PATH</em>. Otherwise an older, macos-native postgres client will be used.</li>
<li>open postgres console from terminal using<em> psql -h localhost</em></li>
<li>create user<em>&nbsp;create user &lt;usr&gt; WITH password &#8216;&lt;pwd&gt;&#8217; CREATEDB</em>;</li>
<li>make user super user<em>&nbsp;alter user &lt;usr&gt; with superuser;</em></li>
<li>list existing databases<em> \list</em></li>
<li>drop a database&nbsp;<em>drop database &lt;db&gt;;</em>
<ul>
<li>in case of error: <em>&#8220;ERROR: &nbsp;database &#8220;<em>&lt;db&gt;</em>&#8221; is being accessed by other users&#8221;</em></li>
<li>run<em>&nbsp;select procpid from pg_stat_activity where datname=&#8217;<em>&lt;db&gt;</em>&#8216;;</em> to get a list of process ids that are accessing the database.</li>
<li>in terminal run <em>kill &lt;pid&gt; </em>for all processes out of the list provided by the statement above</li>
</ul>
</li>
<li>exit postgres console with <em>\q</em>.</li>
</ul>
<p>This is all I need for my <strong>test</strong> environment.</p>
<p>&nbsp;</p>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36323&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/database/" title="database" rel="tag">database</a>, <a href="http://blog.frau-klein.org/tag/how-to/" title="how-to" rel="tag">how-to</a>, <a href="http://blog.frau-klein.org/tag/mac/" title="mac" rel="tag">mac</a>, <a href="http://blog.frau-klein.org/tag/postgres/" title="postgres" rel="tag">postgres</a>, <a href="http://blog.frau-klein.org/tag/test/" title="test" rel="tag">test</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2012/08/my-first-day-with-postgres/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Finder &#8211; Preview any text file</title>
		<link>http://blog.frau-klein.org/2012/08/mac-finder-preview-any-text-file/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mac-finder-preview-any-text-file</link>
		<comments>http://blog.frau-klein.org/2012/08/mac-finder-preview-any-text-file/#comments</comments>
		<pubDate>Thu, 16 Aug 2012 13:39:56 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[MacPassion]]></category>
		<category><![CDATA[tech talk]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[quick look]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36321</guid>
		<description><![CDATA[Following up my previous post I also want to see the contents of any text file in preview without opening an editor. I found this page with lots of quicklook plugins: QLPlugins.com. One of the plugins there is QLStephen. Download it, mount it, then open Terminal and run: &#160; sudo cp -R /Volumes/QLStephen_1/QLStephen.qlgenerator /Library/QuickLook/ qlmanage <a href='http://blog.frau-klein.org/2012/08/mac-finder-preview-any-text-file/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Following up my previous post I also want to see the contents of any text file in preview without opening an editor.</p>
<p>I found this page with lots of quicklook plugins: <a href="http://www.qlplugins.com" target="_blank">QLPlugins.com</a>. One of the plugins there is QLStephen. Download it, mount it, then open Terminal and run:</p>
<blockquote><p>&nbsp;</p>
<p>sudo cp -R /Volumes/QLStephen_1/QLStephen.qlgenerator /Library/QuickLook/</p>
<p>qlmanage -r</p>
<p>&nbsp;</p>
</blockquote>
<p>Result: Manifest.MF is now previewed in Finder and I don&#8217;t need to open a text editor anymore.</p>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36321&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/finder/" title="finder" rel="tag">finder</a>, <a href="http://blog.frau-klein.org/tag/how-to/" title="how-to" rel="tag">how-to</a>, <a href="http://blog.frau-klein.org/tag/mac/" title="mac" rel="tag">mac</a>, <a href="http://blog.frau-klein.org/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://blog.frau-klein.org/tag/preview/" title="preview" rel="tag">preview</a>, <a href="http://blog.frau-klein.org/tag/quick-look/" title="quick look" rel="tag">quick look</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2012/08/mac-finder-preview-any-text-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Finder &#8211; Unzipping JAR via context menu</title>
		<link>http://blog.frau-klein.org/2012/08/mac-finder-unzipping-jar-via-context-menu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mac-finder-unzipping-jar-via-context-menu</link>
		<comments>http://blog.frau-klein.org/2012/08/mac-finder-unzipping-jar-via-context-menu/#comments</comments>
		<pubDate>Thu, 16 Aug 2012 10:42:57 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[unzip]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36319</guid>
		<description><![CDATA[It happens quite regularly that I need to extract a JAR or WAR file for a brief inspection. Of course I can do it on command line however, when operating in Finder I wanted to get something that just unarchives a selected file by mouse click.&#160; To achieve this I used for the very first <a href='http://blog.frau-klein.org/2012/08/mac-finder-unzipping-jar-via-context-menu/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>It happens quite regularly that I need to extract a JAR or WAR file for a brief inspection. Of course I can do it on command line however, when operating in Finder I wanted to get something that just unarchives a selected file by mouse click.&nbsp;</p>
<p>To achieve this I used for the very first time Automator, a tool I didn&#8217;t really think would be providing a solution to any of my needs. What I did do:</p>
<ul>
<li>Open Automator</li>
<li>New &gt; Service</li>
<li>In the drop down menus choose in <em>Service receives selected</em>&nbsp;<strong>files or folders</strong>&nbsp;<em>in</em> <strong>Finder.app</strong></li>
<li>In Actions search for <em>Run Shell Script</em> and double click on it
<ul>
<li>enter this as command line&nbsp;<strong>unzip -n &#8220;$1&#8243; -d &#8220;$1&#8243;.zip</strong></li>
<li>select for <em>Pass input</em> <strong>as arguments</strong></li>
</ul>
</li>
<li>Click on Save and give a name, e.g. <strong>Extract Archive</strong></li>
</ul>
<p>To verify:</p>
<ul>
<li>Open Finder</li>
<li>Right click any archive</li>
<li>In the context menu select <em>Services &gt; Extract Archive</em></li>
</ul>
<p>Note: As a filetype cannot be selected the menu is available for all files and folders. If you select something that is not a extractable with unzip you&#8217;ll see an error message.</p>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36319&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/finder/" title="finder" rel="tag">finder</a>, <a href="http://blog.frau-klein.org/tag/how-to/" title="how-to" rel="tag">how-to</a>, <a href="http://blog.frau-klein.org/tag/java/" title="java" rel="tag">java</a>, <a href="http://blog.frau-klein.org/tag/mac/" title="mac" rel="tag">mac</a>, <a href="http://blog.frau-klein.org/tag/unzip/" title="unzip" rel="tag">unzip</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2012/08/mac-finder-unzipping-jar-via-context-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>yEd, dot language and graphviz</title>
		<link>http://blog.frau-klein.org/2012/07/yed-dot-language-and-graphviz/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=yed-dot-language-and-graphviz</link>
		<comments>http://blog.frau-klein.org/2012/07/yed-dot-language-and-graphviz/#comments</comments>
		<pubDate>Thu, 12 Jul 2012 19:39:12 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[tech talk]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[dot]]></category>
		<category><![CDATA[graphviz]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[yed]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36315</guid>
		<description><![CDATA[I recently changed my job and so I have now new duties and responsibilities. Mainly understanding devops processes as they are currently and then scoping out improvements, introducing new tools, processes etc. I&#8217;m a master on drafting everything on whiteboards, however there are 2 drawbacks: nobody except me seems to be able to read my <a href='http://blog.frau-klein.org/2012/07/yed-dot-language-and-graphviz/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I recently changed my job and so I have now new duties and responsibilities. Mainly understanding devops processes as they are currently and then scoping out improvements, introducing new tools, processes etc. I&#8217;m a master on drafting everything on whiteboards, however there are 2 drawbacks:</p>
<ul>
<li>nobody except me seems to be able to read my handwriting, so sending out photos of whiteboards only causes WTF&#8217;s</li>
<li>it&#8217;s kinda hard to annotate, rearrange or optimize what has been written down and photographed</li>
</ul>
<p>So I had a look how to easily translate my drawings into something readable. I don&#8217;t own a visio license, I checked a few commercial tools but didn&#8217;t find the one that was made for me in terms of simplicity, usability and flexibility.&nbsp;</p>
<p>My first find was <a href="http://www.yworks.com/en/products_yed_about.html" target="_blank">yEd</a>,&nbsp;a nice editor to easily draw diagrams. I did do a couple of server/network layouts with it, documented processes and it worked out quite well. But then there was a graph i couldn&#8217;t draw &#8211; basically a version control branching strategy for a set of enterprise products. I picked up one of my co-workers presentations and followed up with drawing in powerpoint which was better than expected but not quite satisfying.&nbsp;</p>
<p>Today I had to draw just another graph and neither yEd nor Powerpoint fitted the requirements:</p>
<ul>
<li>I wanted to easily extend/modify the objects</li>
<li>I did not want to arrange object manually</li>
<li>I didn&#8217;t want to get distracted by moving pixels but i wanted to focus on content.&nbsp;</li>
</ul>
<p>I decided to use <a href="http://www.graphviz.org/doc/info/lang.html" target="_blank">dot language</a>&nbsp;as it is plain text, generates graphs and takes care about the alignment of objects itself. I used dot indirectly a few days ago when I used <a href="http://vizant.sourceforge.net/" target="_blank">vizant</a>&nbsp;to generate a documentation over a set of ant files and <a href="http://www.kirkk.com/main/Main/JarAnalyzer" target="_blank">jaranalyzer</a> to outline dependencies between jar files. The dot documentation looked a bit to brief for me so I did use the <a href="http://www.graphviz.org/Gallery.php" target="_blank">sample gallery</a> and just picked a graph that contained something I needed and 2h later I ended up with my complete whiteboard in a nice and presentable way. All change request I implemented within minutes and the output always was a nice looking, technical graph. I used <a href="http://www.graphviz.org/" target="_blank">graphviz</a> for visualization and export to image files. Graphviz is quite sweet, it loads file changes straight away, so I had my text editor and graphviz side by side to get an instant preview.It seems there is a reasonable community using it as all my questions were asked&nbsp;before&nbsp;and got answered at <a href="http://stackoverflow.com/" target="_blank">stackoverflow.com</a>.</p>
<p>Here a little example for a graph:</p>
<blockquote><p>digraph &#8220;G&#8221; {</p>
<p>&nbsp;<span style="white-space: pre;"> </span>// general config</p>
<p><span style="white-space: pre;"> </span>node [style=filled, color=grey97, fontname=Helvetica, fontsize = 12];</p>
<p><span style="white-space: pre;"> </span>edge [color=grey50]</p>
<p><span style="white-space: pre;"> </span></p>
<p><span style="white-space: pre;"> </span>// ranking</p>
<p><span style="white-space: pre;"> </span>{rank = same; start1, &#8220;start2&#8243;}</p>
<p><span style="white-space: pre;"> </span>{rank = same; aDone, bDone}</p>
<p><span style="white-space: pre;"> </span></p>
<p><span style="white-space: pre;"> </span>// boxes</p>
<p>&nbsp; &nbsp; subgraph cluster_a {</p>
<p>&nbsp; &nbsp; <span style="white-space: pre;"> </span>[ label="a box", color=lightsteelblue1, style=filled;fontcolor=dodgerblue3];</p>
<p><span style="white-space: pre;"> </span>subgraph cluster_aa {</p>
<p>&nbsp; &nbsp; <span style="white-space: pre;"> </span>[ label="a box in a box", color=lightsteelblue2, style=filled;fontcolor=dodgerblue3];</p>
<p>&nbsp; &nbsp; <span style="white-space: pre;"> </span>organge ; normal;</p>
<p>&nbsp; &nbsp; <span style="white-space: pre;"> </span>}&nbsp;</p>
<p><span style="white-space: pre;"> </span>longLabel;&nbsp;</p>
<p><span style="white-space: pre;"> </span>}</p>
<p>&nbsp;</p>
<p>&nbsp; &nbsp;subgraph cluster_b {</p>
<p><span style="white-space: pre;"> </span> &nbsp; &nbsp;[ label="another box", color=gray90, style=filled; fontcolor=dodgerblue3];</p>
<p><span style="white-space: pre;"> </span>taskB</p>
<p>&nbsp; &nbsp; &nbsp;<span style="white-space: pre;"> </span>-&gt; bDone;</p>
<p>&nbsp; &nbsp; }&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp; &nbsp; subgraph cluster_c {</p>
<p><span style="white-space: pre;"> </span> &nbsp; &nbsp;[ label="invisible box", color=white, fontcolor=dodgerblue3];</p>
<p><span style="white-space: pre;"> </span>anotherLabel;&nbsp;</p>
<p><span style="white-space: pre;"> </span>}</p>
<p>&nbsp;</p>
<p>&nbsp; &nbsp; start1 -&gt; taskA;</p>
<p>&nbsp;</p>
<p>&nbsp; &nbsp; &#8220;start2&#8243; -&gt; {normal organge } -&gt; join -&gt; taskA -&gt; aDone &nbsp;-&gt; taskC -&gt; done;</p>
<p>&nbsp; &nbsp; &#8220;start2&#8243; -&gt; &nbsp;longLabel -&gt; anotherLabel -&gt; join ;</p>
<p>&nbsp;</p>
<p>&nbsp; &nbsp; join -&gt; taskB [label="edge label", fontcolor=grey];</p>
<p><span style="white-space: pre;"> </span></p>
<p>&nbsp; &nbsp; // node aliases and configuration</p>
<p>&nbsp; &nbsp; node aDone [label="a",color=green2]</p>
<p>&nbsp; &nbsp; node bDone [label="b",color=green4]</p>
<p>&nbsp; &nbsp; node longLabel [label="a long label\nwith line break"]</p>
<p>&nbsp; &nbsp; node join [label="join and fork"]</p>
<p>&nbsp; &nbsp; node anotherLabel [label="another label"]</p>
<p>&nbsp; &nbsp; node organge [label="organge",color=bisque2]</p>
<p><span style="white-space: pre;"> </span>node done [color=grey80]</p>
<p>}</p>
</blockquote>
<div>Below is the generated image:</div>
<div>
<ul>
<li>it contains layout configurations for nodes and edges (colors, fonts)</li>
<li>boxes of type cluster</li>
<li>color highlightings</li>
<li>edge lables</li>
<li>ranks to aling elements</li>
</ul>
<p>this is a subset of what I have done today. Considering that I looked into it today for the first time and that i got everything the way I wanted I&#8217;m quite happy. I admit a graph like this can be easily done in any other visualization tool. However, the power of dot is in how simple it is to do modifications. Anohter sub graph or another order of elements won&#8217;t require major reconstruction work. simply change the order and that&#8217;s it.&nbsp;</p>
</div>
<div><img src="http://blog.frau-klein.org/wp-content/uploads/2012/07/praiseDot.png" alt="graph output" width="531" height="912" /></div>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36315&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/ant/" title="ant" rel="tag">ant</a>, <a href="http://blog.frau-klein.org/tag/dot/" title="dot" rel="tag">dot</a>, <a href="http://blog.frau-klein.org/tag/graphviz/" title="graphviz" rel="tag">graphviz</a>, <a href="http://blog.frau-klein.org/tag/scm/" title="scm" rel="tag">scm</a>, <a href="http://blog.frau-klein.org/tag/tools/" title="tools" rel="tag">tools</a>, <a href="http://blog.frau-klein.org/tag/visualization/" title="visualization" rel="tag">visualization</a>, <a href="http://blog.frau-klein.org/tag/yed/" title="yed" rel="tag">yed</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2012/07/yed-dot-language-and-graphviz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grep &#8211; handy to know</title>
		<link>http://blog.frau-klein.org/2012/06/grep-handy-to-know/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=grep-handy-to-know</link>
		<comments>http://blog.frau-klein.org/2012/06/grep-handy-to-know/#comments</comments>
		<pubDate>Thu, 28 Jun 2012 16:35:00 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[MacPassion]]></category>
		<category><![CDATA[tech talk]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36311</guid>
		<description><![CDATA[A small, handy way to find stuff easily via commandline in a set fo files: grep -inHR &#8220;search term&#8221; &#8211;include=&#8217;*.xml&#8217; * i ignore-case n line number H&#160;Print the filename for each match R&#160;&#160;&#8211;include=&#60;Pattern&#62;&#160;Recurse in directories only searching file matching&#160;&#60;Pattern&#62; * The preceding item will be matched zero or more times. in all sub folders in <a href='http://blog.frau-klein.org/2012/06/grep-handy-to-know/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>A small, handy way to find stuff easily via commandline in a set fo files:</p>
<blockquote><p><a title="man grep" href="http://unixhelp.ed.ac.uk/CGI/man-cgi?grep" target="_blank">grep</a> -inHR &#8220;search term&#8221; &#8211;include=&#8217;*.xml&#8217; *</p>
</blockquote>
<ul>
<li><strong>i</strong> ignore-case</li>
<li><strong>n</strong> line number</li>
<li><strong>H</strong>&nbsp;Print the filename for each match</li>
<li><strong>R</strong>&nbsp;&nbsp;<strong>&#8211;include</strong>=&lt;Pattern&gt;&nbsp;Recurse in directories only searching file matching&nbsp;&lt;Pattern&gt;</li>
<li><strong>*</strong> The preceding item will be matched zero or more times.</li>
</ul>
<p>in all sub folders in a given folder all files that end with <em>xml </em>and contain <em>search term </em>are listed in the output with name and the matching line including the line number.</p>
<p>I used to use file search in ultraedit, however my license expired and ultraedit on mac is not quite as powerful as its Windows equivalent so I didn&#8217;t bother to renew. Grep is my new best friend.&nbsp;</p>
<p>Update: sweet example:</p>
<blockquote><p>
<p class="p1">grep -inRH &#8220;4.7.0&#8243; &#8211;include=&#8217;*pom.xml&#8217; * -B2</p>
</p>
</blockquote>
<p class="p1">is looking in pom files that contain the given string and prints out 2 lines before.</p>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36311&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/find/" title="find" rel="tag">find</a>, <a href="http://blog.frau-klein.org/tag/grep/" title="grep" rel="tag">grep</a>, <a href="http://blog.frau-klein.org/tag/mac/" title="mac" rel="tag">mac</a>, <a href="http://blog.frau-klein.org/tag/unix/" title="unix" rel="tag">unix</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2012/06/grep-handy-to-know/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Youtube on PS3</title>
		<link>http://blog.frau-klein.org/2012/03/youtube-on-ps3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=youtube-on-ps3</link>
		<comments>http://blog.frau-klein.org/2012/03/youtube-on-ps3/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 16:49:56 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[being at home]]></category>
		<category><![CDATA[life hacking]]></category>
		<category><![CDATA[tech talk]]></category>
		<category><![CDATA[alice in wonderland]]></category>
		<category><![CDATA[ps3]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36307</guid>
		<description><![CDATA[I just found out how to do youtube on a PS3. Just simply go to internet search and search for youtube.com/xl. This opens youtube in a specific, maximized view which is perfect for display and navigation on PS3. Sweet. I guess husband and I will watch W. W. Young&#8217;s silent movie Alice in Wonderland from <a href='http://blog.frau-klein.org/2012/03/youtube-on-ps3/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I just found out how to do youtube on a PS3. Just simply go to <i>internet search</i> and search for <i>youtube.com/xl</i>. This opens <a target="_blank" href="http://www.youtube.com/xl">youtube</a> in a specific, maximized view which is perfect for display and navigation on PS3. Sweet. I guess husband and I will watch <a target="_blank" href="http://www.youtube.com/watch?v=D_GGZxaymD0">W. W. Young&#8217;s silent movie <i>Alice in Wonderland</i> from 1915</a> later on the big screen :)</p>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36307&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/alice-in-wonderland/" title="alice in wonderland" rel="tag">alice in wonderland</a>, <a href="http://blog.frau-klein.org/tag/ps3/" title="ps3" rel="tag">ps3</a>, <a href="http://blog.frau-klein.org/tag/youtube/" title="youtube" rel="tag">youtube</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2012/03/youtube-on-ps3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto fix PDF export for Org-Mode in MacOS</title>
		<link>http://blog.frau-klein.org/2012/03/howto-fix-pdf-export-for-org-mode-in-macos/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=howto-fix-pdf-export-for-org-mode-in-macos</link>
		<comments>http://blog.frau-klein.org/2012/03/howto-fix-pdf-export-for-org-mode-in-macos/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 06:34:04 +0000</pubDate>
		<dc:creator>Frau Klein</dc:creator>
				<category><![CDATA[tech talk]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[org-mode]]></category>
		<category><![CDATA[tex]]></category>

		<guid isPermaLink="false">http://blog.frau-klein.org/?p=36304</guid>
		<description><![CDATA[I haven&#8217;t used org-mode in the past few months and when I was using it this week the PDF export was broken. Instead of getting a PDF output I got this error LaTeX Error: File `wrapfig.sty&#8217; not found.x As I haven&#8217;t changed anything regarding emacs nor org-mode installation it took me a while to figure <a href='http://blog.frau-klein.org/2012/03/howto-fix-pdf-export-for-org-mode-in-macos/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t used <a target="_blank" href="http://orgmode.org/">org-mode</a> in the past few months and when I was using it this week the PDF export was broken. Instead of getting a PDF output I got this error<br />
<blockquote>LaTeX Error: File `wrapfig.sty&#8217; not found.x</p></blockquote>
<p>As I haven&#8217;t changed anything regarding <a target="_blank" href="http://emacsformacosx.com/">emacs</a> nor org-mode installation it took me a while to figure how to solve it. I have org-mode installed via <a target="_blank" href="http://www.macports.org/">mac ports</a>, I might have done a <i>port upgrade outdated</i> at some point and this might have caused the issue. Now, how did I get it working again?
<ul>
<li><b>sudo port selfupdate </b>:: I haven&#8217;t touched macports in a while. </li>
<li><b>sudo port upgrade org-mode</b> :: I upgraded org-mode hoping that this would solve it. I got a minor upgrade (7.0.2 -&gt; 7.0.3), the error still occured.</li>
<li><b>s</b><b>udo port upgrade texlive-latex-extra</b> :: this is the file that supposedly contains all the missing file.&nbsp; </li>
<li><b>sudo texhash</b> :: to rebuild TeX-inputfiles-database</li>
<li>changing my emacs configuration :: I added the line <b>(require &#8216;org-latex)</b> in the <i>~/.emacs</i> file and restarted <a target="_blank">emacs</a>.</li>
</ul>
<p>That did do the job, now the PDF export runs again. Jippieh!</p>
<p></p>
<img src="http://blog.frau-klein.org/?ak_action=api_record_view&id=36304&type=feed" alt="" />
	Tags: <a href="http://blog.frau-klein.org/tag/emacs/" title="emacs" rel="tag">emacs</a>, <a href="http://blog.frau-klein.org/tag/export/" title="export" rel="tag">export</a>, <a href="http://blog.frau-klein.org/tag/fix/" title="fix" rel="tag">fix</a>, <a href="http://blog.frau-klein.org/tag/howto/" title="howto" rel="tag">howto</a>, <a href="http://blog.frau-klein.org/tag/latex/" title="latex" rel="tag">latex</a>, <a href="http://blog.frau-klein.org/tag/macports/" title="macports" rel="tag">macports</a>, <a href="http://blog.frau-klein.org/tag/org-mode/" title="org-mode" rel="tag">org-mode</a>, <a href="http://blog.frau-klein.org/tag/tex/" title="tex" rel="tag">tex</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.frau-klein.org/2012/03/howto-fix-pdf-export-for-org-mode-in-macos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->