Re: [web2py] Re: Error ticket for "admin" when trying to create a view

2021-12-17 Thread Jim Steil
Yes, I would suspect the image off that is the main thing that changed.

Jim

On Fri, Dec 17, 2021, 11:13 AM mostwanted  wrote:

> This is happening on a live app, its live, hosted on pythonanywhere. I am
> starting to suspect something though, I recently received an email from
> pythonanywhere.com informing me that I should change  the system image of
> my app because my app is running on an old one called "dangermouse", in a
> year's time that system image will be absolute so I was encouraged to use a
> new one & I changed it. But they also warned that  my code might need
> modification to run with the new system image & i am starting to suspect
> that the system image i chose is the one affecting the normal functionality
> of my app Just suspicions because before i changed my system image all
> was good.
>
> On Friday, December 17, 2021 at 2:52:22 PM UTC+2 Jim S wrote:
>
>> Is it possible your were no longer logged in or that you cleared your
>> browser cache before this happened?
>>
>> Sense really weird. Have you tried with a fresh install of web2py?
>>
>> Jim
>>
>> On Fri, Dec 17, 2021, 5:56 AM mostwanted  wrote:
>>
>>> But that's just the thing, I wasn't trying pass any data, i just trying
>>> to create a new view for a new function In my admin interface, as soon as I
>>> clicked create the error popped up & the view failed to create.
>>>
>>> On Thursday, December 16, 2021 at 7:31:55 PM UTC+2 Jim S wrote:
>>>
 Looks like you're passing some data through the request vars and the
 value is Null.  Would need to see more code to be able to help.

 -Jim

 On Wednesday, December 15, 2021 at 12:09:08 AM UTC-6 mostwanted wrote:

> Hi guys, I'm updating one of my very early projects, I was trying to
> create a view and I got an error:  Error ticket for "admin", I dont
> know what's causing it, how do I fix this? Its a new error that I have
> never encountered before, thats the traceback below. I developed it with
> Version 2.14.6
>
> Traceback
> Traceback (most recent call last):
> File "/home/sesoa/web2py/gluon/restricted.py", line 227, in restricted
> exec ccode in environment
> File "/home/sesoa/web2py/applications/admin/controllers/default.py"
> ,
> line 2000, in 
> File "/home/sesoa/web2py/gluon/globals.py", line 417, in 
> self._caller = lambda f: f()
> File "/home/sesoa/web2py/applications/admin/controllers/default.py"
> ,
> line 1484, in create_file
> redirect(request.vars.sender + anchor)
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>
 --
>>> Resources:
>>> - http://web2py.com
>>> - http://web2py.com/book (Documentation)
>>> - http://github.com/web2py/web2py (Source code)
>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "web2py-users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/web2py/zmRXh10o4Y0/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> web2py+un...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/web2py/5491225e-6ed7-4edc-9776-0bed44a99263n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/zmRXh10o4Y0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/a01d4058-00fc-47e0-87f0-6a2f85551493n%40googlegroups.com
> 
> .
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAERBpoCZDVoabuZMfP%2B%3DmK_on3bi9VZrrgRK%2BNmGHktWuG5fAg%40mail.

Re: [web2py] Re: Error ticket for "admin" when trying to create a view

2021-12-17 Thread mostwanted
This is happening on a live app, its live, hosted on pythonanywhere. I am 
starting to suspect something though, I recently received an email from 
pythonanywhere.com informing me that I should change  the system image of 
my app because my app is running on an old one called "dangermouse", in a 
year's time that system image will be absolute so I was encouraged to use a 
new one & I changed it. But they also warned that  my code might need 
modification to run with the new system image & i am starting to suspect 
that the system image i chose is the one affecting the normal functionality 
of my app Just suspicions because before i changed my system image all 
was good.

On Friday, December 17, 2021 at 2:52:22 PM UTC+2 Jim S wrote:

> Is it possible your were no longer logged in or that you cleared your 
> browser cache before this happened?
>
> Sense really weird. Have you tried with a fresh install of web2py?
>
> Jim
>
> On Fri, Dec 17, 2021, 5:56 AM mostwanted  wrote:
>
>> But that's just the thing, I wasn't trying pass any data, i just trying 
>> to create a new view for a new function In my admin interface, as soon as I 
>> clicked create the error popped up & the view failed to create.
>>
>> On Thursday, December 16, 2021 at 7:31:55 PM UTC+2 Jim S wrote:
>>
>>> Looks like you're passing some data through the request vars and the 
>>> value is Null.  Would need to see more code to be able to help.
>>>
>>> -Jim
>>>
>>> On Wednesday, December 15, 2021 at 12:09:08 AM UTC-6 mostwanted wrote:
>>>
 Hi guys, I'm updating one of my very early projects, I was trying to 
 create a view and I got an error:  Error ticket for "admin", I dont 
 know what's causing it, how do I fix this? Its a new error that I have 
 never encountered before, thats the traceback below. I developed it with  
 Version 2.14.6

 Traceback
 Traceback (most recent call last):
 File "/home/sesoa/web2py/gluon/restricted.py", line 227, in restricted
 exec ccode in environment
 File "/home/sesoa/web2py/applications/admin/controllers/default.py" 
 , 
 line 2000, in 
 File "/home/sesoa/web2py/gluon/globals.py", line 417, in 
 self._caller = lambda f: f()
 File "/home/sesoa/web2py/applications/admin/controllers/default.py" 
 , 
 line 1484, in create_file
 redirect(request.vars.sender + anchor)
 TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

>>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/web2py/zmRXh10o4Y0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> web2py+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/5491225e-6ed7-4edc-9776-0bed44a99263n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/a01d4058-00fc-47e0-87f0-6a2f85551493n%40googlegroups.com.


Re: [web2py] Re: Error ticket for "admin" when trying to create a view

2021-12-17 Thread Jim Steil
Is it possible your were no longer logged in or that you cleared your
browser cache before this happened?

Sense really weird. Have you tried with a fresh install of web2py?

Jim

On Fri, Dec 17, 2021, 5:56 AM mostwanted  wrote:

> But that's just the thing, I wasn't trying pass any data, i just trying to
> create a new view for a new function In my admin interface, as soon as I
> clicked create the error popped up & the view failed to create.
>
> On Thursday, December 16, 2021 at 7:31:55 PM UTC+2 Jim S wrote:
>
>> Looks like you're passing some data through the request vars and the
>> value is Null.  Would need to see more code to be able to help.
>>
>> -Jim
>>
>> On Wednesday, December 15, 2021 at 12:09:08 AM UTC-6 mostwanted wrote:
>>
>>> Hi guys, I'm updating one of my very early projects, I was trying to
>>> create a view and I got an error:  Error ticket for "admin", I dont
>>> know what's causing it, how do I fix this? Its a new error that I have
>>> never encountered before, thats the traceback below. I developed it with
>>> Version 2.14.6
>>>
>>> Traceback
>>> Traceback (most recent call last):
>>> File "/home/sesoa/web2py/gluon/restricted.py", line 227, in restricted
>>> exec ccode in environment
>>> File "/home/sesoa/web2py/applications/admin/controllers/default.py"
>>> ,
>>> line 2000, in 
>>> File "/home/sesoa/web2py/gluon/globals.py", line 417, in 
>>> self._caller = lambda f: f()
>>> File "/home/sesoa/web2py/applications/admin/controllers/default.py"
>>> ,
>>> line 1484, in create_file
>>> redirect(request.vars.sender + anchor)
>>> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/zmRXh10o4Y0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/5491225e-6ed7-4edc-9776-0bed44a99263n%40googlegroups.com
> 
> .
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAERBpoAdjdtNs2ycqOHW2p4z4Uxmtx6DcAoOd6_C2iwg0ieOLA%40mail.gmail.com.


[web2py] Re: Error ticket for "admin" when trying to create a view

2021-12-17 Thread mostwanted
 Honestly i dont know what to rectify and where because the error is not 
coming from my code. This is function I was trying to create a view for, 
its a simple function





*def sold_companies():details=db(db.sold_company).select()
orgCount=len(details)return locals()*

I have attached the image to the Error snapshot:
[image: Screenshot (79).png]


On Friday, December 17, 2021 at 1:56:35 PM UTC+2 mostwanted wrote:

> But that's just the thing, I wasn't trying pass any data, i just trying to 
> create a new view for a new function In my admin interface, as soon as I 
> clicked create the error popped up & the view failed to create.
>
> On Thursday, December 16, 2021 at 7:31:55 PM UTC+2 Jim S wrote:
>
>> Looks like you're passing some data through the request vars and the 
>> value is Null.  Would need to see more code to be able to help.
>>
>> -Jim
>>
>> On Wednesday, December 15, 2021 at 12:09:08 AM UTC-6 mostwanted wrote:
>>
>>> Hi guys, I'm updating one of my very early projects, I was trying to 
>>> create a view and I got an error:  Error ticket for "admin", I dont 
>>> know what's causing it, how do I fix this? Its a new error that I have 
>>> never encountered before, thats the traceback below. I developed it with  
>>> Version 2.14.6
>>>
>>> Traceback
>>> Traceback (most recent call last):
>>> File "/home/sesoa/web2py/gluon/restricted.py", line 227, in restricted
>>> exec ccode in environment
>>> File "/home/sesoa/web2py/applications/admin/controllers/default.py" 
>>> , 
>>> line 2000, in 
>>> File "/home/sesoa/web2py/gluon/globals.py", line 417, in 
>>> self._caller = lambda f: f()
>>> File "/home/sesoa/web2py/applications/admin/controllers/default.py" 
>>> , 
>>> line 1484, in create_file
>>> redirect(request.vars.sender + anchor)
>>> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/bf426f64-3e10-4cbd-ad6f-737d27e843e6n%40googlegroups.com.


[web2py] Re: Error ticket for "admin" when trying to create a view

2021-12-17 Thread mostwanted
But that's just the thing, I wasn't trying pass any data, i just trying to 
create a new view for a new function In my admin interface, as soon as I 
clicked create the error popped up & the view failed to create.

On Thursday, December 16, 2021 at 7:31:55 PM UTC+2 Jim S wrote:

> Looks like you're passing some data through the request vars and the value 
> is Null.  Would need to see more code to be able to help.
>
> -Jim
>
> On Wednesday, December 15, 2021 at 12:09:08 AM UTC-6 mostwanted wrote:
>
>> Hi guys, I'm updating one of my very early projects, I was trying to 
>> create a view and I got an error:  Error ticket for "admin", I dont know 
>> what's causing it, how do I fix this? Its a new error that I have never 
>> encountered before, thats the traceback below. I developed it with  Version 
>> 2.14.6
>>
>> Traceback
>> Traceback (most recent call last):
>> File "/home/sesoa/web2py/gluon/restricted.py", line 227, in restricted
>> exec ccode in environment
>> File "/home/sesoa/web2py/applications/admin/controllers/default.py" 
>> , 
>> line 2000, in 
>> File "/home/sesoa/web2py/gluon/globals.py", line 417, in 
>> self._caller = lambda f: f()
>> File "/home/sesoa/web2py/applications/admin/controllers/default.py" 
>> , 
>> line 1484, in create_file
>> redirect(request.vars.sender + anchor)
>> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/5491225e-6ed7-4edc-9776-0bed44a99263n%40googlegroups.com.