

Plasma 4 Extensions
Science
Your example is rendered fine in my installation and the error you are reporting is just a warning, so it shouldn't be harmful. Are you sure there are no additional errors in the log?
Anyway, you can try removing the "$ and $" since they are not needed inside a llabel. But most likely, you have other issues with your installation ... - Dec 12 2012
Anyway, you can try removing the "$ and $" since they are not needed inside a llabel. But most likely, you have other issues with your installation ... - Dec 12 2012
I'm glad it's working now. I am not sure what the problem is, since I cannot reproduce it locally.
If you want to dig deeper, you could try to launch 'dvips -E' and 'epstopdf' on the output DVI file (in the temp directory), since this is exactly the workflow used by Cirkuit.
By the way, when you generate the preview with Cirkuit, do you get the eps and pdf files in your temp dir or the dvi only? If only the dvi is there, then there must be something wrong in the conversion DVI->EPS->PDF ... - Apr 15 2012
If you want to dig deeper, you could try to launch 'dvips -E' and 'epstopdf' on the output DVI file (in the temp directory), since this is exactly the workflow used by Cirkuit.
By the way, when you generate the preview with Cirkuit, do you get the eps and pdf files in your temp dir or the dvi only? If only the dvi is there, then there must be something wrong in the conversion DVI->EPS->PDF ... - Apr 15 2012
Well, from the output you pasted everything seems fine. Could you try the following:
- Go to /tmp/kde-{yourusername}/cirkuit/build and launch dvips (or dvipdf) on the latest dvi file (you can also find the filename in the log.. it was XM1522.dvi in the log you pasted). Does it produce a valid ps/pdf file? Do you get an error message?
- In Settings->Configure Cirkuit->Circuit Macros->Pic interpreter switch to dpic+TikZ and then regenerate the plot
Thanks for the time you are spending in finding this bug. I hope we can hunt it down soon :) - Apr 13 2012
- Go to /tmp/kde-{yourusername}/cirkuit/build and launch dvips (or dvipdf) on the latest dvi file (you can also find the filename in the log.. it was XM1522.dvi in the log you pasted). Does it produce a valid ps/pdf file? Do you get an error message?
- In Settings->Configure Cirkuit->Circuit Macros->Pic interpreter switch to dpic+TikZ and then regenerate the plot
Thanks for the time you are spending in finding this bug. I hope we can hunt it down soon :) - Apr 13 2012
Hello,
Thanks for reporting this. After looking at the documentation, it appears that I am using a function (KMimeType::mainExtension) introduced in KDE SC 4.3 and you have installed version 4.2, so that's what causing the problem.
Are you able to upgrade KDE to a more recent version?
Matteo
- Dec 25 2010
Thanks for reporting this. After looking at the documentation, it appears that I am using a function (KMimeType::mainExtension) introduced in KDE SC 4.3 and you have installed version 4.2, so that's what causing the problem.
Are you able to upgrade KDE to a more recent version?
Matteo
- Dec 25 2010
Thanks for the nice comment! I've already thought about integrating with Kile but I chose to write a standalone app for several reasons:
- sometimes I don't want to put the pictures in a LaTeX document so I don't need Kile in that case
- my application automatically downloads and configures the latest Circuit Macros package from the website. That's one of the main reasons why I wrote this app (initially there was no TikZ support).
- there already is a Kile integration of Circuit Macros project: http://staff.ee.sun.ac.za/pjrandewijk/wiki/index.php/M4_Circuit_Macros_-_Kile_Integration. It should be easy to write something similar for TikZ. - Dec 18 2009
- sometimes I don't want to put the pictures in a LaTeX document so I don't need Kile in that case
- my application automatically downloads and configures the latest Circuit Macros package from the website. That's one of the main reasons why I wrote this app (initially there was no TikZ support).
- there already is a Kile integration of Circuit Macros project: http://staff.ee.sun.ac.za/pjrandewijk/wiki/index.php/M4_Circuit_Macros_-_Kile_Integration. It should be easy to write something similar for TikZ. - Dec 18 2009
Hmm actually implementing this is more complicated than I thought. When you enable the "Write results in input line edit" option, the results space is hidden. To implement what you propose, I would have to change this and add some exceptions when the live evaluation mode is enabled. I think this would be quite counter-intuitive. I'll think about a better solution...
- Oct 01 2009
Oops, you are right. These two options cannot be both enabled at the same time (you cannot have the result written in the input line when everytime something changes in there triggers a new evaluation). I will make sure that this will not happen.
- Sep 30 2009
Thanks, I will have a look at the possibility of including a KHistoryComboBox.
At the moment, you can browse the history using the up and down arrows when the cursor is in the input line edit. For some reason, it works only when the applet is placed on the desktop (it doesn't work when the applet is placed on the panel). - Aug 27 2009
At the moment, you can browse the history using the up and down arrows when the cursor is in the input line edit. For some reason, it works only when the applet is placed on the desktop (it doesn't work when the applet is placed on the panel). - Aug 27 2009
Thank you! Regarding your comments:
1. This sounds like a good idea. I'll probably implement this soon.
2. You are absolutely right. You will find this in next version.
3. Yeah I am not too happy about using a plain Plasma::LineEdit and managing the history with my own code, but I am not sure which KDE widget enables the history dropdown feature.
4. As for the icon, I am using the original Qalculate! icon, but I am willing to change that in the future... - Aug 27 2009
1. This sounds like a good idea. I'll probably implement this soon.
2. You are absolutely right. You will find this in next version.
3. Yeah I am not too happy about using a plain Plasma::LineEdit and managing the history with my own code, but I am not sure which KDE widget enables the history dropdown feature.
4. As for the icon, I am using the original Qalculate! icon, but I am willing to change that in the future... - Aug 27 2009
I have tried several settings on two different computers but I couldn't reproduce this bug. The only way to get something similar to your case is if I introduce a space between the 'e' and the 'V'.
The problem could be in the conversion from QString (read from the input) to a char array (needed by libqalculate). I'll try to change this in the next version.
- Jul 14 2009
The problem could be in the conversion from QString (read from the input) to a char array (needed by libqalculate). I'll try to change this in the next version.
- Jul 14 2009
Thanks for your comment. Regarding your points:
- for some currencies you can type the symbol (e.g. $,£,€) instead of the three-characters substitutes
- when the applet is in the panel, it should use the KNotification system to display the results, so you shouldn't experience problems. Anyway there is an annoying bug at the moment: do not move the applet from the desktop to the panel, otherwise you will not get the correct behavior. Add the applet directly in the panel! I will try to fix this bug in future versions
- I agree that a history dropdown would be a nice addition. I will add it in future versions - Jul 13 2009
- for some currencies you can type the symbol (e.g. $,£,€) instead of the three-characters substitutes
- when the applet is in the panel, it should use the KNotification system to display the results, so you shouldn't experience problems. Anyway there is an annoying bug at the moment: do not move the applet from the desktop to the panel, otherwise you will not get the correct behavior. Add the applet directly in the panel! I will try to fix this bug in future versions
- I agree that a history dropdown would be a nice addition. I will add it in future versions - Jul 13 2009

One-Line Calculator
Plasma 4 Extensions by alno 14 comments
Actually the Qalculate plasmoid yields exactly the same result if you switch to 'combined' or 'fractional' number format in the settings
- Jul 12 2009
Actually I am not able to reproduce this. If I type 1 MeV I get approx. 160 fJ which is the correct result. Keep in mind that the default behavior is to convert to best (usually SI) units, but you can disable this in the plasmoid settings.
Ciao,
Matteo - Jul 11 2009
Ciao,
Matteo - Jul 11 2009
Thanks for your comments. I will surely consider them for the next version.
I am also not able to build the examples you mentioned. I will look into this. And I will also fix the problem with the caption on the right side.
The possibility to export to SVG will be included in the next version. - Jul 01 2009
I am also not able to build the examples you mentioned. I will look into this. And I will also fix the problem with the caption on the right side.
The possibility to export to SVG will be included in the next version. - Jul 01 2009
Hmm maybe you are missing some dependencies. In Ubuntu/Kubuntu you need the 'shared-mime-info' package to make the filter work properly. Maybe you don't have this installed in your system. Or maybe the cirkuit.xml file is not copied in the right destination.
When you 'make install' do you get something like this?
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/bin/dpic
-- Installing: /usr/bin/cirkuit
-- Set runtime path of "/usr/bin/cirkuit" to "/usr/lib"
-- Up-to-date: /usr/share/kde4/apps/cirkuit/cirkuitui.rc
-- Up-to-date: /usr/share/icons/hicolor/64x64/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/hicolor/32x32/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/hicolor/48x48/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/oxygen/scalable/mimetypes/application-x-cirkuit.svgz
-- Up-to-date: /usr/share/applications/kde4/cirkuit.desktop
-- Up-to-date: /usr/share/mime/packages/cirkuit.xml
Unknown media type in type 'all/all'
- Jul 01 2009
When you 'make install' do you get something like this?
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/bin/dpic
-- Installing: /usr/bin/cirkuit
-- Set runtime path of "/usr/bin/cirkuit" to "/usr/lib"
-- Up-to-date: /usr/share/kde4/apps/cirkuit/cirkuitui.rc
-- Up-to-date: /usr/share/icons/hicolor/64x64/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/hicolor/32x32/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/hicolor/48x48/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/oxygen/scalable/mimetypes/application-x-cirkuit.svgz
-- Up-to-date: /usr/share/applications/kde4/cirkuit.desktop
-- Up-to-date: /usr/share/mime/packages/cirkuit.xml
Unknown media type in type 'all/all'
- Jul 01 2009
Hmm maybe you are missing some dependencies. In Ubuntu/Kubuntu you need the 'shared-mime-info' package to make the filter work properly. Maybe you don't have this installed in your system. Or maybe the cirkuit.xml file is not copied in the right destination.
When you 'make install' do you get something like this?
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/bin/dpic
-- Installing: /usr/bin/cirkuit
-- Set runtime path of "/usr/bin/cirkuit" to "/usr/lib"
-- Up-to-date: /usr/share/kde4/apps/cirkuit/cirkuitui.rc
-- Up-to-date: /usr/share/icons/hicolor/64x64/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/hicolor/32x32/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/hicolor/48x48/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/oxygen/scalable/mimetypes/application-x-cirkuit.svgz
-- Up-to-date: /usr/share/applications/kde4/cirkuit.desktop
-- Up-to-date: /usr/share/mime/packages/cirkuit.xml
Unknown media type in type 'all/all'
- Jul 01 2009
When you 'make install' do you get something like this?
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/bin/dpic
-- Installing: /usr/bin/cirkuit
-- Set runtime path of "/usr/bin/cirkuit" to "/usr/lib"
-- Up-to-date: /usr/share/kde4/apps/cirkuit/cirkuitui.rc
-- Up-to-date: /usr/share/icons/hicolor/64x64/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/hicolor/32x32/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/hicolor/48x48/apps/./cirkuit.png
-- Up-to-date: /usr/share/icons/oxygen/scalable/mimetypes/application-x-cirkuit.svgz
-- Up-to-date: /usr/share/applications/kde4/cirkuit.desktop
-- Up-to-date: /usr/share/mime/packages/cirkuit.xml
Unknown media type in type 'all/all'
- Jul 01 2009
Those warning messages are normal. Could you post the contents of your ~/.kde/share/apps/cirkuit and ~/.kde/share/apps/cirkuit/build directories? Maybe something went wrong during the download and configuration of the Circuit Macros ...
You could also try to remove the ~/.kde/share/apps/cirkuit directory and restart the application. - Jun 18 2009
You could also try to remove the ~/.kde/share/apps/cirkuit directory and restart the application. - Jun 18 2009

PublicTransport
Plasma 4 Extensions by fpuelz 813 comments
Very nice plasmoid! Could you also add support for Austria? The website is http://www.oebb.at. Thanks!
- Jun 16 2009