Image 01
profile-image

matteo81

Matteo Agostinelli , Austria
Plasma 4 Widgets
Science
Cirkuit

Science 59 comments

Score 80.0%
Dec 31 2011
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
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
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
If you are using the latest version, you can access the log from the menu bar (View->Log). You can also check inside /tmp/kde-{yourusername}/cirkuit/build - Apr 12 2012
Hi

please download the new release (0.4.3). It should be compatible with kdelibs < 4.7.
Version 0.4.2 required at least kdelibs-4.7 which probably is not available in your distribution. - Dec 31 2011
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 your comment. The original code compiles fine on my system. Anyway I have changed the inclusion of QImage, so this will be fixed in the next release. - Dec 03 2010
Fixed! - Feb 19 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
Yes, you are right. Since version 0.2 I've introduced an additional dependency on libpoppler to render the preview. I have added it to the dependencies in the description. Thanks! - Dec 18 2009
Cirkuit already supports the logic library. You have to include the library with this command (after cct_init):
include(HOMELIB_`'liblog.m4)

Then you should be able to use all the logic elements. - Sep 23 2009
You should now be able to build the latest version (0.2.1) also with KDE 4.2

Cheers,
Matteo - Aug 03 2009
Which version of KDE are you using? It looks like the function setSingleStep has been introduced in 4.3 so it will not work with previous versions.

I will switch to a QSpinBox if this is the case... - Jul 31 2009
I will consider this for future versions. Thanks for the suggestion! - Jul 10 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 will have a look at this. I hope I can find the problem.

Cheers,
Matteo - 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
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
Actually in the latest version the open dialog should already have the correct behavior and filter *.cir and *.m4 files. Isn't it working for you? Or do you mean that you want a separate filter just for *.m4 files? - Jun 30 2009
Well then I am quite lost too. Could you send the whole ~/.kde/share/apps/cirkuit directory to me? - Jun 22 2009
Maybe I know the cause of your problem. Do you have the pstricks package for LaTeX? I forgot to include it in the prerequisites.

Try installing the package texlive-pstricks. - Jun 19 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
Qalculate

Plasma 4 Widgets 88 comments

Score 63.3%
Oct 22 2009
Download link is now fixed. Sorry for the late answer.

BTW, the applet is now included in KDE SC 4.4 (in kdeplasma-addons). - Feb 15 2010
I'll have a look at the API and see if this can be easily implemented. Thanks for the suggestion. - Nov 11 2009
Nice idea! I'll implement this when I have time. - Nov 11 2009
Yes, I am aware of this but unfortunately I don't know how to solve it. - Nov 11 2009
I cannot reproduce this. I tried also with a German keyboard and it works fine here.

What happens if you press the '^' key twice? Will the '^' sign appear? If that's the case, you might have to change some locale-related settings. - Oct 29 2009
Feature added in v0.7.1. It can be disabled in the plasmoid settings, if wanted. - Oct 20 2009
I agree with you that this would be a nice feature. At the moment I am quite busy, but I will implement it as soon as I get the chance. Thanks for the feedback! - Oct 12 2009
RPN is not exactly intuitive at the moment. To use it, you have to enter an expression like this: "123 98 +" ant then press ENTER.

If you have some ideas how to improve it, let me know :) - Oct 08 2009
It looks like you are missing some development packages. Try installing kdelibs5-dev with: sudo apt-get install kdelibs5-dev. Then run cmake again. - Oct 07 2009
Oh so you mean a krunner plugin. It is probably coming soon, so stay tuned :) - Oct 02 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
Added this option in v0.6.2 - Sep 25 2009
Ok, I think I found the problem. It should be fixed in the latest version (0.6.2). - Sep 25 2009
I personally prefer the way it works now but I guess I can add an option to enable "live" evaluation. You'll probably find this in the next release. - Sep 24 2009
I am not sure what you mean by 'broken'. Can you explain further? On my box I can place the applet in a vertical panel and it seems to work fine. - Sep 24 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
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
It should be fixed in latest version (0.5.1). I don't know how to use additional currencies. You should contact the author of the Qalculate! library. - Jul 16 2009
I hope this is fixed in the latest version (0.5.1). Please let me know if it works now. - Jul 16 2009
No, I think this is a bug and I have probably found the reason. I will fix it in the next version. - Jul 15 2009
The complete list of the supported currencies is here: http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html.

To convert you have to use this syntax: "10 USD to EUR" or "15 EUR to GBP" ... - Jul 14 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
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
I am not sure what is the problem then. Could you please try to use the "qalc" command-line application (which uses the same library) and check if the output is the same on the different systems? - Jul 13 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
One-Line Calculator

Plasma 4 Widgets 14 comments

by alno
Score 50.0%
Dec 28 2009
Actually the Qalculate plasmoid yields exactly the same result if you switch to 'combined' or 'fractional' number format in the settings - Jul 12 2009
PublicTransport

Plasma 4 Widgets 813 comments

Score 85.2%
Jan 17 2013
Very nice plasmoid! Could you also add support for Austria? The website is http://www.oebb.at. Thanks! - Jun 16 2009
Fancy Tasks

Plasma 4 Widgets
by Emdek

Score 84.4%
Oct 06 2009
SMPlayer

Video Apps
by rvm

Score 80.7%
Jul 25 2009
Yakuake

System Software
by Sho

Score 86.7%
Jul 20 2009
CompressIT and MailIT

Dolphin Service Menus
by legluondunet

Score 50.0%
May 28 2009
Amarok: wallpaper

Various Artwork
by e012100240

Score 50.0%
May 28 2009
Score 50.0%
May 28 2009
PSP icon

Cliparts
by Shintaro

Score 50.0%
May 28 2009
ICQ Kopete chat style

Kopete Styles
by mrblue

Score 50.0%
May 28 2009
indian fuel

Various Artwork
by kwiat

Score 50.0%
May 28 2009
Score 50.0%
May 28 2009
KDesktop Menu

Various KDE 1.-4. Improvements
by rfujimoto

Score 50.0%
May 28 2009
Amarok: wallpaper

Various Artwork
by milenec

Score 50.0%
May 28 2009