Still a problem?

95 views
Skip to first unread message

Kevin

unread,
Jun 15, 2011, 3:46:05 AM6/15/11
to Clone Digger general
I'm getting this same error on Windows. I did a checkout today, and
ran the new script, but same error:

Parsing bios\model\SuccessfulBid.java ... Error: can't parse "bios
\model\SuccessfulBid.java"
: Traceback (most recent call last):
File "c:\Python27\Lib\site-packages\clonedigger-1.1.0-py2.7.egg
\clonedigger\clonedigger.py", line 153, in parse_file
source_file = supplier(file_name)
File "c:\Python27\Lib\site-packages\clonedigger-1.1.0-py2.7.egg
\clonedigger\java_antlr.py", line 64, in __init__
raise s
TypeError: exceptions must be old-style classes or derived from
BaseException, not str

log file says:
java.lang.NoClassDefFoundError: TreeProducer
Caused by: java.lang.ClassNotFoundException: TreeProducer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: TreeProducer. Program will exit.
Exception in thread "main"


Any help?

Peter Bulychev

unread,
Jun 21, 2011, 5:14:40 PM6/21/11
to clonedigg...@googlegroups.com
Hi Kevin,

Sorry, I'm not in the context and I can't remember that we discussed something before :(

If you're facing problems, please 
*) checkout the latest version: svn co https://clonedigger.svn.sourceforge.net/svnroot/clonedigger/trunk clonedigger
*) use Python 2.6 

Please tell me, if you succeed

2011/6/15 Kevin <kevs...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Clone Digger general" group.
To post to this group, send email to clonedigg...@googlegroups.com.
To unsubscribe from this group, send email to clonedigger_gen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/clonedigger_general?hl=en.




--
Best regards,
   Peter Bulychev.

Kevin Steppe

unread,
Jul 6, 2011, 12:56:50 AM7/6/11
to clonedigg...@googlegroups.com, peter.b...@gmail.com
It appears to be a classpath issue.  I was able to get it to run, but it must be run from the clone digger directory.  If I try to run it from the directory of the code (using absolute path for python/clonedigger) it can't find the needed class.  Eventually I'll put the classes on my system level classpath.  For now, running from the clonedigger directory is acceptable.

Thanks,
Kevin

Brian Masson

unread,
Jul 7, 2011, 9:32:36 AM7/7/11
to Clone Digger general
didn't work.
I've installed via easy_install - into virtualenv - unfortunately
there's just the executable (ubuntu) in that folder
running from there still ignores the ignores.
can you shine some light into what classes are needed? I can modify my
class_path
odd that missing classes allow it to work, but only mess up the
ignores?
-Brian

On Jul 6, 12:56 am, Kevin Steppe <kevste...@gmail.com> wrote:
> It appears to be a classpath issue.  I was able to get it to run, but it
> must be run from the clone digger directory.  If I try to run it from
> the directory of the code (using absolute path for python/clonedigger)
> it can't find the needed class.  Eventually I'll put the classes on my
> system level classpath.  For now, running from the clonedigger directory
> is acceptable.
>
> Thanks,
> Kevin
>
> On 22/6/2011 5:14 AM, Peter Bulychev wrote:> Hi Kevin,
>
> > Sorry, I'm not in the context and I can't remember that we discussed
> > something before :(
>
> > If you're facing problems, please
> > *) checkout the latest version: svn co
> >https://clonedigger.svn.sourceforge.net/svnroot/clonedigger/trunk
> > clonedigger
> > *) use Python 2.6
>
> > Please tell me, if you succeed
>
> > 2011/6/15 Kevin <kevste...@gmail.com <mailto:kevste...@gmail.com>>
> >     <mailto:clonedigg...@googlegroups.com>.
> >     To unsubscribe from this group, send email to
> >     clonedigger_gen...@googlegroups.com
> >     <mailto:clonedigger_general%2Bunsu...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages