error from ArchgenXML 2.3

7 messages Options
Embed this post
Permalink
Rick Moore-2 () error from ArchgenXML 2.3
Reply Threaded More More options
Print post
Permalink
I get the following error from ArchgenXML 2.3 whenever I try to include
a portlet in the UML model :

Traceback (most recent call last):
  File "C:\DevTools\Python-2.4.4\Scripts\archgenxml-script.py", line 9, in ?
    sys.exit(
  File
"c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchGenXML.py",
line 114, in main
    gen.parseAndGenerate()
  File
"c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py",
line 4107, in parseAndGenerate
    profile_dir=self.options.option('profile_dir'))
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 2840, in parse
    root = buildHierarchy(doc, packages, profile_docs=profile_docs)
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 2760, in buildHierarchy
    res.buildClassesAndInterfaces()
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 1397, in buildClassesAndInterfaces
    self.buildClasses()
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 1376, in buildClasses
    p.buildClasses()
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 1371, in buildClasses
    xc = XMIClass(c, package=self)
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 1559, in __init__
    XMIElement.__init__(self, *args, **kw)
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 833, in __init__
    self.initFromDOM(domElement)
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 1575, in initFromDOM
    XMIElement.initFromDOM(self, domElement)
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 888, in initFromDOM
    self.calculateStereoType()
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 1097, in calculateStereoType
    return XMI.calculateStereoType(self)
  File
"c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
line 665, in calculateStereoType
    st = stereotypes[id]
KeyError: u'archgenxml_profile.xmi#ca972a9e-e25b-5044-bc07-86a54f74833d'


This happens for models built in both ArgoUML 26.2 and ArgoUML 27.3.

I don't see much documentation on the new features, so I am wondering if
portlet_class is in the profile but not yet supported by the generator.


Rick Moore
Content Management Specialist
Information Science
Cornell University

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Vincent Fretin () Re: error from ArchgenXML 2.3
Reply Threaded More More options
Print post
Permalink
On Thu, Feb 5, 2009 at 8:22 PM, Rick Moore <[hidden email]> wrote:

> I get the following error from ArchgenXML 2.3 whenever I try to include
> a portlet in the UML model :
>
> Traceback (most recent call last):
>  File "C:\DevTools\Python-2.4.4\Scripts\archgenxml-script.py", line 9, in ?
>    sys.exit(
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchGenXML.py",
> line 114, in main
>    gen.parseAndGenerate()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py",
> line 4107, in parseAndGenerate
>    profile_dir=self.options.option('profile_dir'))
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 2840, in parse
>    root = buildHierarchy(doc, packages, profile_docs=profile_docs)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 2760, in buildHierarchy
>    res.buildClassesAndInterfaces()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1397, in buildClassesAndInterfaces
>    self.buildClasses()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1376, in buildClasses
>    p.buildClasses()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1371, in buildClasses
>    xc = XMIClass(c, package=self)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1559, in __init__
>    XMIElement.__init__(self, *args, **kw)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 833, in __init__
>    self.initFromDOM(domElement)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1575, in initFromDOM
>    XMIElement.initFromDOM(self, domElement)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 888, in initFromDOM
>    self.calculateStereoType()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1097, in calculateStereoType
>    return XMI.calculateStereoType(self)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 665, in calculateStereoType
>    st = stereotypes[id]
> KeyError: u'archgenxml_profile.xmi#ca972a9e-e25b-5044-bc07-86a54f74833d'
>
>
> This happens for models built in both ArgoUML 26.2 and ArgoUML 27.3.
>
> I don't see much documentation on the new features, so I am wondering if
> portlet_class is in the profile but not yet supported by the generator.

Hi,
please use the -p option to specify the directory of the archgenxml_profile.xmi.
archgenxml -p /path/to/archgenxml_buildout/src/archgenxml/umltools/argouml/
yourproject.zargo

--
Vincent Fretin

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Sven Deichmann () Re: error from ArchgenXML 2.3
Reply Threaded More More options
Print post
Permalink
Hi,
thats gives me:

archgenxml: error: no such option: -p

(archgenxml 2.2)

Sven Deichmann

Vincent Fretin wrote:
On Thu, Feb 5, 2009 at 8:22 PM, Rick Moore <rem63@cornell.edu> wrote:
> I get the following error from ArchgenXML 2.3 whenever I try to include
> a portlet in the UML model :
>
> Traceback (most recent call last):
>  File "C:\DevTools\Python-2.4.4\Scripts\archgenxml-script.py", line 9, in ?
>    sys.exit(
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchGenXML.py",
> line 114, in main
>    gen.parseAndGenerate()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py",
> line 4107, in parseAndGenerate
>    profile_dir=self.options.option('profile_dir'))
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 2840, in parse
>    root = buildHierarchy(doc, packages, profile_docs=profile_docs)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 2760, in buildHierarchy
>    res.buildClassesAndInterfaces()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1397, in buildClassesAndInterfaces
>    self.buildClasses()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1376, in buildClasses
>    p.buildClasses()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1371, in buildClasses
>    xc = XMIClass(c, package=self)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1559, in __init__
>    XMIElement.__init__(self, *args, **kw)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 833, in __init__
>    self.initFromDOM(domElement)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1575, in initFromDOM
>    XMIElement.initFromDOM(self, domElement)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 888, in initFromDOM
>    self.calculateStereoType()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1097, in calculateStereoType
>    return XMI.calculateStereoType(self)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 665, in calculateStereoType
>    st = stereotypes[id]
> KeyError: u'archgenxml_profile.xmi#ca972a9e-e25b-5044-bc07-86a54f74833d'
>
>
> This happens for models built in both ArgoUML 26.2 and ArgoUML 27.3.
>
> I don't see much documentation on the new features, so I am wondering if
> portlet_class is in the profile but not yet supported by the generator.

Hi,
please use the -p option to specify the directory of the archgenxml_profile.xmi.
archgenxml -p /path/to/archgenxml_buildout/src/archgenxml/umltools/argouml/
yourproject.zargo

--
Vincent Fretin

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Archetypes-users mailing list
Archetypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Vincent Fretin () Re: error from ArchgenXML 2.3
Reply Threaded More More options
Print post
Permalink
On Tue, Feb 10, 2009 at 3:22 PM, Sven Deichmann <[hidden email]> wrote:
>
> Hi,
> thats gives me:
>
> archgenxml: error: no such option: -p
>
> (archgenxml 2.2)
Hi,

-p option is only on archgenxml 2.3.
If you use archgenxml trunk, the -p is not needed anymore because it
search profiles directories configured in
~/.argouml/argo.user.properties

--
Vincent Fretin

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Sven Deichmann () Re: error from ArchgenXML 2.3
Reply Threaded More More options
Print post
Permalink
In reply to this post by Sven Deichmann
I found it, I think...

There is a small not on the plone.org product page that reads:

[update] NO support for ArgoUML 0.26.2 (will be included in next release soon), currently ArgoUML 0.24 is supported

:(

Sven Deichmann wrote:
Hi,
thats gives me:

archgenxml: error: no such option: -p

(archgenxml 2.2)

Sven Deichmann

Vincent Fretin wrote:
On Thu, Feb 5, 2009 at 8:22 PM, Rick Moore <rem63@cornell.edu> wrote:
> I get the following error from ArchgenXML 2.3 whenever I try to include
> a portlet in the UML model :
>
> Traceback (most recent call last):
>  File "C:\DevTools\Python-2.4.4\Scripts\archgenxml-script.py", line 9, in ?
>    sys.exit(
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchGenXML.py",
> line 114, in main
>    gen.parseAndGenerate()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\archgenxml-2.3-py2.4.egg\archgenxml\ArchetypesGenerator.py",
> line 4107, in parseAndGenerate
>    profile_dir=self.options.option('profile_dir'))
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 2840, in parse
>    root = buildHierarchy(doc, packages, profile_docs=profile_docs)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 2760, in buildHierarchy
>    res.buildClassesAndInterfaces()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1397, in buildClassesAndInterfaces
>    self.buildClasses()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1376, in buildClasses
>    p.buildClasses()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1371, in buildClasses
>    xc = XMIClass(c, package=self)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1559, in __init__
>    XMIElement.__init__(self, *args, **kw)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 833, in __init__
>    self.initFromDOM(domElement)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1575, in initFromDOM
>    XMIElement.initFromDOM(self, domElement)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 888, in initFromDOM
>    self.calculateStereoType()
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 1097, in calculateStereoType
>    return XMI.calculateStereoType(self)
>  File
> "c:\devtools\python-2.4.4\lib\site-packages\xmiparser-1.3-py2.4.egg\xmiparser\xmiparser.py",
> line 665, in calculateStereoType
>    st = stereotypes[id]
> KeyError: u'archgenxml_profile.xmi#ca972a9e-e25b-5044-bc07-86a54f74833d'
>
>
> This happens for models built in both ArgoUML 26.2 and ArgoUML 27.3.
>
> I don't see much documentation on the new features, so I am wondering if
> portlet_class is in the profile but not yet supported by the generator.

Hi,
please use the -p option to specify the directory of the archgenxml_profile.xmi.
archgenxml -p /path/to/archgenxml_buildout/src/archgenxml/umltools/argouml/
yourproject.zargo

--
Vincent Fretin

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Archetypes-users mailing list
Archetypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Vincent Fretin () Re: error from ArchgenXML 2.3
Reply Threaded More More options
Print post
Permalink
On Tue, Feb 10, 2009 at 4:49 PM, Sven Deichmann <[hidden email]> wrote:
>
> I found it, I think...
>
> There is a small not on the plone.org product page that reads:
>
> [update] NO support for ArgoUML 0.26.2 (will be included in next release
> soon), currently ArgoUML 0.24 is supported
>
> :(

Indeed
http://plone.org/products/archgenxml
is not up to date. Jens I thought you updated it. Do you have forgotten? :-)

Sven, trust pypi:
http://pypi.python.org/pypi/archgenxml
Normally, you install archgenxml via easy_install or buildout to get
the latest version anyway.
Please read the following document if you didn't read yet:
http://svn.plone.org/svn/archetypes/ArchGenXML/trunk/docs/INSTALL.txt

PS: I asked on plone-docs mailing-list to be able to update
archgenxml2 manual on plone.org.
--
Vincent Fretin

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users
Sven Deichmann () Re: [Archetypes-users] error from ArchgenXML 2.3
Reply Threaded More More options
Print post
Permalink
Well... actually I read http://svn.plone.org/svn/archetypes/ 
ArchGenXML/tags/2.2/umltools/argouml/README.txt and thought that  
version would be great ;)

Am 10.02.2009 um 16:59 schrieb Vincent Fretin (via Nabble):

> On Tue, Feb 10, 2009 at 4:49 PM, Sven Deichmann <deichmann@...> wrote:
> >
> > I found it, I think...
> >
> > There is a small not on the plone.org product page that reads:
> >
> > [update] NO support for ArgoUML 0.26.2 (will be included in next  
> release
> > soon), currently ArgoUML 0.24 is supported
> >
> > :(
>
> Indeed
> http://plone.org/products/archgenxml
> is not up to date. Jens I thought you updated it. Do you have  
> forgotten? :-)
>
> Sven, trust pypi:
> http://pypi.python.org/pypi/archgenxml
> Normally, you install archgenxml via easy_install or buildout to get
> the latest version anyway.
> Please read the following document if you didn't read yet:
> http://svn.plone.org/svn/archetypes/ArchGenXML/trunk/docs/INSTALL.txt
>
> PS: I asked on plone-docs mailing-list to be able to update
> archgenxml2 manual on plone.org.
> --
> Vincent Fretin
>
> ----------------------------------------------------------------------
> --------
> Create and Deploy Rich Internet Apps outside the browser with Adobe
> (R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills  
> and code to
> build responsive, highly engaging applications that combine the  
> power of local
> resources and data with the reach of the web. Download the Adobe  
> AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/ 
> adobe-com
> _______________________________________________
> Archetypes-users mailing list
> Archetypes-users@...
> https://lists.sourceforge.net/lists/listinfo/archetypes-users
>
>
> This email is a reply to your post @ http://n2.nabble.com/error- 
> from-ArchgenXML-2.3-tp2276729p2303253.html
> You can reply by email or by visting the link above.
>

------------------------------------------------------------------------
--------------------------
   Information nimmt Gestalt an... - <http://www.werkbank.com>
------------------------------------------------------------------------
--------------------------
Werkbank Multimedia GmbH * Lothringer Str. 36 * 44805 Bochum * GER
Fon: +49(0)234/ 935386-03  * Fax: 935386-06 * [hidden email]
------------------------------------------------------------------------
--------------------------