RPGObjects.com
http://www.rpgobjects.com/forum/

Cannot Update ORPG
http://www.rpgobjects.com/forum/viewtopic.php?f=4&t=960
Page 1 of 1

Author:  scotty [ Tue Nov 30, 2010 10:03 pm ]
Post subject:  Cannot Update ORPG

I just got OpenRPG and when I try to Update it goes unresponsive...What do :'(
Windows 7 - 64 bit computer

I don't know what other info you need so I'll let you guys ask.

Author:  Paul [ Wed Dec 01, 2010 3:39 pm ]
Post subject:  Re: Cannot Update ORPG

How long are you letting it run?

It can take several minutes to update.

I suspect there may be a problem with updating that is on the file server end and not the user end since it seems that several people are having problems updating.


Edit. Just tested update with a fresh install and it did update. I did however get a crash report. I'm not sure if this is the error that is giving people problems or not, it may just be specific to me.


Traceback (most recent call last):
File "/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 14614, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/Users/paul/Desktop/OpenRPG1.8.0 2/orpg/tools/decorators.py", line 106, in new_func
return func(*args, **kwargs)
File "/Users/paul/Desktop/OpenRPG1.8.0 2/orpg/tools/aliaslib.py", line 517, in loadFile
sub.append([self.MakeSafeHTML(rule.get("match")), self.MakeSafeHTML(rule.get("sub"))])
File "/Users/paul/Desktop/OpenRPG1.8.0 2/orpg/tools/decorators.py", line 106, in new_func
return func(*args, **kwargs)
File "/Users/paul/Desktop/OpenRPG1.8.0 2/orpg/tools/aliaslib.py", line 525, in MakeSafeHTML
return str.replace("&amp;", "&").replace("&lt;", "<").replace("&quot;", '"').replace("&gt;", ">").replace("&#39;", "'")
AttributeError: 'NoneType' object has no attribute 'replace'

Author:  prof.ebral [ Sat Dec 04, 2010 4:36 am ]
Post subject:  Re: Cannot Update ORPG

Paul wrote:
How long are you letting it run?

It can take several minutes to update.

I suspect there may be a problem with updating that is on the file server end and not the user end since it seems that several people are having problems updating.


Edit. Just tested update with a fresh install and it did update. I did however get a crash report. I'm not sure if this is the error that is giving people problems or not, it may just be specific to me.


Traceback (most recent call last):
File "/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 14614, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/Users/paul/Desktop/OpenRPG1.8.0 2/orpg/tools/decorators.py", line 106, in new_func
return func(*args, **kwargs)
File "/Users/paul/Desktop/OpenRPG1.8.0 2/orpg/tools/aliaslib.py", line 517, in loadFile
sub.append([self.MakeSafeHTML(rule.get("match")), self.MakeSafeHTML(rule.get("sub"))])
File "/Users/paul/Desktop/OpenRPG1.8.0 2/orpg/tools/decorators.py", line 106, in new_func
return func(*args, **kwargs)
File "/Users/paul/Desktop/OpenRPG1.8.0 2/orpg/tools/aliaslib.py", line 525, in MakeSafeHTML
return str.replace("&amp;", "&").replace("&lt;", "<").replace("&quot;", '"').replace("&gt;", ">").replace("&#39;", "'")
AttributeError: 'NoneType' object has no attribute 'replace'


No, that was part of Traipse too. It's cured in the current beta. The problem is do to the MakeSafeHTML receiving an object that has None as a value. Check your default sample.alias and search for sub, you will one element does not have that. The change to fix this is to add

Code:
        if s == None: return ''

After the defining of MakeSafeHTML

Author:  Paul [ Sat Dec 04, 2010 3:35 pm ]
Post subject:  Re: Cannot Update ORPG

Thanks, will do.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/