Using a mac

Dan Langille dan at langille.org
Sat Apr 26 21:24:53 CEST 2014


Are you using Quassel on a Mac?  I have tried and failed.  The app opens, I see a window, nothing readable, and it immediately disappears.

I am running Mavericks (OSX 10.9.2) on a Macbook.  I have downloaded the 'MacOSX Monolithic Client (all-in-one, standalone client)’ from http://quassel-irc.org/downloads

I have moved Quassel to the Applictions folder, and clicked on it. Nothing happens.  Nada.  So I did some poking around in the hope of improving this experience for others on Mac.




For kicks, I tried this instead, from the command line.  Hope it helps:


$ /Applications/Quassel.app/Contents/MacOS/Quassel 
Object::connect: No such slot MainWin::saveMainToolBarStatus(bool)
Object::connect:  (sender name:   'MainToolBar')
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
No DockManager available 
2014-04-26 15:05:55 Warning: SslServer: Certificate file /Users/dan/Library/Application Support/Quassel/quasselCert.pem does not exist 
2014-04-26 15:05:55 Warning: SslServer: Unable to set certificate file
           Quassel Core will still work, but cannot provide SSL for client connections.
           Please see http://quassel-irc.org/faq/cert to learn how to enable SSL support. 
2014-04-26 15:05:55 Warning: SslServer: Certificate file /Users/dan/Library/Application Support/Quassel/quasselCert.pem does not exist 
() 
Could not initialize any storage backend! Exiting... 
Currently, Quassel supports SQLite3 and PostgreSQL. You need to build your
Qt library with the sqlite or postgres plugin enabled in order for quasselcore
to work. 




OK, just in case, let’s create a certificate, based on what is found at http://quassel-irc.org/faq/cert




$ openssl req -x509 -nodes -days 365 -newkey rsa:4096 -keyout quasselCert.pem -out quasselCert.pem
Generating a 4096 bit RSA private key
..................................++
.++
writing new private key to 'quasselCert.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:PA
Locality Name (eg, city) []:Media
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:dent.unixathome.org
Email Address []:

And move it to the correct location.

mv quasselCert.pem ~/Library/Application\ Support/Quassel/


Let’s try that again:


$ /Applications/Quassel.app/Contents/MacOS/Quassel 
Object::connect: No such slot MainWin::saveMainToolBarStatus(bool)
Object::connect:  (sender name:   'MainToolBar')
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
No DockManager available 
() 
Could not initialize any storage backend! Exiting... 
Currently, Quassel supports SQLite3 and PostgreSQL. You need to build your
Qt library with the sqlite or postgres plugin enabled in order for quasselcore
to work. 


Ahh, yes, PostgreSQL is not running.  Let’s start that.  Here’s the confirmation that PostgreSQL is running:

$ ps auwx | grep postgres
dan             48562   0.0  0.0  2432784    632 s001  S+    3:21PM   0:00.00 grep postgres
dan             48551   0.0  0.0  2480656    616   ??  Ss    3:20PM   0:00.00 postgres: stats collector process      
dan             48550   0.0  0.0  2626128   1804   ??  Ss    3:20PM   0:00.00 postgres: autovacuum launcher process      
dan             48549   0.0  0.0  2625996    720   ??  Ss    3:20PM   0:00.01 postgres: wal writer process      
dan             48548   0.0  0.0  2616780    940   ??  Ss    3:20PM   0:00.01 postgres: writer process      
dan             48547   0.0  0.0  2616780   1920   ??  Ss    3:20PM   0:00.00 postgres: checkpointer process      
dan             48545   0.0  0.2  2616780  13644   ??  S     3:20PM   0:00.02 /Applications/Postgres.app/Contents/Versions/9.3/bin/postgres -D /Users/dan/Library/Application Support/Postgres/var-9.3 -p5432
dan             48505   0.0  0.1  2489908   4596   ??  Ss    3:20PM   0:00.02 com.postgresapp.postgres-service



And let’s do the stuff to prepare:

 $ '/Applications/Postgres.app/Contents/Versions/9.3/bin'/psql -p5432
psql (9.3.4)
Type "help" for help.

dan=# \dt
No relations found.
dan=# CREATE USER quassel ENCRYPTED PASSWORD ‘yeswedo';
CREATE ROLE
dan=# CREATE DATABASE quassel WITH OWNER quassel ENCODING 'UTF8';
CREATE DATABASE
dan=# 



One more time:

$ /Applications/Quassel.app/Contents/MacOS/Quassel 
Object::connect: No such slot MainWin::saveMainToolBarStatus(bool)
Object::connect:  (sender name:   'MainToolBar')
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
No DockManager available 
() 
Could not initialize any storage backend! Exiting... 
Currently, Quassel supports SQLite3 and PostgreSQL. You need to build your
Qt library with the sqlite or postgres plugin enabled in order for quasselcore
to work. 



Qt library?  What Qt library?  Shouldn’t that be done in the Mac Mono Client? What have I missed?

-- 
Dan Langille - http://langille.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.quassel-irc.org/mailman/pipermail/quassel-users/attachments/20140426/9a097fc9/attachment.asc>


More information about the quassel-users mailing list