We cannot help without seing the code and being able to reproduce the 
problem.

Can you make a simple example to show the problem. This is probably not a 
bug. Virtual fields have been experimental for long time. We may have 
changed something in the API and you are using an old syntax.

Also, which version are you upgrading from?

Massimo

On Monday, 8 April 2013 10:49:30 UTC-5, Kenneth wrote:
>
>  Hello,
>
> have tested 2.4.2., 2.4.5 and today 2.4.6 and still receiving the same 
> error. 
>
>
> Kenneth
>
>  you're still using 2.4.2 or upgraded to 2.4.6? There were some changes, 
> including bug fixes from one to another... 
>
>
> 2013/4/8 Kenneth <[email protected] <javascript:>>
>
>> Nobody has any pointers how to fix this? I'm using powertable plugin in 
>> my app and if possible don't want to replace it right now. 
>>
>>
>> Kenneth
>>
>>
>> Den lördagen den 9:e mars 2013 kl. 21:11:20 UTC+2 skrev Kenneth: 
>>  
>>> Hi,
>>>
>>> anybody have any ideas where to start solving this?
>>>
>>> Traceback 
>>>   
>>> 1.
>>> 2.
>>> 3.
>>> 4.
>>> 5.
>>> 6.
>>> 7.
>>> 8.
>>> 9.
>>> 10.
>>> 11.
>>> 12.
>>> 13.
>>> 14.
>>> 15.
>>> 16.
>>> 17.
>>> 18.
>>> 19.
>>> 20.
>>>
>>>  Traceback (most recent call last):
>>>   File "/gluon/restricted.py", line 212, in restricted
>>>
>>>     exec ccode in environment
>>>   File "/applications/economy/controllers/receipt.py" 
>>> <https://economy.nudata.fi/admin/edit/economy/controllers/receipt.py>, line 
>>> 705, in <module>
>>>
>>>   File "/gluon/globals.py", line 193, in <lambda>
>>>
>>>     self._caller = lambda f: f()
>>>
>>>   File "/gluon/tools.py", line 2942, in f
>>>
>>>     return action(*a, **b)
>>>   File "/applications/economy/controllers/receipt.py" 
>>> <https://economy.nudata.fi/admin/edit/economy/controllers/receipt.py>, line 
>>> 439, in show_receipts
>>>
>>>     return dict(table=powerTable.create())
>>>
>>>   File "/applications/economy/models/plugin_powertable.py" 
>>> <https://economy.nudata.fi/admin/edit/economy/models/plugin_powertable.py>, 
>>> line 704, in plugin_powertable
>>>
>>>     PowerTable(),
>>>   File "/applications/economy/models/plugin_powertable.py" 
>>> <https://economy.nudata.fi/admin/edit/economy/models/plugin_powertable.py>, 
>>> line 178, in __init__
>>>
>>>     headers[c] = sqlrows.db[t][f].label
>>>
>>>   File "/gluon/dal.py", line 7758, in __getitem__
>>>
>>>     return self.__getattr__(str(key))
>>>
>>>   File "/gluon/dal.py", line 7765, in __getattr__
>>>
>>>     return ogetattr(self, key)
>>> AttributeError: 'DAL' object has no attribute 'virtual'
>>>
>>>    Error snapshot [image: help] 
>>> <https://economy.nudata.fi/admin/default/ticket/economy/100.100.0.177.2013-03-09.20-47-03.16e5aa6e-7d39-4ad0-8977-ab55a40202ff#>
>>>  
>>>
>>> <type 'exceptions.AttributeError'>('DAL' object has no attribute 
>>> 'virtual')
>>>
>>>
>>>  
>>>  
>>>
>>> Den tisdagen den 5:e mars 2013 kl. 20:47:19 UTC+2 skrev Kenneth: 
>>>>
>>>> Hi, 
>>>>
>>>> I usually find what row causes the problem but not in this case. I'm 
>>>> using the plugin_PowerGrid. Anyone using PowerGrid with the new web2py 
>>>> version?
>>>>
>>>>
>>>> Kenneth
>>>>
>>>>
>>>>
>>>> maybe showing what line of your code raised the Exception will help...
>>>>
>>>>>
>>>>> On Tuesday, March 5, 2013 5:51:57 PM UTC+1, Kenneth wrote: 
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I upgraded my production server to 2.4.2. yesterday.I thought 
>>>>>> everything was looking good until I just got: Error ticket
>>>>>>
>>>>>> File "/data/domains/web2py/gluon/dal.py", line 7765, in __getattr__
>>>>>>
>>>>>>     return ogetattr(self, key)
>>>>>> AttributeError: 'DAL' object has no attribute 'virtual'
>>>>>>
>>>>>> Is this easy to fix?
>>>>>>
>>>>>>
>>>>>> Kenneth
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>   -- 
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>  
>  
>
>
>  -- 
> []'s
> Marco Tulio 
> -- 
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>
> 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to