Search found 1803 matches
- Wed Jul 18, 2012 5:40 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 61474
Are you using the version from the download or are you using TortoiseHG? I guess that "could" be an issue with the older version, which is in the download. To get the newest version, look at this wiki page: http://www.sourcepython.com/forums/showwiki.php?title=Source_Python:Building_from_source At t...
- Wed Jul 18, 2012 5:35 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 61474
That is why I asked if you could reupload. Using the same code you have, I get an error on sp_load. The error you get really makes no sense whatsoever. If the base file (<script>/<script>.py) doesn't exist, we call FileNotFoundError, which passes silently. If the file exists, but the addon fails on ...
- Wed Jul 18, 2012 5:00 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 61474
Also, I would like it if people would not use the arguments ev or event_var for this. Instead of a dictionary class being passed, an IGameEvent instance is passed. I mean, if you wish to use it, fine, but "try" to get used to the ideas of this plugin. I typically use GameEvent anymore (since we deci...
- Wed Jul 18, 2012 4:58 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 61474
- Wed Jul 18, 2012 4:53 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 61474
- Tue Jul 17, 2012 11:50 pm
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 55072
- Tue Jul 17, 2012 11:40 pm
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 55072
- Tue Jul 17, 2012 9:46 pm
- Forum: Module/Package Submissions
- Topic: Feature proposal: SP-wide logging -- the python logging module
- Replies: 11
- Views: 424978
Sounds good. Post either here or in the Module/Package Submissions forum when you have something working.
Thanks,
Satoon
Thanks,
Satoon
- Tue Jul 17, 2012 9:44 pm
- Forum: Whatever
- Topic: Good to see development!
- Replies: 6
- Views: 17750
- Tue Jul 17, 2012 3:54 am
- Forum: Whatever
- Topic: Good to see development!
- Replies: 6
- Views: 17750
Welcome, pil. I would like to add that we also hope to have some seriously well done documentation on what all is available for scripters to use. We will attempt to add as much to that as possible. However, we will also need the help of other forum members to help us keep up with all of the document...
- Tue Jul 17, 2012 1:01 am
- Forum: Module/Package Submissions
- Topic: Feature proposal: SP-wide logging -- the python logging module
- Replies: 11
- Views: 424978
We will have to discuss this further internally at a later time. If you wish to work on an API for this on your own, and submit it, we have no issue with that. That would also help us get a better feel for whether or not it is something we would wish to implement. If we decide one way or the other i...
- Tue Jul 17, 2012 12:15 am
- Forum: API Design
- Topic: Issues with __del__
- Replies: 3
- Views: 12154
- Mon Jul 16, 2012 11:50 pm
- Forum: API Design
- Topic: Coding Style
- Replies: 42
- Views: 801261
- Mon Jul 16, 2012 1:05 am
- Forum: API Design
- Topic: Coding Style
- Replies: 42
- Views: 801261
- Mon Jul 16, 2012 12:41 am
- Forum: General Discussion
- Topic: Building from source (Linux) gives Python include error
- Replies: 7
- Views: 23389
- Mon Jul 16, 2012 12:13 am
- Forum: API Design
- Topic: Coding Style
- Replies: 42
- Views: 801261
- Sun Jul 15, 2012 10:58 pm
- Forum: General Discussion
- Topic: A few questions according for scripts
- Replies: 19
- Views: 66134
- Sun Jul 15, 2012 9:10 pm
- Forum: API Design
- Topic: Issues with __del__
- Replies: 3
- Views: 12154
This doesn't seem as big a deal right now as you are trying to lead us to believe. If the object actually isn't removed from memory, that really isn't the fault of using __del__ to unregister for an event. If we don't call __del__, the object will still remain in memory anyway, and the event will no...
- Sun Jul 15, 2012 9:00 pm
- Forum: General Discussion
- Topic: A few questions according for scripts
- Replies: 19
- Views: 66134
- Sun Jul 15, 2012 8:04 pm
- Forum: General Discussion
- Topic: A few questions according for scripts
- Replies: 19
- Views: 66134
Well, the addon system is still a work in progress. The error is being encountered, but no message is being sent. I'll look into why that is in a few. The error you are getting is that you are missing : at the end of your load and unload functions. Also, you might take a look again at this post: htt...