Tracker log
An overview of recent activity in the tracker.
- New issue »Products.remember breaks standard Tests (as documented) in AGX 2.4.1« added by Ian F. Hood
-
Attempting to add Products.remember to an AGX model that has even the most basic test frame will cause the following error(s):
Set up Products.PloneTestCase.layer.PloneSite in 15.333 seconds.
Running:
.
Error in test test_skins (Products.RememberTests.tests.testSetup.testSetup)
Traceback (most recent call last):
File "/mnt/Plone/Zope-2.10.7-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/mnt/Plone/Zope-2.10.7-final-py2.4/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
self._setup()
File "/usr/local/Plone/buildout-cache/eggs/Products.PloneTestCase-0.9.8b4-py2.4.egg/Products/PloneTestCase/PloneTestCase.py", line 77, in _setup
PortalTestCase._setup(self)
File "/mnt/Plone/Zope-2.10.7-final-py2.4/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
self._setupUser()
File "/mnt/Plone/Zope-2.10.7-final-py2.4/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 89, in _setupUser
uf.userFolderAddUser(user_name, user_password, ['Member'], [])
File "<string>", line 3, in _facade
File "/usr/local/Plone/buildout-cache/eggs/plone.protect-1.1-py2.4.egg/plone/protect/utils.py", line 43, in _curried
return callable(*args, **kw)
File "<string>", line 3, in _facade
File "/mnt/Plone/Zope-2.10.7-final-py2.4/lib/python/AccessControl/requestmethod.py", line 64, in _curried
return callable(*args, **kw)
File "/usr/local/Plone/buildout-cache/eggs/Products.PlonePAS-3.7-py2.4.egg/Products/PlonePAS/pas.py", line 126, in userFolderAddUser
self._doAddUser(login, password, roles, domains, **kw)
File "/usr/local/Plone/buildout-cache/eggs/Products.PlonePAS-3.7-py2.4.egg/Products/PlonePAS/pas.py", line 49, in _doAddUser
retval = _old_doAddUser(self, login, password, roles, domains)
File "/usr/local/Plone/buildout-cache/eggs/Products.PluggableAuthService-1.6-py2.4.egg/Products/PluggableAuthService/PluggableAuthService.py", line 941, in _doAddUser
if useradder.doAddUser( login, password ):
File "/mnt/Plone/buildout-cache/eggs/Products.membrane-1.1b5-py2.4.egg/Products/membrane/plugins/usermanager.py", line 283, in doAddUser
adder.addUser(login, password)
File "/mnt/Plone/buildout-cache/eggs/Products.remember-1.1b3-py2.4.egg/Products/remember/utilities.py", line 27, in addUser
mdtool.invokeFactory(mtype, login, password=password)
File "/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/PortalFolder.py", line 315, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/TypesTool.py", line 716, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/TypesTool.py", line 274, in constructInstance
raise AccessControl_Unauthorized('Cannot create %s' % self.getId())
Unauthorized: Cannot create Member
.
Error in test test_tools (Products.RememberTests.tests.testSetup.testSetup)
Traceback (most recent call last):
File "/mnt/Plone/Zope-2.10.7-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
...
...
...Added 689 day(s) ago.
- New issue »can't change widget on copied fields« added by Juan Pablo Gimenez
-
Version: 2.4.1 (not available in the list of versions)
---
On copied fields you can't use the tag widget:type to change the field widget.
Maybe this is not the cleanest solution but works,
--- /home/jpg/libexec/python2.4_x86/lib/python2.4/site-packages/archgenxml-2.4.1-py2.4.egg/archgenxml/ArchetypesGenerator.py 2009-09-16 18:42:18.008433222 -0300
+++ /home/jpg/Descargas/ArchetypesGenerator.py 2009-09-16 18:33:21.740435502 -0300
@@ -1143,6 +1143,13 @@
for key in tgv.keys():
if not key.startswith('widget:'):
continue
+ if key == 'widget:type':
+ tgv[key]=utils.getExpression(tgv[key])
+ print >>outfile, """widget = %s()
+widget.label = copied_fields['%s'].widget.label
+copied_fields['%s'].widget = widget""" % \
+ (tgv[key], attr.getName(), attr.getName())
+ continue
if key not in self.nonstring_tgvs:
tgv[key]=utils.getExpression(tgv[key])
print >>outfile, "copied_fields['%s'].widget.%s = %s" % \Added 876 day(s) ago.
- Vincent Fretin added a new response to »Image field type should generate AttributeStorage, not AnnotationStorage«:
-
Hi,
Please note the archgenxml release is not updated on plone.org, I can't add the release because of a PloneSoftwareCenter permission issue. Only the creator of the project, Jens, can update it for the moment.
The most recent version is on pypi, and in trunk buildout of course.
You're problem is known issue and you found the workaround. :-)
I think it was Jens who changed the default, the benefit of using AnnotationStorage for image is that the image will not be waken up when you wake up the object. The image will be waken up if you really need it.
I know you have to implement some traverse method to actually be able to use AnnotationStorage for images, try to search of archetypes-users mailing-list, I think there is a discussion there about it...
You should login when you create a ticket so I can see who you are. :-)
More importantly you will be notified by mail I guess.Added 917 day(s) ago.
- (anonymous) added a new response to »Image field type should generate AttributeStorage, not AnnotationStorage«:
-
Indeed. I am seeing this with AGX 2.4.1 when using ArgoUML version:
<argo version="5">
<documentation>
<authorname></authorname>
<authoremail></authoremail>
<version>0.24</version>
<description>
...Added 917 day(s) ago.
- Vincent Fretin added a new response to »argo profile tagged value expression missing«:
-
Yes, you can edit the XMI file or edit TaggedValueSupport.py to add the new tagged-value and regenerate the profile with bin/agx_argouml_profile.
Please note the profile is named archgenxml_profile.xmi now. Please don't use an old argouml_profile.xmi with recent version of ArgoUML.Issue state: Unconfirmed → Resolved.
Responsible manager: (UNASSIGNED) → vincentfretin.
Added 928 day(s) ago. - Vincent Fretin added a new response to »rJFVlYebLmaHu«:
-
Issue state: Unconfirmed → Rejected.
Added 928 day(s) ago. - Roberson Duarte de Melo Sa added a new response to »argo profile tagged value expression missing«:
-
You can add a new tagged value in your argouml_dir/profiles/argouml_profile.xmi . Like this:
xmi.720; 720.1 > update to your last number
<UML:TagDefinition xmi.id = 'xmi.720' name = 'expression' isSpecification = 'false' tagType = 'String'>
<UML:ModelElement.namespace>
<UML:Namespace xmi.idref="-6x--88-11--16-e9dbfe:e2d71a1c1e:-7fff"/>
</UML:ModelElement.namespace>
<UML:TagDefinition.multiplicity>
<UML:Multiplicity xmi.id = 'xmi.720.1'>
<UML:Multiplicity.range>
<UML:MultiplicityRange xmi.id = 'xmi.720.2' lower = '0' upper = '1'/>
</UML:Multiplicity.range>
</UML:Multiplicity>
</UML:TagDefinition.multiplicity>
</UML:TagDefinition>
Then restart your ArgoUML and enjoy !Added 935 day(s) ago.
- (anonymous) added a new response to »argo profile tagged value expression missing«:
-
You can add a new tagged value in your argouml_dir/profiles/argouml_profile.xmi . Like this:
xmi.720; 720.1 > update to your last number
<UML:TagDefinition xmi.id = 'xmi.720' name = 'expression' isSpecification = 'false' tagType = 'String'>
<UML:ModelElement.namespace>
<UML:Namespace xmi.idref="-6x--88-11--16-e9dbfe:e2d71a1c1e:-7fff"/>
</UML:ModelElement.namespace>
<UML:TagDefinition.multiplicity>
<UML:Multiplicity xmi.id = 'xmi.720.1'>
<UML:Multiplicity.range>
<UML:MultiplicityRange xmi.id = 'xmi.720.2' lower = '0' upper = '1'/>
</UML:Multiplicity.range>
</UML:Multiplicity>
</UML:TagDefinition.multiplicity>
</UML:TagDefinition>
Then restart your ArgoUML and enjoy !Added 935 day(s) ago.
- New issue »rJFVlYebLmaHu« added by (anonymous)
-
IlSJQt <a href="http://dhgkrowbjpom.com/">dhgkrowbjpom</a>, [url=http://fdczmcwqsmky.com/]fdczmcwqsmky[/url], [link=http://amvamhxnohww.com/]amvamhxnohww[/link], http://mhdenisnsarb.com/
Added 936 day(s) ago.
- New issue »Image field type should generate AttributeStorage, not AnnotationStorage« added by (anonymous)
-
In the ArchGenXML 2 - Developers Manual (http://plone.org/[…]/quick-reference) says that for a image type the default storage is AttributeStorage.
But it generates AnnotationStorage by default, and it does not work. I think it should use AttributeStorage indeed.
The obvious workaround is to add a tag "storage" with value "python:AttributeStorage()".
NOTE: I have found this in ArchGenXML version 2.4.1 (downloaded from svn with buildout), but in this web I only see up to version 2.2.Added 975 day(s) ago.
- (anonymous) added a new response to »argoUML usecase diagram problem«:
-
hi
Added 976 day(s) ago.
- Vincent Fretin added a new response to »ArgoUML profile, xmi.ids are different if you add a new tgv«:
-
Thanks Tom for the clarification.
Responsible manager: (UNASSIGNED) → vincentfretin.
Added 1004 day(s) ago. - Tom Morris added a new response to »ArgoUML profile, xmi.ids are different if you add a new tgv«:
-
I just noticed Vincent's response here after a long delay and wanted to clarify a possible misconception. As far as XMI is concerned, a given xmi.id only needs to be unique within a given XMI file (i.e. it is implicitly qualified by the context of the file). It's possible that there's some human benefit to being able to track unique UUIDs globally, but it's not something that UML/XMI requires. As far as I know, it's also not a requirement of any UML tool. It's certainly not a requirement for ArgoEclipse or ArgoUML.
Added 1004 day(s) ago.
- Vincent Fretin added a new response to »archgenxml fails with 'datatype not defined' error when following tutorial instructions«:
-
Hi, latest version are on pypi and are official. I've problem updating the release on plone.org, I don't have rights (I filed a bug report for this) and Jens seems busy to update the release.
With ArgoUML 0.28, you should not use the UML 1.4 profile, only AGXProfile. Please read again entirely the Getting Started part of the archgenxml2 manual I have updated recently.
Please use the archetypes-users mailing-list if you have problems. I'm not alerted when there is new issues on this tracker. It seems nobody look at this tracker. And please don't use comments on the manual installation page. Only archetypes-users mailing-list. Thanks!Issue state: Unconfirmed → Resolved.
Responsible manager: (UNASSIGNED) → vincentfretin.
Added 1005 day(s) ago. - Bob Kline added a new response to »archgenxml fails with 'datatype not defined' error when following tutorial instructions«:
-
Here's the XMI which resulted from following steps 1-7 above.
Added 1025 day(s) ago.
- Bob Kline added a new response to »archgenxml fails with 'datatype not defined' error when following tutorial instructions«:
-
Added 1026 day(s) ago.
- New issue »archgenxml fails with 'datatype not defined' error when following tutorial instructions« added by Bob Kline
-
Following the steps described in the Hello World tutorial (http://plone.org/[…]/hello-world) results in an exception. I'll attach both the exception stack trace and the archgenxml log file. I'm a little confused about versions. The home page makes it look as if 2.2 is the most current released version, but PyPI has version 2.4.1, which is what was used for the files I'll attach (though the same thing happens with both versions). Version 2.4.1 doesn't appear in the Version pulldown above, so I picked 2.2. Is PyPI posting unofficial versions which aren't approved by the archgenxml team?
This is on i686 LTS Ubuntu 8.04 (so Python 2.5.2).Added 1026 day(s) ago.
- New issue »Zope 3 interfaces can't contain zope formlib definitions« added by Derek Broughton
-
Because there's no "protected section" in the zope3_interface.pydtml file, if you use an interface for a formlib definition, the variables all get removed on the next run of AGX. The following patch adds a protected section:
--- /home/derek/plone/eggs/archgenxml-2.3-py2.4.egg/archgenxml/templates/zope3_interface.pydtml 2009-03-29 12:05:49.000000000 -0300
+++ /usr/lib/python2.4/site-packages/archgenxml-2.3-py2.4.egg/archgenxml/templates/zope3_interface.pydtml 2009-03-30 12:16:32.000000000 -0300
@@ -6,7 +6,6 @@
"""<dtml-var "utils.indent(klass.getDocumentation(), 1, skipFirstRow=True, stripBlank=True)">
"""
-<dtml-var "generator.getProtectedSection(parsed_class,'class-header_'+klass.getCleanName(),1)">
<dtml-in "generator.getMethodsToGenerate(klass)[0]">
<dtml-let m="_['sequence-item']">
def <dtml-var "m.getName()">(<dtml-var "', '.join(m.getParamNames())">):Added 1046 day(s) ago.
- New issue »Zope 3 interfaces can't contain zope formlib definitions« added by Derek Broughton
-
Because there's no "protected section" in the zope3_interface.pydtml file, if you use an interface for a formlib definition, the variables all get removed on the next run of AGX. The following patch adds a protected section:
--- /home/derek/plone/eggs/archgenxml-2.3-py2.4.egg/archgenxml/templates/zope3_interface.pydtml 2009-03-29 12:05:49.000000000 -0300
+++ /usr/lib/python2.4/site-packages/archgenxml-2.3-py2.4.egg/archgenxml/templates/zope3_interface.pydtml 2009-03-30 12:16:32.000000000 -0300
@@ -6,7 +6,6 @@
"""<dtml-var "utils.indent(klass.getDocumentation(), 1, skipFirstRow=True, stripBlank=True)">
"""
-<dtml-var "generator.getProtectedSection(parsed_class,'class-header_'+klass.getCleanName(),1)">
<dtml-in "generator.getMethodsToGenerate(klass)[0]">
<dtml-let m="_['sequence-item']">
def <dtml-var "m.getName()">(<dtml-var "', '.join(m.getParamNames())">):Added 1046 day(s) ago.
- Derek Broughton added a new response to »Code & Documentation tagged-values are ignored«:
-
This appears worse than expected.
I'm finding that in a <<python_class>> not only will it not use my documentation from the model, but if I put a class doc string in the code, it gets erased every time I rerun archgenxml.Added 1067 day(s) ago.
