WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 02-22-2011, 10:48 AM
Enlil Enlil is offline
Join Date: May 2008
Posts: 61
Debug error

I managed to get some code running using the Run Script option, but when I tried to debug, I got the following error (related to the Queue object)
Traceback (most recent call last):
Traceback (most recent call last):
  File "C:\Program Files (x86)\WorldViz\Vizard4\python\", line 271, in start
  File "C:\Program Files (x86)\WorldViz\Vizard4\python\", line 359, in message_loop
    id,data = self.wait_for_message([_DM_INITIALIZED])
  File "C:\Program Files (x86)\WorldViz\Vizard4\python\", line 381, in wait_for_message
    id,data = self.message_queue.get()
AttributeError: 'Queue' object has no attribute 'get'
** Load Time: 0.01 seconds
  File "C:\Program Files (x86)\WorldViz\Vizard4\python\", line 338, in handle_message
AttributeError: 'Queue' object has no attribute 'put'
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Program Files (x86)\WorldViz\Vizard4\bin\lib\", line 530, in __bootstrap_inner
  File "C:\Program Files (x86)\WorldViz\Vizard4\bin\lib\", line 483, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Program Files (x86)\WorldViz\Vizard4\python\", line 364, in message_loop
AttributeError: 'Queue' object has no attribute 'put'
This is from a fairly large program with a lot of imports. The samples I have tried have run fine.

Reply With Quote
Old 02-22-2011, 11:09 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
The error AttributeError: 'Queue' object has no attribute 'get' is suspicious. It seems like something is conflicting with the Queue module that is part of the standard library. Do you have a module in your script directory that is called Queue?
Reply With Quote
Old 02-23-2011, 07:13 AM
Enlil Enlil is offline
Join Date: May 2008
Posts: 61
Oops, you are quite right - somebody did create a Queue class at some point. I'll have to change that.

Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: Failed to load .ive file turgutm Vizard 1 09-16-2010 05:16 AM
5DT glove ultra error 5dt.dls failed kabk Vizard 2 05-05-2009 12:43 PM
Howto debug a custom plugin? reedev Plug-in development 3 04-23-2009 02:16 PM
Loading morph mesh error. vEsotu Vizard 2 03-14-2009 06:29 PM
The error window that couldn't FlyingWren Vizard 2 12-02-2003 08:23 AM

All times are GMT -7. The time now is 04:24 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC