Hi Tomas,

How did you solve this problem?

I have a challenge too, I am building a web server to retrieve data from a 
database and post them on the web using web.py but I get this error below:


http://0.0.0.0:8080/
Traceback (most recent call last):
  File 
"c:\python26\lib\site-packages\web.py-0.36-py2.6.egg\web\application.py", 
line 237, in process
    return self.handle()
  File 
"c:\python26\lib\site-packages\web.py-0.36-py2.6.egg\web\application.py", 
line 227, in handle
    fn, args = self._match(self.mapping, web.ctx.path)
  File 
"c:\python26\lib\site-packages\web.py-0.36-py2.6.egg\web\application.py", 
line 424, in _match
    what, result = utils.re_subm('^' + pat + '$', what, value)
TypeError: cannot concatenate 'str' and 'type' objects

127.0.0.1:60959 - - [01/Aug/2012 12:52:54] "HTTP/1.1 GET /" - 500 Internal 
Server Error
Traceback (most recent call last):
  File 
"c:\python26\lib\site-packages\web.py-0.36-py2.6.egg\web\application.py", 
line 237, in process
    return self.handle()
  File 
"c:\python26\lib\site-packages\web.py-0.36-py2.6.egg\web\application.py", 
line 227, in handle
    fn, args = self._match(self.mapping, web.ctx.path)
  File 
"c:\python26\lib\site-packages\web.py-0.36-py2.6.egg\web\application.py", 
line 424, in _match
    what, result = utils.re_subm('^' + pat + '$', what, value)
TypeError: cannot concatenate 'str' and 'type' objects

127.0.0.1:60959 - - [01/Aug/2012 12:52:55] "HTTP/1.1 GET /favicon.ico" - 
500 Internal Server Error

Kindly assist

On Wednesday, 2 November 2011 16:56:58 UTC, Tomas Schertel wrote:
>
> Problem solved.
>
>
> --
> Tomás Schertel
> ----------------------------------------------
> Linux Registered User #304838
> Arch Linux User
> http://www.archlinux.org/
> ----------------------------------------------
>
>
> On Tue, Nov 1, 2011 at 04:02, Tomás Acauan Schertel 
> <tscher...@gmail.com>wrote:
>
>> Hi there.
>> I did separate my application on a few files. But now I get an annoying 
>> "Internal server error" when pointing my browser to it.
>> Terminal shows this messages:
>>
>> $ ./synergy.py 
>> index.py
>> synergy.py
>> http://0.0.0.0:8080/
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/web/application.py", line 237, 
>> in process
>>     return self.handle()
>>   File "/usr/lib/python2.7/site-packages/web/application.py", line 227, 
>> in handle
>>     fn, args = self._match(self.mapping, web.ctx.path)
>>   File "/usr/lib/python2.7/site-packages/web/application.py", line 424, 
>> in _match
>>     what, result = utils.re_subm('^' + pat + '$', what, value)
>> TypeError: cannot concatenate 'str' and 'instance' objects
>>
>> 127.0.0.1:43018 - - [01/Nov/2011 03:57:36] "HTTP/1.1 GET /" - 500 
>> Internal Server Error
>>
>>
>> Instead of putting code here, I rather show my repository: 
>> https://bitbucket.org/tschertel/synergy/src
>>
>> I'll be very glad if someone could help me.
>> Thanks.
>>
>>
>> --
>> Tomás Schertel
>> ----------------------------------------------
>> Linux Registered User #304838
>> Arch Linux User
>> http://www.archlinux.org/
>> ----------------------------------------------
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/rQxkr5jk9g4J.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to