Monday, November 12, 2007

ElsterFormular "Externe Exception C0FB007F" und WINE

while I was still having a windows machine ElsterFormular was the software i used once a year. now, that i have no windows machine anymore things got a bit more complicated.

i couldn't find a software to submit a 'Umsatzsteuererklärung' (not the 'Umsatzsteuervoranmeldung'), that was free and available for linux and OS X - i couldn't even find one that was available for any of the two operating systems...

that is when WINE came into play (on the linux machine):
  • Debian GNU/Linux (mostly stable; but with some testing packages) with Kernel 2.6.22
  • wine 0.9.44-1
  • ElsterFormular 2006-2007 (8.2.2.0)
and it mostly worked. however, i couldn't transmit data nor could i use the update feature ('Test der Datenübermittlung an das Finanzamt', 'Steuererklärung an das Finanzamt übermitteln...', 'Update von ElsterFormular') but only got
Externe Exception C0FB007F
and the solution was not to reinstall the software (pointed out here and on some other threads here) - i tried that - but to install
  • mfc42.dll
  • Jet 4.0 Service Pack 8 (SP8) für Windows 95 / 98 / NT 4.0
as described on http://ladisch.de/elster.html.


references:

Friday, November 9, 2007

imapsync - personal reminder...

at the end of a long story there was the need to transfer mail from a Lotus Domino server to a local Thunderbird account... anyways, for some other reasons it seemed quite a good idea to transfer them to a local IMAP server, and the have Thunderbird download all mail.

after some different IMAP servers the best solution seemed to be dovecot - with the others there were problems, e.g. with extended attributes.

copying mails from Domino to the local IMAP server was then done with imapsync:
imapsync --host1 domino.e.t.c --user1 "USERNAME" --authmech1 PLAIN --host2 localhost --user2 dummy --authmech2 PLAIN --prefix2 "~/mail/" --syncinternaldates --split1 50 --split2 50 --nofastio1 --debug

references
  1. http://www.mozilla-europe.org/de/products/thunderbird/
  2. http://www.dovecot.org/
  3. http://www.linux-france.org/prj/imapsync/

Wednesday, November 7, 2007

self-signed certificate with multiple DNS names (aka subjectAltName)

following [1] and adding
subjectAltName = DNS:PROBABLY_YOUR_COMMONNAME,DNS:*.SOME_DOMAIN_NAME
to the [ v3_ca ] section of your openssl.cnf file should do the trick.

unfortunately, the DNS:copy:commonName didn't work for me...


references:
  1. http://www.debian-administration.org/articles/284
  2. http://reductivelabs.com/trac/puppet/wiki/MultipleCertificateAuthorities
  3. http://wiki.cacert.org/wiki/VhostTaskForce

Tuesday, November 6, 2007

OS X Leopard and broadcasted cups printers - no Shared Printers

for whatever reason - and it might be that bonjour should become the preferred method - printers broadcasted from a cups print server don't show up in OS X 10.5 it is annoying in case one just wants to print (without fiddling around with the cups server)...

for the moment the solution seems to be to add
BrowseProtocols cups
to /etc/cups/cupsd.conf (e.g. after BrowseAllow all). in case you know what you are doing
sudo killall -HUP cupsd
restarts the printing service (aka cupsd). the references also show a way of doing all this via cups' web interface (on http://localhost:631)...

nevertheless, you will have to add the 'Shared Printer' via 'Printer & Fax' - just that now the printers from the cups server will show up.

references:
  1. http://mcdevzone.com/2007/10/28/printer-fix-for-leopard
  2. http://discussions.apple.com/thread.jspa?threadID=1203691
  3. http://forums.macrumors.com/showthread.php?t=382577

Sunday, November 4, 2007

Matlab: Undefined function or method 'propertyeditor' for input arguments of type

launching matlab, typing 'figure', menu: View->Property Editor, and then
> ??? Undefined function or method 'propertyeditor' for input arguments of type
> 'double'.
> Error in ==> viewmenufcn at 43
> propertyeditor (hfig, 'toggle')
> ??? Error while evaluating uimenu Callback
found a thread - and a solution: http://groups.google.com/group/comp.soft-sys.matlab/...

> [...] In my case the following folder was missing:
> "$MATLAB\toolbox\matlab\plottools"
>

did help here, too. strangely enough the error occurred only for certain users - even after they had deleted their ~/.matlab directory...

iSync.app (or rather SyncServices) doesn't sync CalDAV calendars

i have some calendars on an Apple CalendarServer and edit them via iCal.app, Thunderbird/Lightning, and a Web Interface - all fine - and synchronization with my phone is done on the mac via iSync.

problem is that i cannot select any of the CalDAV calendars as target to "Put events created on my phone into". as long as i have no dummy local calendar i cannot select to sync calendars at all.

might be a shortcoming of the SyncServices...

references:
  1. http://discussions.apple.com/thread.jspa?threadID=1213588&tstart=0

iSync.app dosn't show calendars (or shows them but won't sync 'em)

i was playing around with the CalDAV support in Leopard's new iCal.app - subscribing to CalDAV servers, WebDAV servers, publishing, deleting them again, etc. in the end i could see, edit, and update most of the calendars i wanted to. unfortunately, i couldn't sync them to my phone...

because:
calendars didn't show up in the iSync dialogue for my phone or
calendars showed up in the dialogue but just didn't sync


i cannot say i have a 'real' solution but at least things work again...

as the data of the calendars was not (i repeat NOT) stored locally i could just delete everything that seemed faintly related to iCal.app, iSync.app, my phone or SyncServices, i.e. i deleted the following files/directories...
~/Library/Preferences/com.apple.iCal*
~/Library/Preferences/com.apple.isync*
~/Library/Preferences/iCalExternalSync.plist
~/Library/Preferences/ByHost/com.apple.syncservices*
~/Library/Preferences/ByHost/com.apple.iCal.helper*
~/Library/Calendars
~/Library/Phones
~/Library/Application\ Support/iSync
~/Library/Application\ Support/SyncServices

...logged out (hm, i even rebooted) and started all over again: hooked up the CalDAV calendars into iCal.app, setup the phone for iSync.app and tried again. calendars are back and sync just fine.