Whenenever I login to TWiki using Template Login, I get an error: TWiki
Unknown open() mode '>path'
The bug is backtracable to TWiki.pm line 792.
As far as I can observe the cause, this is due to a faulty merge of
TWiki 4.2 code into the 4.1.2 package. While in the upstream 4.1.2 package
only 'open' is used, TWiki 4.2 uses 'sysopen' from the Fcntl package.
However,
the parameters to the calls differ.
Therefore, the call on line 792 of TWiki.pm should be changed from:
open(F, ">$passthruFilename", O_RDWR|O_EXCL|O_CREAT, 0644) || die
"{TempfileDir} cache not writable $!";
to:
sysopen(F, "$passthruFilename", O_RDWR|O_EXCL|O_CREAT, 0644) || die
"{TempfileDir} cache not writable $!";
Cheers,
Holger
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (700, 'stable'), (650, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-ovz-028stab048.1-smp
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages twiki depends on:
ii apache2.2-common 2.2.3-4+etch4 Next generation, scalable, extenda
ii debconf [debconf-2.0] 1.5.11etch1 Debian configuration management sy
ii libalgorithm-diff-perl 1.19.01-2 a perl library for finding Longest
ii libcgi-session-perl 4.14-1 Persistent session data in CGI app
ii libdigest-sha1-perl 2.11-1 NIST SHA-1 message digest algorith
ii liberror-perl 0.15-8 Perl module for error/exception ha
ii libhtml-parser-perl 3.55-1 A collection of modules that parse
ii liblocale-maketext-lexicon 0.62-1 Lexicon-handling backends for "Loc
ii libtext-diff-perl 0.35-2 Perform diffs on files and record
ii liburi-perl 1.35-2 Manipulates and accesses URI strin
ii perl [libmime-base64-perl] 5.8.8-7etch1 Larry Wall's Practical Extraction
ii perl-modules [libnet-perl] 5.8.8-7etch1 Core Perl modules
ii rcs 5.7-18 The GNU Revision Control System
twiki recommends no packages.
-- debconf information:
* twiki/apacheUserCreationNote:
* twiki/samplefiles: false
* twiki/wikiwebmaster: bpt-fe...@hpi.uni-potsdam.de
* twiki/defaultUrlHost:
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org