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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to