Today I had to fight with generation of odt from a cakephp web application.
Apparently all the code was right (which happens very seldom to me), but odtphp raised some weird exception. For example, it didn't find the segment and as soon as I used setSegment() the error was fatal.
Don't know how, I recalled a post on the linuxtrent mailing list where someone stated that even openoffice don't fully follow a standard, because it uses an extended version of odf. Well, it seems like if odtphp don't like this extension.
I saved the document in a 1.2 format (see under Edit->Preferences->Save->general) and all worked like a charm (it isn't true: i had to learn that implode don't like empty arrays coming from cake's Set::extract and that i needed a useful patch (thanks!) to use setVars in headers and a few other things).
Hope this help, 'cause I wrote in english, and it was so painful oh how painful, for you.
Etichette
- android (1)
- arkon (1)
- assistenti tecnici di laboratorio informatico (2)
- automi (1)
- bestie (1)
- cakephp (2)
- camera (1)
- canon (1)
- car (1)
- cassettovariabile (1)
- celati (1)
- certificati (1)
- claxon (1)
- cpu speed (1)
- distribuzioni (2)
- dms (1)
- dvd (1)
- dvdisaster (1)
- finestre (2)
- firefox (1)
- firmware (2)
- free (1)
- genitore infame (1)
- google (1)
- grub (2)
- handbrake (1)
- heat (1)
- i3 (3)
- informatica (11)
- informatica lightscribe alien (1)
- italia (1)
- javascript (1)
- key (2)
- ldap (1)
- letteratura (1)
- lg (1)
- linux (10)
- mammi (1)
- mangiare (2)
- maxtor (3)
- md5 (1)
- mediawiki (1)
- miti. Nanni (1)
- monopolio (1)
- moodle (1)
- musica (1)
- nandina (1)
- nslug2 (3)
- odtphp (1)
- omino (1)
- open source (1)
- openoffice (2)
- pdf (1)
- php (1)
- py2exe (1)
- python (2)
- radio (1)
- raspberrypi (4)
- rompicapo (1)
- samba (1)
- scuola (2)
- simile (1)
- Sisifo (1)
- sistema (7)
- ssh (2)
- stenelli (1)
- streaming (1)
- synology (1)
- tg2 costume e società (1)
- timeline (1)
- transmission-daemon (1)
- tv (1)
- u3 system (1)
- ubuntu (3)
- ubuntu network network-manager dnsmasq cache caching (1)
- unicopuntosaldo (1)
- usb (1)
- webradio (1)
- windows (1)
- zenithink (2)
Nessun commento:
Posta un commento