• Remember Mailing List

  • SampleRemember installation?

    from Larry Pitcher on 2008-01-15 23:42
    Hi,
    
    In trying to get my remember-based product installed in my Plone-3.0.5 
    site, I've tried to install sample-remember in a test site. I've added 
    membrane, remember, and sampleremember to my buildout.cfg - all from svn 
    trunk. I create a new Plone site, install membrane, then install 
    remember, both in Add-on Products. Then I attempt to install 
    sampleremember and get the error below. I found the error in the list 
    archives, but no response to the question.
    
    Is sampleremember supposed to be installable as-is?
    
    Here's the error:
    
    Traceback (innermost last):
       Module ZPublisher.Publish, line 119, in publish
       Module ZPublisher.mapply, line 88, in mapply
       Module ZPublisher.Publish, line 42, in call_object
       Module Products.GenericSetup.tool, line 526, in manage_importAllSteps
       Module Products.GenericSetup.tool, line 322, in 
    runAllImportStepsFromProfile
        - __traceback_info__: profile-sampleremember:default
       Module Products.GenericSetup.tool, line 1028, in 
    _runImportStepsFromContext
       Module Products.GenericSetup.tool, line 987, in _doRunImportStep
        - __traceback_info__: membranetool
       Module Products.membrane.exportimport.membranetool, line 157, in 
    importMembraneTool
       Module Products.GenericSetup.utils, line 786, in importObjects
        - __traceback_info__: membrane_tool
       Module Products.GenericSetup.utils, line 542, in _importBody
       Module Products.remember.exportimport.membranetool, line 23, in 
    _importNode
       Module Products.membrane.exportimport.membranetool, line 48, in 
    _importNode
       Module Products.membrane.exportimport.membranetool, line 117, in 
    _initMembraneTypes
       Module Products.membrane.factories.categorymapper, line 93, in 
    replaceCategoryValues
       Module Products.membrane.factories.categorymapper, line 36, in _getCatSet
    KeyError: "Category set 'SampleRemember_membrane_workflow_states' does 
    not exist"
    
    Thanks,
    
    -- 
    Larry Pitcher
    Catapult Solutions
    
    Web:   www.catapultsolutions.net
    Email: larry.pitcher@...
    Skype: larry.pitcher
    Phone: 509.849.2660
    
    Thread Outline:
  • Re: SampleRemember installation?

    from ra on 2008-02-11 21:44
    Larry Pitcher wrote:
    > Hi,
    > 
    > In trying to get my remember-based product installed in my Plone-3.0.5 
    > site, I've tried to install sample-remember in a test site. I've added 
    > membrane, remember, and sampleremember to my buildout.cfg - all from svn 
    > trunk. I create a new Plone site, install membrane, then install 
    > remember, both in Add-on Products. Then I attempt to install 
    > sampleremember and get the error below. I found the error in the list 
    > archives, but no response to the question.
    > 
    > Is sampleremember supposed to be installable as-is?
    
    where are you getting sampleremember from?  remember now ships with 
    sampleremember, you can just copy or symlink the 
    remember/examples/sampleremember directory into the Products directory.
    
    i've never used it, but i just tried it and it installed w/o trouble and seems 
    to be working.  i'm running Plone 3.0.6 from svn, and membrane and remember 
    both from trunk.
    
    -r
    
    • Reporting a bug in Membrane

      from Andy Theyers on 2008-02-12 05:32
      Hi all
      
      Not sure if this is the right place to ask, but I can't find anywhere 
      else, so thought I might start here!
      
      Is http://plone.org/products/membrane/issues the right place to report a 
      bug in Membrane?  I've found a fairly serious one (and hope I've 
      provided a fix too) but am starting to think I've reported it in the 
      wrong place - can anyone advise me?
      
      Also, is Membrane trunk still at 
      https://svn.plone.org/svn/collective/membrane/trunk ?
      
      Cheers
      
      Andy
      -- 
      Isotoma, Open Source Software Consulting - http://www.isotoma.com
      Tel: 01904 567349, Mobile: 07725 269250, Fax: 020 79006980
      Postal Address: Tower House, Fishergate, York, YO10 4UA, UK
      
      Registered in England.  Company No 5171172.  VAT GB843570325.
      Registered Office: 19a Goodge Street, London, W1T 2PH
      
      • Re: Reporting a bug in Membrane

        from ra on 2008-02-12 15:23
        Andy Theyers wrote:
        > Hi all
        > 
        > Not sure if this is the right place to ask, but I can't find anywhere 
        > else, so thought I might start here!
        > 
        > Is http://plone.org/products/membrane/issues the right place to report a 
        > bug in Membrane?  I've found a fairly serious one (and hope I've 
        > provided a fix too) but am starting to think I've reported it in the 
        > wrong place - can anyone advise me?
        
        yes, that's the right place, although i don't think anyone but me is looking 
        there, and i'm only doing so sporadically.  sending a note to this list is a 
        good way to draw attention to an urgent issue.
        
        > Also, is Membrane trunk still at 
        > https://svn.plone.org/svn/collective/membrane/trunk ?
        
        yup.
        
        -r
        
        • Re: Reporting a bug in Membrane

          from Andy Theyers on 2008-02-13 10:07
          Rob Miller wrote:
          > yes, that's the right place, although i don't think anyone but me is 
          > looking there, and i'm only doing so sporadically.  sending a note to 
          > this list is a good way to draw attention to an urgent issue.
          
          Fantastic stuff - good to know.
          
          Thanks
          
          Andy
          -- 
          Isotoma, Open Source Software Consulting - http://www.isotoma.com
          Tel: 01904 567349, Mobile: 07725 269250, Fax: 020 79006980
          Postal Address: Tower House, Fishergate, York, YO10 4UA, UK
          
          Registered in England.  Company No 5171172.  VAT GB843570325.
          Registered Office: 19a Goodge Street, London, W1T 2PH
          
          • Re: Reporting a bug in Membrane

            from ra on 2008-02-13 13:49
            Andy Theyers wrote:
            > Rob Miller wrote:
            >> yes, that's the right place, although i don't think anyone but me is 
            >> looking there, and i'm only doing so sporadically.  sending a note to 
            >> this list is a good way to draw attention to an urgent issue.
            > 
            > Fantastic stuff - good to know.
            
            i looked at the issue in the tracker, btw, and the assessment and the patch 
            look good.
            
            one thing i'd appreciate, however, is if you could write a unit test which 
            demonstrates the problem... i.e. one that fails before you apply your patch, 
            but which passes when the patch has been applied.
            
            also, do you have svn commit access to the collective?  i'm happy to give it 
            to you, in which case you can commit the code yourself, once the test has been 
            written.
            
            -r
            
            • Re: Reporting a bug in Membrane

              from Andy Theyers on 2008-02-13 16:47
              Rob Miller wrote:
              > i looked at the issue in the tracker, btw, and the assessment and the 
              > patch look good.
              
              Excellent stuff - good to know.
              
              > one thing i'd appreciate, however, is if you could write a unit test 
              > which demonstrates the problem... i.e. one that fails before you apply 
              > your patch, but which passes when the patch has been applied.
              
              I've spent the last hour or two trying to get the membrane test suite to 
              run, and can't.  This is likely my own lack of understanding - could 
              someone give me some pointers?
              
              At the moment I have a Plone 2.5.5 site (Zope 2.9.7).  If I run:
              
              andy@coriander:test_membrane$ ./bin/zopectl test -m Products.membrane
              
              It bails out on me with "TypeError: Must provide IPossibleSite" while 
              running SiteLayer.setUp() (where SiteLayer is 
              PloneTestCase.layer.PloneSite).
              
              Any tests that don't rely on 
              Products.membrane.tests.base.MembraneProfilesLayer run OK, any that do 
              rely on it bail out in the same way.
              
              I've tried every version of Plone from 2.5.2 to 2.5.5, and every version 
              of PloneTestCase from 0.9.2 to 0.9.4 just in case, but to no avail.
              
              I am stumped.  I'm assuming that I'm simply invoking the tests 
              incorrectly, but I'm darned if I know how I should be doing it, and I 
              can't find any guidance.
              
              > also, do you have svn commit access to the collective?  i'm happy to 
              > give it to you, in which case you can commit the code yourself, once the 
              > test has been written.
              
              I don't, no.  I would gladly get involved if I could get the tests up 
              and running.
              
              Cheers
              
              Andy
              -- 
              Isotoma, Open Source Software Consulting - http://www.isotoma.com
              Tel: 01904 567349, Mobile: 07725 269250, Fax: 020 79006980
              Postal Address: Tower House, Fishergate, York, YO10 4UA, UK
              
              Registered in England.  Company No 5171172.  VAT GB843570325.
              Registered Office: 19a Goodge Street, London, W1T 2PH
              
              • Re: Reporting a bug in Membrane

                from ra on 2008-02-13 17:40
                Andy Theyers wrote:
                > Rob Miller wrote:
                >> i looked at the issue in the tracker, btw, and the assessment and the 
                >> patch look good.
                > 
                > Excellent stuff - good to know.
                > 
                >> one thing i'd appreciate, however, is if you could write a unit test 
                >> which demonstrates the problem... i.e. one that fails before you apply 
                >> your patch, but which passes when the patch has been applied.
                > 
                > I've spent the last hour or two trying to get the membrane test suite to 
                > run, and can't.  This is likely my own lack of understanding - could 
                > someone give me some pointers?
                > 
                > At the moment I have a Plone 2.5.5 site (Zope 2.9.7).  If I run:
                > 
                > andy@coriander:test_membrane$ ./bin/zopectl test -m Products.membrane
                > 
                > It bails out on me with "TypeError: Must provide IPossibleSite" while 
                > running SiteLayer.setUp() (where SiteLayer is 
                > PloneTestCase.layer.PloneSite).
                
                hmm... it's working for me.  do you get any different results w/ '-s', i.e.:
                
                # ./bin/zopectl test -sProducts.membrane
                
                ?
                
                -r
                
                
                >> also, do you have svn commit access to the collective?  i'm happy to 
                >> give it to you, in which case you can commit the code yourself, once 
                >> the test has been written.
                > 
                > I don't, no.  I would gladly get involved if I could get the tests up 
                > and running.
                
                do you have a plone.org username?  if not, create one and i'll turn on 
                collective access.
                
                -r
                
                • Re: Reporting a bug in Membrane

                  from Andy Theyers on 2008-02-14 02:11
                  Rob Miller wrote:
                  > hmm... it's working for me.  do you get any different results w/ '-s', 
                  > i.e.:
                  > 
                  > # ./bin/zopectl test -sProducts.membrane
                  
                  No - same result, I'm afraid.
                  
                  Just to confirm my exact set up.  Ubuntu Feisty base system.  I then 
                  have a blank Zope 2.9.7 instance (Zope compiled from source).  In the 
                  Products directory of that instance I have unpacked the Plone 2.5.5 tar 
                  ball, the remember release tar ball and have checked membrane trunk out 
                  of SVN.
                  
                  I've done nothing else to it (not even started Zope, for example).
                  
                  $ ./bin/zopectl test -m Products.membrane
                  $ ./bin/zopectl test -s Products.membrane
                  
                  both cause the same error (TypeError: Must provide IPossibleSite)
                  
                  $ ./bin/zopectl test -m Products.membrane.tests.testCategoryMapper
                  
                  Does not fail, while
                  
                  $ ./bin/zopectl test -m Products.membrane.tests.testMembraneGroupManager
                  
                  Does
                  
                  > do you have a plone.org username?  if not, create one and i'll turn on 
                  > collective access.
                  
                  offmessage
                  
                  Cheers
                  
                  Andy
                  -- 
                  Isotoma, Open Source Software Consulting - http://www.isotoma.com
                  Tel: 01904 567349, Mobile: 07725 269250, Fax: 020 79006980
                  Postal Address: Tower House, Fishergate, York, YO10 4UA, UK
                  
                  Registered in England.  Company No 5171172.  VAT GB843570325.
                  Registered Office: 19a Goodge Street, London, W1T 2PH