Choqok Blank Screen Problem

Hi folks,

One of Choqok problems that sometimes I saw users complain about it is seeing a blank dialog when they went to configuration dialog. Or:

When I click on “add account” (german: “Hinzuf├╝gen”) it shows the button clicked, but nothing happens.

Or we have upgraded Choqok and after upgrade it tells us that there’s no accounts at all and we need to setup our accounts again.

It’s really annoying, I know and I want to tell you that it’s not a problem at all! And you have to just be patient a bit!

All of these problems just happens right after when we have installed/upgraded Choqok!


All parts of Choqok have built through plugins. Microblog services (Twitter, StatusNet, OCS, …), Shortener services, configurations and plugins!

And the system behind Choqok plugin management and system is some KDE stuffs (I’m not going more deep). So when you install Choqok or other KDE apps like Kopete that uses plugins, these new plugins should be cached before applications request for them. and this is where the problem happens.

So, When you see blank screen in Choqok configure dialog, or you see that Choqok can’t find your previous accounts, don’t bother.

You have two solutions:

1. Be patient, Every things gonna be all right just one minute later. Quit Choqok, and start it again some minutes later.

2. You can force this caching system: Quit Choqok, Run `kbuildsycoca4 –noincremental` and then restart Choqok.


My n900 stories (Chapter 1)

I have bought a Nokia n900 cell phone last week. hurray
My main goal is porting MDic, Choqok and Blogilo to Maemo/MeeGo :D

This job is simple for MDic because its a Qt app, and its current code works on Maemo after removing Aspell related codes. But I don’t think its so easy for Choqok and Blogilo.

But, Bad news is that I can’t use Nokia ovi store and services :-/
Here is what I get when I want to download a free theme from it:
Nokia ovi blocks Iranians
Oh, Yes, I know it’s because of the fucking government, We should get punished!
Here we have such problems, Some services blocked by government such as twitter, Facebook, WordPress, …, and others blocked by their service providers, such as Google code, Nokia ovi, Sourceforge, …

Powered by Blogilo

Blogilo’s new WYSIWYG editor

Yes, Blogilo has a new WYSIWYG editor. (Based on WebKit)

This was a long time wish of us, because Qt text editor lacks good html support, and does not support some html tags at all, and supports some with hacks.
And now this new editor is ready for KDEPIM 4.6 release, and first preview of it will be released with KDE 4.6 Beta1 release:
Blogilo WYSIWYG editor
Of course it needs more tuning.
Its big problem instead of previous editor is lack of Spell checking support, that I didn’t find a good way to implement this, due most of current KDE highlighting/spelling supports are based on KTextEdit (As I found) Any idea?

Powered by Blogilo

Social activities in Choqok

Recently the man behind “Open Collaboration Services” API (Frank Karlitschek) contacted me about this API and if we can have support for ocs activities in Choqok, and Yes, It’s almost done :)

I was working on Blogilo‘s new webkit based WYSIWYG editor to get it ready for KDE PIM 4.6 release, these days. And I haven’t much time to work on Choqok.

Social Activities
You can see my activity list in “Social News” plasmoid at left and in Choqok at right :)
Of course We use Attica library and didn’t implement the API again, I think we can use some other parts of API to have more/better information/support here.
Currently we can get/read the activities (As you see above) and put/write new activity/status, But I don’t know why do this activity doesn’t show up in the timeline :/ I’ll contact Frank about this. ;)

What about Choqok version 1.0?

I have to tell you that We have plan for version 1.0 release, And we’ll release an RC before it, This release includes all of recent changes, features and improvements. The RC1 release scheduled for the end of November (28-30), and We’ll focus on bug fix until the end of this year…
And Choqok 1.0 will be released at its birthday i.e. 26 December. [Announcement of Choqok 0.1]
Oh, our little bird is 2 years old now :D

Powered by Blogilo

SFD celebration in Isfahan

I was in Isfahan from 14 Sep to 17 Sep to join the SFD celebration and meetup planned for 16 Sep by IsfahanLUG, the local Gnu/Linux users group in Isfahan. The meetup was great. So, I’ve decided to write about it for my friends out of Iran :D And Of course we have other parties in Iran too, the next one I’ll join will be in Mashhad this week at 8-Oct :D

I think it’s more that 3 years that we celebrate SFD in Iran…

The Isfahan party was actually an official conference, We had 7 presents there :D

First of all, My friend Babak Moqimi (@bmoqimi) talked about "Free Software" and the fact that it’s our first and main goal here. He’s one of the great sysadmins and software freedom advocates here…

After him, Behrad Eslami Far (sysadmin) and Bersam Karbasioon (@b3rsam) (Bersam is one of Persian Wikipedia Gurus) had a talk about Free/OpenSource licenses and Free documentation:

Nasser Ghanemzadeh introduces us to open source business plans, He’s a businessman, CO-Founder and CEO at Opatan Co.

After a short interrupt, Daniel Holbach from Ubuntu talked about OpenSource, Ubuntu way and how to encourage newbies to contribute to open source projects. It was a good accident that he was in Isfahan at the right time.

"The power of community" was title of next presentation via Sajjad Baroodkoo (@badjoker) graphic designer and moderator in Iranian Ubuntu users group and IsfahanLUG.

And my turn, I introduced and talked about Qt and KDE development, to encourage students and companies to test Qt and feel it’s power and beauty :D

And after all, My cousin Majid Ramezanpour (@majid) presented project MeeGo:

And here are some other photos:

A wide view of the Saloon:

Majid and I (And that’s my laptop :D)

Some friends of mine :)

The last photo with most of the participants

I’m sorry if there were too many photos :|

Powered by Blogilo

How to configure Choqok for a Netbook

Recently some friends of mine have asked me for a lightweight Choqok version to use on their Netbooks.

But, You can configure current Choqok to use less resources and make it lighter.

First of all, You have to change (and make it as less as possible) the count of posts to be shown per time line, The image below Show you, where you can find this config:

And after it, You have to disable time lines you rarely use such as Favorite, Public, Outbox …
You can find this configuration in Account configuration dialog, Go to next page of "Configure Choqok" dialog (Accounts), select your account and click on Modify, At second tab you’ll see something like this:

There you can disable unused timelines.

After these, You have to disable some plugins, And this is the reason we made Choqok plugin aware ;)

4 of these plugins are parsing every post arrived in Choqok:

  1. UnTiny URLs
  2. Filter Posts
  3. Preview Images
  4. Preview Videos

So, It would be better and lighter If you disable some of them or all of them.

You’ll lose some functionality with these changes. But Its your Choice to have more function or lighter client :)

Powered by Blogilo

OAuth support in Choqok

So, Here we go…

Last time I was with you, We’ve talked about Twitter, OAuth and QtOAuth.

After it, I was contacted with QtOAuth dev, Dominik Kapusta, And he has accepted a change in lib (api) to add better support for KDE apps :) And that’s great.

So, I’ve done base jobs and codes for OAuth support in Choqok, and It supports it for Identica right now. Of course supports for Twitter too (their code base is share) but for now I’ve changed twitter add account dialog temporarily to something like before (with basic user/pass) and waiting for Twitter new feature for Open Source apps, that they announced on 12 Jun. Oh, and Twitter changed his plan of shutting down basic authentication and postponed it to August, So we have more time :)

So, Now If you want to build latest Choqok svn, you’ll need latest QOAuth from it’s git repository. (Its author will release it officially too)
And if your Choqok version is more than or equal to 0.9.80, It already supports OAuth ;)


Other than authentication changes, We have many fixes done by Andrey Esin + a new shortener plugin for service.

And we have a DBus interface now, Many thanks to Emanuele Bigiarini for his works. and there is a plugin in Choqok that you can call Choqok from dolphin or konqueror to upload and share a medium from your hard disk, or dent/tweet selected text from konqueror, and more…

And even you can install this Firefox extension if you use it for web browsing, and have These options there too. ( Power of Free Software :D )

P.S: You can still use basic authentication for if you like or other StatusNet web sites, OAuth is available for just