Comments (12)
Make sure your cogs are up to date. It the issue persists, post a screenshot or copy of any errors printed to your console when this happens.
from calebj-cogs.
I'll close this in a day (at the two week mark) without a reply.
from calebj-cogs.
Closing due to inactivity.
from calebj-cogs.
Hi,
Sorry for the late reply.
I have updated all my cogs and tried again. First I load punish which loads fine, and then I load serverquotes and it returns this.
File "/root/Red-DiscordBot/cogs/owner.py", line 65, in load
self._load_cog(module)
File "/root/Red-DiscordBot/cogs/owner.py", line 945, in _load_cog
self.bot.load_extension(mod_obj.name)
File "lib/discord/ext/commands/bot.py", line 738, in load_extension
lib.setup(self)
File "/root/Red-DiscordBot/cogs/serverquotes.py", line 258, in setup
n = ServerQuotes(bot)
File "/root/Red-DiscordBot/cogs/serverquotes.py", line 58, in init
self.analytics = CogAnalytics(self)
File "", line 226, in init
File "", line 202, in send_action
File "", line 212, in _gc
File "", line 48, in upgrade
AttributeError: type object 'GVAnalytics' has no attribute 'replace'
If I try and load them in the opposite order, serverquotes loads fine, punish then loads fine but then it unloads serverquotes with nothing showing in the console.
from calebj-cogs.
You just need to update all of the cogs from my repo. I haven't seen the unloading behavior before, but the code has been set up for a while to ignore things like this while loading. Your version is from before that change.
from calebj-cogs.
Hi,
Just ran cog update again, completed with no errors.
I loaded serverquotes first, then loaded punish no problem. As soon as I try and run the !quote command this comes back on the trackback.
File "lib/discord/ext/commands/bot.py", line 252, in _run_extra
yield from coro(*args, **kwargs)
File "/root/Red-DiscordBot/cogs/serverquotes.py", line 240, in on_command
self.analytics.command(ctx)
File "", line 231, in command
File "", line 202, in send_action
File "", line 212, in _gc
File "", line 48, in upgrade
AttributeError: type object 'GVAnalytics' has no attribute 'replace'
from calebj-cogs.
Did you use the Red portal cog to perform the installation? If so, updates are broken and you will have to mark them all as installed again. This is a bug with the portal cog.
You may also need to restart the bot.
from calebj-cogs.
Yes, I used the cog command to add the repo and then install the cog. I done this for both serverquotes and punish.
from calebj-cogs.
Just done a restart, same thing.
from calebj-cogs.
Check my edit; portal cog installation is broken. It's issue orels1/Red-Portal-Cogs#13, the only one open on that repo right now <.>
from calebj-cogs.
Could you please advise how I would go about installing these without the portal cog installer?
from calebj-cogs.
Just install them like any other cog, as if you were installing them for the first time. The downloader won't care if the .py files exist in cogs/
already.
Red-portal should have added the repo as calebj-cogs
, so you'll want to do this for each cog you have: [p]cog install calebj-cogs <COGNAME>
.
from calebj-cogs.
Related Issues (20)
- [dice] Cog is blocking HOT 1
- [giveaways] Creation Thread HOT 3
- [recensor] Multi-message whitelist mode
- [punish] Workaround for allow overrides HOT 2
- captcha cog issue HOT 1
- captcha cog issye HOT 1
- [captcha] Double challenge, then kick HOT 9
- [recensor] Include matched (sub)string in message substitutions
- [punish] scheduled role removal sometimes fails
- [xorole] Suggestion: Auto deleting with xorole commands. HOT 3
- [punish] Add clean-bans feature
- [dice] handle freeze in dice verbose command
- [xorole] auto-remove conflicting role(s) on external role add
- [punish] Potential race/conflict with stickyroles
- [scheduler] unstable repeating events
- [punish] Argument avoidal role
- [activitylog] Maximum channels, throwing status message
- [activitylog] Weekly log rotation generates incorrect rotation string
- No cogs show up HOT 2
- Can't find any cogs (Red V3) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calebj-cogs.