-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Wed, May 27, 2009 at 11:50:54AM -0400, Brent S. Elmer Ph.D. wrote:
>On Wed, 2009-05-27 at 16:10 +0200, Jonas Smedegaard wrote:
>> On Wed, May 27, 2009 at 09:25:50AM -0400, Brent S. Elmer Ph.D. wrote:
>> >On Wed, 2009-05-27 at 00:21 +0200, Frank Lin PIAT wrote:
>> >> The problem seems to occur if the user account specified in 
>> >> /etc/moin/wikilist is member of some other groups that www-data.
>> >> 
>> >> Could you confirm this by sending the output of the command:
>> >> 
>> >> perl -e 'while (@f = getgrent()) { 
>> >>   if (grep { $_ eq "www-data" } split(" ", $f[3]) ) {print "@f\n"}
>> >> }'
>> >> 
>> >> Which is probably looking like:
>> >> 
>> >> wikistuffs * 1007 jdoe www-data
>> 
>> >The command doesn't give me any output:
>> >
>> >bre...@belmer:~$ perl -e 'while (@f = getgrent()) { 
>> >>   if (grep { $_ eq "www-data" } split(" ", $f[3]) ) {print "@f\n"}
>> >> }'
>> 
>> Type it all on a single line.

>Same results, no output.

Yeah, stupid me, the single quotes make the commandline "hold its 
breath" until all is finished.


>I'm not sure what the $)=$grouplist; and all the other $(=, $<=, $>=
>perl nonsense is doing to do much more debugging.  Python is so much
>nicer to work with than perl.

Feel free to provide a similar script written in Python. :-)


>When I run moin-mass-migrate on both systems and print $grouplist it
>prints 
>33 33 
>on both so I'm not sure why 
>$)=$grouplist;
>fails on one but not the other.

I am not sure (I didn't write the script, just stole it from ikiwiki), 
but from perlvar manpage $) contains a list but can only be declared as 
a single value - which might be the cause of this error.  And which 
might explain why you can't "see" a difference.


>Something else I noticed with going from 1.8.2 to 1.8.3 is that some 
>things that used to be in 
>/usr/share/python-support/python-moinmoin/MoinMoin are now in 
>/usr/share/pyshared/MoinMoin.  I couldn't find anything in the 
>changelog about it.

Heh, that's the packaging routines of the "so much nicer" Python that is 
playing tricks: Those are internal paths so irrelevant to document for 
each single Python module package, I believe.

Did that change break anything for you, or were you just curious?


Kind regards,

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREDAAYFAkoddM8ACgkQn7DbMsAkQLg8jQCfZKogtUnc95vzUvHX/AfnaLou
RyUAnRAIjbctWTN7EZto8+iwzKw3KL8o
=W0Fb
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to