LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2006, 12:11 PM   #1
jharvey
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 12

Rep: Reputation: 0
ArchGenXML error


Hi, I am using ArchGenXML to create Archetypes for a plone site. I have followed the instructions that come with the ArchGenXML download but it is still not working. I created an zuml file called inventory.xmi and am trying to convert it into an archetype for plone by doing this
Code:
./ArchGenXML.py inventory.xmi
to create an archetype for a plone site. However this is the result of running that code:
Code:
ArchGenXML 1.4.0-beta2
(c) 2003-2005 BlueDynamics KEG, under GNU General Public License 2.0 or later
INFO  Parsing...
INFO  Directory in which we're generating the files: ''.
INFO  Generating...
INFO  Starting new Product: 'model 1'.
INFO      Generating class 'inventory'.

***
***Error while reparsing the file ./model_1/__init__.py
***

Traceback (most recent call last):
  File "./ArchGenXML.py", line 80, in ?
    main()
  File "./ArchGenXML.py", line 77, in main
    gen.parseAndGenerate()
  File "/home/jharvey/ArchGenXML/ArchetypesGenerator.py", line 2818, in parseAndGenerate
    self.generateProduct(root)
  File "/home/jharvey/ArchGenXML/ArchetypesGenerator.py", line 2738, in generateProduct
    self.generatePackage(root)
  File "/home/jharvey/ArchGenXML/ArchetypesGenerator.py", line 2469, in generatePackage
    self.generateStdFiles(package)
  File "/home/jharvey/ArchGenXML/ArchetypesGenerator.py", line 2086, in generateStdFiles
    self.generateStdFilesForProduct(package)
  File "/home/jharvey/ArchGenXML/ArchetypesGenerator.py", line 2305, in generateStdFilesForProduct
    self.generateProductInitPy(package)
  File "/home/jharvey/ArchGenXML/ArchetypesGenerator.py", line 2212, in generateProductInitPy
    parsed = self.parsePythonModule(package.getFilePath (), '__init__.py')
  File "/home/jharvey/ArchGenXML/BaseGenerator.py", line 152, in parsePythonModule
    parsed = PyParser.PyModule(targetPath)
  File "/home/jharvey/ArchGenXML/PyParser.py", line 53, in __init__
    self.ast = parser.suite(self.filebuf)
  File "<string>", line 32
    from Products.model 1.config import *
                         ^
SyntaxError: invalid syntax
I do not know what any of this error message means. Does anyone know how I can fix this or someone else who can help me fix this? Thanks

Last edited by jharvey; 05-30-2006 at 03:08 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert Umbrello xmi files to a plone archetype using ArchGenXML jharvey Linux - Software 1 06-18-2006 03:26 PM
Error message received from system Error while reading filter description for true Steel_J Linux - Software 2 03-04-2006 07:10 PM
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-16-2005 12:22 AM
NETPERF: ERROR --> send_udp_stream: error on remote: Interrupted system call dravya Linux - General 1 05-29-2004 06:49 PM
firewall error? couldn't load target "accept ...ipt_accept? error piratebiter Linux - Security 1 09-19-2003 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration