wired / colloquypush Goto Github PK
View Code? Open in Web Editor NEWModules for irc clients and bouncers that add Push support to Colloquy Mobile
Home Page: http://colloquy.mobi/
Modules for irc clients and bouncers that add Push support to Colloquy Mobile
Home Page: http://colloquy.mobi/
This repository was created to keep track of the various modules that provide push support for Colloquy Mobile. Instructions for each module should be available in [module_folder]/README Contact me for access, patches or anything else :)
Is it possible to run this as a global module? I have around 6 or 7 networks I connect to with ZNC, and making a change to colloquy push across each network is a total pain. I would much rather prefer to have one set of colloquy push settings for all networks.
I thought it might be because I could be running an older version of something but everything seems up to date. Here's a nice wall of text:
EDIT: I should probably make it a little more clear that I'm using the znc-buildmod package to compile it.
I just upgraded to ZNC 1.2. I redownloaded and compiled the Colloquy file (using znc-buildmod), moved it to the modules directory, and loaded it successfully. But, thus far, no private messages have made it to either of my mobile devices while they're disconnected from the ZNC server. They both DO show up when a /msg *colloquy list is performed. Any ideas?
When you have a IPv6 Internet Connection colloquy Push Modul connects through IPv6 to colloquy.mobi:7906 via IPv6, but the Service does not respond on IPv6 request, so Push is not working.
(Source: IRC Freenode -> #colloquy-mobile -> Operator "NoOneButMe")
znc-buildmod colloquy.cpp
Building "colloquy.so" for ZNC 1.6.3... colloquy.cpp: In member function ‘bool CColloquyMod::Push(const CString&, const CString&, const CString&, bool, int)’:
colloquy.cpp:778:58: error: invalid initialization of reference of type ‘std::vector<CClient*>&’ from expression of type ‘const std::vector<CClient*>’
vector<CClient*>& vpClients = GetNetwork()->GetClients(); 25,381 Alles
^
[ !! ] Error while building "colloquy.so"
$ znc-buildmod colloquy.cpp
Building "colloquy.so" for ZNC 1.7.x... colloquy.cpp: In member function ‘bool CColloquyMod::Push(const CString&, const CString&, const CString&, bool, int)’:
colloquy.cpp:778:58: error: invalid initialization of reference of type ‘std::vector<CClient*>&’ from expression of type ‘const std::vector<CClient*>’
[ !! ] Error while building "colloquy.so"
I'm not getting my buffers played back when I connect in the morning and colloquy module was active.
As argument i have only: -attachedpush 0
I have set nightime to 23:55 - 08:00. No idle time.
I use savebuff and i do not keep buffers. I did not connect from the iphone app, before trying with mirc, I know this would delete the buffer.
When I connect in the morning I just get nothing played back now, this happens only with this module active. I will try tonight to deactivate push in the iphone app, but leave the module loaded.
For some reason, messages from the Watch plugin are not pushed to Colloquy mobile, while normal private messages are.
ZNC says "You have no saved devices..." when I do /msg *colloquy list
I have connected my Mobile Colloquy client to ZNC with the Push Notifications option enabled.
This is with commit 6aca83b running on ZNC 1.0.
http://github.com/wired/colloquypush/issues/closed/#issue/15
can't reopen Issue 15
sry about this
I'm correctly receiving notification for private messages, but they don't seem to be buffered, so that I don't get them in colloquy when I reconnect. As a result, I can lose messages if there are multiple of them while I'm away, or if they are truncated when presented as a notification. I don't know if anything similar happens for highlighted messages in non-private channels.
Hi,
I'm getting an error when the colloquypush-module tries to send a push-message.
The error is as follows; http://home.komsys.org/~jocke/colloquypush-error.txt
Is this colloquypush-related, or ZNC-related? (since Csocket.cpp is a part of ZNC)
Hello, I'm currently getting the error. This seems like to could be a bug in the code (pulled from http://github.com/wired/colloquypush/raw/master/znc/colloquy.cpp) or something goes wrong during the compilation (Currently on Ubuntu 11.10)
PRIVMSG *status loadmod colloquy
*status PRIVMSG Unable to find modinfo [colloquy] [Unable to open module [colloquy] [/home/znc/.znc/modules/colloquy.so: undefined symbol: _ZN7CModule12OnConfigLineERK7CStringS2_P5CUserP5CChan]]
Had some problems getting this to work, initially. Colloquy does its permissions check when it starts up - obviously its quite rare for apps to actually get killed on recent iPhones. So, it's possible to turn on push notifications and not get the permission toggled in iOS, leading to silent failures.
It doesn't request push notifications unless the flag is on in at least one of your connections when it starts up.
So, the module will fail silently if you turn on push without restarting Colloquy. (Hopefully this can be replicated, I just wasted quite a few hours learning this.) Perhaps this could be added to the setup section of the README?
i.e. just something like this
"Manually kill and restart Colloquy if your device is not automatically registered. Ensure Colloquy has been granted push notification privileges."
*** glibc detected *** znc: malloc(): memory corruption: 0x000000001fa98430 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x2ab94b4c65b6]
/lib/libc.so.6(+0x7b6d8)[0x2ab94b4ca6d8]
/lib/libc.so.6(__libc_malloc+0x6e)[0x2ab94b4cb58e]
/usr/lib/libstdc++.so.6(_Znwm+0x1d)[0x2ab94ad6b26d]
/usr/lib/libstdc++.so.6(_ZNSs4_Rep9_S_createEmmRKSaIcE+0x59)[0x2ab94ad47d99]
/usr/lib/libstdc++.so.6(_ZNSs4_Rep8_M_cloneERKSaIcEm+0x2b)[0x2ab94ad4876b]
/usr/lib/libstdc++.so.6(_ZNSs7reserveEm+0x3c)[0x2ab94ad4929c]
/usr/lib/libstdc++.so.6(_ZNSs6appendEPKcm+0x88)[0x2ab94ad494e8]
znc(_ZN5Csock5WriteEPKcm+0x22)[0x4322f2]
/home/lao113/.znc/modules/colloquy.so(_ZN7CDevice4PushERK7CStringS2_S2_bi+0x275)[0x2ab94e0f28d5]
/home/lao113/.znc/modules/colloquy.so(_ZN12CColloquyMod4PushERK7CStringS2_S2_bi+0x5d5)[0x2ab94e0f42e5]
/home/lao113/.znc/modules/colloquy.so(_ZN12CColloquyMod9OnChanMsgER5CNickR5CChanR7CString+0x43)[0x2ab94e0f4a93]
znc(_ZN8CModules9OnChanMsgER5CNickR5CChanR7CString+0x10b)[0x4a083b]
znc(ZN8CIRCSock9OnChanMsgER5CNickRK7CStringRS2+0x130)[0x46f530]
znc(_ZN8CIRCSock8ReadLineERK7CString+0x5108)[0x478c38]
znc(_ZN5Csock8PushBuffEPKcmb+0x111)[0x432e41]
znc(_ZN14TSocketManagerI8CZNCSockE4LoopEv+0x1d5)[0x456365]
znc(_ZN4CZNC4LoopEv+0x69)[0x451869]
znc(main+0x99b)[0x4257fb]
/lib/libc.so.6(__libc_start_main+0xfd)[0x2ab94b46dc4d]
znc[0x424169]
======= Memory map: ========
I was trying to build the ZNC module, but it fails. Any idea?
Here's the output from my Ubuntu Hardy server:
http://pastie.org/610556
Can't build the mod. My error log is here: http://pastie.org/4062083
As I get error messages like:
Building "colloquy.so" for ZNC 0.207...
colloquy.cpp:9:17: error: znc.h: No such file or directory
colloquy.cpp:10:18: error: Chan.h: No such file or directory
colloquy.cpp:11:18: error: User.h: No such file or directory
etc. I'd suppose it has something to do with me not having installed znc
with root access and thus configured with --prefix
. The header files above are now located in ~/znc/include/znc/
for me.
I tried to put the colloquy.cpp
into the modules
directory of the znc source tree as stated here but this didn't help either. Maybe you just need to change the include paths.
So i changed the first #includes
to
#include <znc/znc.h>
#include <znc/Chan.h>
#include <znc/User.h>
#include <znc/Modules.h>
#include <time.h>
and no I get way fewer errors:
Building module colloquy...
colloquy.cpp: In member function ‘virtual CModule::EModRet CColloquyMod::OnUserRaw(CString&)’:
colloquy.cpp:384: error: ‘class CUser’ has no member named ‘GetIRCServer’
colloquy.cpp:384: error: ‘class CUser’ has no member named ‘GetIRCNick’
colloquy.cpp: In member function ‘bool CColloquyMod::Push(const CString&, const CString&, const CString&, bool, int)’:
colloquy.cpp:716: error: ‘class CUser’ has no member named ‘IsIRCAway’
colloquy.cpp:763: error: ‘class CUser’ has no member named ‘GetClients’
colloquy.cpp:788: error: ‘class CUser’ has no member named ‘GetIRCNick’
And now I definitely have to give up. Building the file from tag 1.0 works though.
Been using this module for a while on 1.6.2 till recently it stopped working. No push notifications. Restarted ZNC, enabled/disabled the module...nothing. Thought I would try to update to 1.6.3 to see if it would do anything. I updated to ZNC 1.6.3+deb1+wheezy0 since I am on Deb 7 x64. The module compiles fine, but when I launch ZNC it crashes. This is the debug - http://dpaste.com/1BMMXKK
If I comment out the colloquy module then ZNC launches and runs.
It should be noted that I have applied this fix , which worked for 1.6.2
Building module colloquy...
colloquy.cpp: In member function ‘bool CColloquyMod::Push(const CString&, const CString&, const CString&, bool, int)’:
colloquy.cpp:778:58: error: invalid initialization of reference of type ‘std::vector<CClient*>&’ from expression of type ‘const std::vector<CClient*>’
make[1]: *** [colloquy.o] Fehler 1
make: *** [modules] Fehler 2
:*(
Hi,
I like colloquy on my IPhone and colloquypush for ZNC, but I'd love to see every Setting I can do via /msg *colloquy also on Webinterface.
Also it would be nice to see the list from /msg *colloquy list on Webinterface.
best regards Un1
after compiling the colloquy module using znc-buildmod and moving the module to ~/.znc/modules/
The connection via Colloquy works the first time, but then an issue arises when trying to connect again.
Colloquy can connect to ZNC, but disconnects almost immediately, and i get a message from *status telling me that another client has authenticated as my user. Colloquy displays my nick chosen in the app itself, then switches to my ZNC's nick, and then disconnects.
Upon unloading the module, this problem disappears and i can reconnect to ZNC from colloquy again.
I am using no non-standard modules with ZNC (0.078) and running on Gentoo x86.
There was an update to the Debian znc package that I believe is causing issues when trying to compile this module with znc-buildmod.
Forgive me for some of the odd characters in what I'm about to paste.
fenrir:/home/znc# znc-buildmod colloquy.cpp Building "colloquy.so"... In file included from /usr/include/znc/Socket.h:12,
from /usr/include/znc/Client.h:12,
from /usr/include/znc/znc.h:12,
from colloquy.cpp:9:
/usr/include/znc/Csocket.h:66:18: error: ares.h: No such file or directory
In file included from /usr/include/znc/Socket.h:12,
from /usr/include/znc/Client.h:12,
from /usr/include/znc/znc.h:12,
from colloquy.cpp:9:
/usr/include/znc/Csocket.h:989: error: âares_channelâ does not name a type
/usr/include/znc/Csocket.h:1039: error: âares_channelâ does not name a type
/usr/include/znc/Csocket.h: In member function âvirtual void TSocketManager::Select(std::map<T*, TSocketManager::EMessages, std::less<T*>, std::allocator<std::pair<T* const, TSocketManager::EMessages> > >&)â:
/usr/include/znc/Csocket.h:1897: error: âares_channelâ was not declared in this scope
/usr/include/znc/Csocket.h:1897: error: expected â;â before âpChannelâ
/usr/include/znc/Csocket.h:1898: error: âpChannelâ was not declared in this scope
/usr/include/znc/Csocket.h:1900: error: there are no arguments to âares_fdsâ that depend on a template parameter, so a declaration of âares_fdsâ must be available
/usr/include/znc/Csocket.h:1900: note: (if you use â-fpermissiveâ, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/znc/Csocket.h:1902: error: there are no arguments to âares_timeoutâ that depend on a template parameter, so a declaration of âares_timeoutâ must be available
/usr/include/znc/Csocket.h:2036: error: âares_channelâ was not declared in this scope
/usr/include/znc/Csocket.h:2036: error: expected â;â before âpChannelâ
/usr/include/znc/Csocket.h:2037: error: âpChannelâ was not declared in this scope
/usr/include/znc/Csocket.h:2038: error: there are no arguments to âares_processâ that depend on a template parameter, so a declaration of âares_processâ must be available
/usr/include/znc/Csocket.h: In member function âvoid TSocketManager::Select(std::map<T*, TSocketManager::EMessages, std::less<T*>, std::allocator<std::pair<T* const, TSocketManager::EMessages> > >&) [with T = CZNCSock]â:
colloquy.cpp:783: instantiated from here
/usr/include/znc/Csocket.h:1898: error: âares_fdsâ was not declared in this scope
/usr/include/znc/Csocket.h:1898: error: âares_timeoutâ was not declared in this scope
colloquy.cpp:783: instantiated from here
/usr/include/znc/Csocket.h:2037: error: âares_processâ was not declared in this scope
[ !! ] Error while building "colloquy.so"
Thanks for the assistance if you are able to provide any.
Hi,
I get the following error while trying to build the znc module with the ubuntu supplied znc-buildmod:
http://dpaste.com/hold/144190/
Hello everyone,
I can't build the colloquy module with znc-buildmod (doesn't work with the repo version or the self-compiled versions of znc).
everything works two month ago...Don't know why it didn't work.
Did you have a idea why? If you know why it doesn't work, how i can fix this problem?
Thanks,
paeh
Building "colloquy.so"... colloquy.cpp:14:53: warning: missing terminating ' character
colloquy.cpp:14: error: missing terminating ' character
colloquy.cpp:46:27: warning: character constant too long for its type
colloquy.cpp:52:18: warning: character constant too long for its type
colloquy.cpp:52:33: warning: character constant too long for its type
colloquy.cpp:53:18: warning: character constant too long for its type
colloquy.cpp:55:41: warning: character constant too long for its type
colloquy.cpp:56:19: warning: character constant too long for its type
colloquy.cpp:56:60: warning: character constant too long for its type
colloquy.cpp:56:76: warning: character constant too long for its type
colloquy.cpp:56:92: warning: character constant too long for its type
colloquy.cpp:57:25: warning: character constant too long for its type
colloquy.cpp:57:34: warning: multi-character character constant
colloquy.cpp:73:42: warning: character constant too long for its type
colloquy.cpp:73:91: warning: character constant too long for its type
colloquy.cpp:73:114: warning: character constant too long for its type
colloquy.cpp:76:14: warning: character constant too long for its type
colloquy.cpp:76:47: warning: character constant too long for its type
colloquy.cpp:140:44: warning: multi-character character constant
colloquy.cpp:200: error: stray ‘#’ in program
colloquy.cpp:322:29: warning: character constant too long for its type
colloquy.cpp:323:29: warning: character constant too long for its type
colloquy.cpp:325:25: warning: character constant too long for its type
colloquy.cpp:383:96: error: invalid suffix "d0616df9b90035fe1" on integer constant
colloquy.cpp:1268:54: warning: multi-character character constant
colloquy.cpp:1268:64: warning: multi-character character constant
colloquy.cpp:1268:705: warning: multi-character character constant
colloquy.cpp:1268:715: warning: multi-character character constant
colloquy.cpp:1268:743: warning: multi-character character constant
colloquy.cpp:1268:753: warning: multi-character character constant
colloquy.cpp:1268: error: stray ‘#’ in program
colloquy.cpp:1268:816: warning: multi-character character constant
colloquy.cpp:1268:826: warning: multi-character character constant
colloquy.cpp:1268: error: stray ‘#’ in program
colloquy.cpp:1268:891: warning: multi-character character constant
colloquy.cpp:1268:901: warning: multi-character character constant
colloquy.cpp:1268: error: stray ‘#’ in program
colloquy.cpp:1268:966: warning: multi-character character constant
colloquy.cpp:1268:976: warning: multi-character character constant
colloquy.cpp:1268: error: stray ‘#’ in program
colloquy.cpp:1268:1044: warning: multi-character character constant
colloquy.cpp:1268:1054: warning: multi-character character constant
colloquy.cpp:1268: error: stray ‘#’ in program
colloquy.cpp:1268:1125: warning: multi-character character constant
colloquy.cpp:1268:1135: warning: multi-character character constant
colloquy.cpp:1268:1164: warning: multi-character character constant
colloquy.cpp:1268:1174: warning: multi-character character constant
colloquy.cpp:1268: error: stray ‘#’ in program
colloquy.cpp:1268:1243: warning: multi-character character constant
colloquy.cpp:1268:1253: warning: multi-character character constant
colloquy.cpp:1268:1282: warning: multi-character character constant
colloquy.cpp:1268:1292: warning: multi-character character constant
colloquy.cpp:1268:1401: warning: multi-character character constant
colloquy.cpp:1268:1411: warning: multi-character character constant
colloquy.cpp:1268:1488: warning: multi-character character constant
colloquy.cpp:1268:1498: warning: multi-character character constant
colloquy.cpp:1268:1831: warning: multi-character character constant
colloquy.cpp:1268:1841: warning: multi-character character constant
colloquy.cpp:1268:2136: warning: multi-character character constant
colloquy.cpp:1268:2146: warning: multi-character character constant
colloquy.cpp:1268:2279: warning: multi-character character constant
colloquy.cpp:1268:2289: warning: multi-character character constant
colloquy.cpp:1268:2425: warning: multi-character character constant
colloquy.cpp:1268:2435: warning: multi-character character constant
colloquy.cpp:1268:2569: warning: multi-character character constant
colloquy.cpp:1268:2579: warning: multi-character character constant
colloquy.cpp:1268:2628: warning: multi-character character constant
colloquy.cpp:1268:2638: warning: multi-character character constant
colloquy.cpp:1268:2667: warning: multi-character character constant
colloquy.cpp:1268:2677: warning: multi-character character constant
colloquy.cpp:1268:2838: warning: multi-character character constant
colloquy.cpp:1268:2848: warning: multi-character character constant
colloquy.cpp:1268:2877: warning: multi-character character constant
colloquy.cpp:1268:2887: warning: multi-character character constant
colloquy.cpp:1268:3134: warning: multi-character character constant
colloquy.cpp:1268:3144: warning: multi-character character constant
colloquy.cpp:1268:3335: warning: multi-character character constant
colloquy.cpp:1268:3345: warning: multi-character character constant
colloquy.cpp:1268:3394: warning: multi-character character constant
colloquy.cpp:1268:3404: warning: multi-character character constant
colloquy.cpp:1268:3433: warning: multi-character character constant
colloquy.cpp:1268:3443: warning: multi-character character constant
colloquy.cpp:1268:3719: warning: multi-character character constant
colloquy.cpp:1268:3729: warning: multi-character character constant
colloquy.cpp:1268:4061: warning: multi-character character constant
colloquy.cpp:1268:4071: warning: multi-character character constant
colloquy.cpp:1268:4120: warning: multi-character character constant
colloquy.cpp:1268:4130: warning: multi-character character constant
colloquy.cpp:1268:4159: warning: multi-character character constant
colloquy.cpp:1268:4169: warning: multi-character character constant
colloquy.cpp:1268:4445: warning: multi-character character constant
colloquy.cpp:1268:4455: warning: multi-character character constant
colloquy.cpp:1268:4686: warning: multi-character character constant
colloquy.cpp:1268:4696: warning: multi-character character constant
colloquy.cpp:1268:4888: warning: multi-character character constant
colloquy.cpp:1268:4898: warning: multi-character character constant
colloquy.cpp:1268:4927: warning: multi-character character constant
colloquy.cpp:1268:4937: warning: multi-character character constant
colloquy.cpp:1268:5047: warning: multi-character character constant
colloquy.cpp:1268:5057: warning: multi-character character constant
colloquy.cpp:1268:5107: warning: multi-character character constant
colloquy.cpp:1268:5117: warning: multi-character character constant
colloquy.cpp:1268:5146: warning: multi-character character constant
colloquy.cpp:1268:5156: warning: multi-character character constant
colloquy.cpp:1268:5265: warning: multi-character character constant
colloquy.cpp:1268:5275: warning: multi-character character constant
colloquy.cpp:1268:5324: warning: multi-character character constant
colloquy.cpp:1268:5334: warning: multi-character character constant
colloquy.cpp:1268:5363: warning: multi-character character constant
colloquy.cpp:1268:5373: warning: multi-character character constant
colloquy.cpp:1268:5504: warning: multi-character character constant
colloquy.cpp:1268:5514: warning: multi-character character constant
colloquy.cpp:1268:5681: warning: multi-character character constant
colloquy.cpp:1268:5691: warning: multi-character character constant
colloquy.cpp:1268:5720: warning: multi-character character constant
colloquy.cpp:1268:5730: warning: multi-character character constant
colloquy.cpp:1268:6131: warning: multi-character character constant
colloquy.cpp:1268:6141: warning: multi-character character constant
colloquy.cpp:1268:6303: warning: multi-character character constant
colloquy.cpp:1268:6313: warning: multi-character character constant
colloquy.cpp:1268:6423: warning: multi-character character constant
colloquy.cpp:1268:6433: warning: multi-character character constant
colloquy.cpp:1268:6483: warning: multi-character character constant
colloquy.cpp:1268:6493: warning: multi-character character constant
colloquy.cpp:1268:6522: warning: multi-character character constant
colloquy.cpp:1268:6532: warning: multi-character character constant
colloquy.cpp:1268:6801: warning: multi-character character constant
colloquy.cpp:1268:6811: warning: multi-character character constant
colloquy.cpp:1268:6919: warning: multi-character character constant
colloquy.cpp:1268:6929: warning: multi-character character constant
colloquy.cpp:1268:6978: warning: multi-character character constant
colloquy.cpp:1268:6988: warning: multi-character character constant
colloquy.cpp:1268:7017: warning: multi-character character constant
colloquy.cpp:1268:7027: warning: multi-character character constant
colloquy.cpp:1268:7751: warning: multi-character character constant
colloquy.cpp:1268:7761: warning: multi-character character constant
colloquy.cpp:1268:7971: warning: multi-character character constant
colloquy.cpp:1268:7981: warning: multi-character character constant
colloquy.cpp:1268:9113: warning: multi-character character constant
colloquy.cpp:1268:9123: warning: multi-character character constant
colloquy.cpp:1268:9233: warning: multi-character character constant
colloquy.cpp:1268:9243: warning: multi-character character constant
colloquy.cpp:1268:9293: warning: multi-character character constant
colloquy.cpp:1268:9303: warning: multi-character character constant
colloquy.cpp:1268:9332: warning: multi-character character constant
colloquy.cpp:1268:9342: warning: multi-character character constant
colloquy.cpp:1268:9632: warning: multi-character character constant
colloquy.cpp:1268:9642: warning: multi-character character constant
colloquy.cpp:1268:9806: warning: multi-character character constant
colloquy.cpp:1268:9816: warning: multi-character character constant
colloquy.cpp:1268:9866: warning: multi-character character constant
colloquy.cpp:1268:9876: warning: multi-character character constant
colloquy.cpp:1268:9905: warning: multi-character character constant
colloquy.cpp:1268:9915: warning: multi-character character constant
colloquy.cpp:1268:10027: warning: multi-character character constant
colloquy.cpp:1268:10037: warning: multi-character character constant
colloquy.cpp:1268:10066: warning: multi-character character constant
colloquy.cpp:1268:10076: warning: multi-character character constant
colloquy.cpp:1268:10209: warning: multi-character character constant
colloquy.cpp:1268:10219: warning: multi-character character constant
colloquy.cpp:1268:10248: warning: multi-character character constant
colloquy.cpp:1268:10258: warning: multi-character character constant
colloquy.cpp:1268:10789: warning: multi-character character constant
colloquy.cpp:1268:10799: warning: multi-character character constant
colloquy.cpp:1268:10828: warning: multi-character character constant
colloquy.cpp:1268:10838: warning: multi-character character constant
colloquy.cpp:1268:11072: warning: multi-character character constant
colloquy.cpp:1268:11082: warning: multi-character character constant
colloquy.cpp:1268:11610: warning: multi-character character constant
colloquy.cpp:1268:11620: warning: multi-character character constant
colloquy.cpp:1268:11670: warning: multi-character character constant
colloquy.cpp:1268:11680: warning: multi-character character constant
colloquy.cpp:1316: error: stray ‘#’ in program
colloquy.cpp:1333: error: stray ‘\303’ in program
colloquy.cpp:1333: error: stray ‘\247’ in program
colloquy.cpp:1337: error: stray ‘\346’ in program
colloquy.cpp:1337: error: stray ‘\227’ in program
colloquy.cpp:1337: error: stray ‘\245’ in program
colloquy.cpp:1337: error: stray ‘\346’ in program
colloquy.cpp:1337: error: stray ‘\234’ in program
colloquy.cpp:1337: error: stray ‘\254’ in program
colloquy.cpp:1337: error: stray ‘\350’ in program
colloquy.cpp:1337: error: stray ‘\252’ in program
colloquy.cpp:1337: error: stray ‘\236’ in program
colloquy.cpp:1341: error: stray ‘\303’ in program
colloquy.cpp:1341: error: stray ‘\252’ in program
colloquy.cpp:1345: error: stray ‘\344’ in program
colloquy.cpp:1345: error: stray ‘\270’ in program
colloquy.cpp:1345: error: stray ‘\255’ in program
colloquy.cpp:1345: error: stray ‘\346’ in program
colloquy.cpp:1345: error: stray ‘\226’ in program
colloquy.cpp:1345: error: stray ‘\207’ in program
colloquy.cpp:1366: error: stray ‘\303’ in program
colloquy.cpp:1366: error: stray ‘\240’ in program
colloquy.cpp:1370: error: stray ‘\304’ in program
colloquy.cpp:1370: error: stray ‘\214’ in program
colloquy.cpp:1370: error: stray ‘\305’ in program
colloquy.cpp:1370: error: stray ‘\241’ in program
colloquy.cpp:1382: error: stray ‘\303’ in program
colloquy.cpp:1382: error: stray ‘\261’ in program
colloquy.cpp:1386: error: stray ‘\303’ in program
colloquy.cpp:1386: error: stray ‘\247’ in program
colloquy.cpp:1406: error: stray ‘\346’ in program
colloquy.cpp:1406: error: stray ‘\227’ in program
colloquy.cpp:1406: error: stray ‘\245’ in program
colloquy.cpp:1406: error: stray ‘\346’ in program
colloquy.cpp:1406: error: stray ‘\234’ in program
colloquy.cpp:1406: error: stray ‘\254’ in program
colloquy.cpp:1406: error: stray ‘\350’ in program
colloquy.cpp:1406: error: stray ‘\252’ in program
colloquy.cpp:1406: error: stray ‘\236’ in program
colloquy.cpp:1426: error: stray ‘\303’ in program
colloquy.cpp:1426: error: stray ‘\252’ in program
colloquy.cpp:1430: error: stray ‘\320’ in program
colloquy.cpp:1430: error: stray ‘\241’ in program
colloquy.cpp:1430: error: stray ‘\321’ in program
colloquy.cpp:1430: error: stray ‘\200’ in program
colloquy.cpp:1430: error: stray ‘\320’ in program
colloquy.cpp:1430: error: stray ‘\277’ in program
colloquy.cpp:1430: error: stray ‘\321’ in program
colloquy.cpp:1430: error: stray ‘\201’ in program
colloquy.cpp:1430: error: stray ‘\320’ in program
colloquy.cpp:1430: error: stray ‘\272’ in program
colloquy.cpp:1430: error: stray ‘\320’ in program
colloquy.cpp:1430: error: stray ‘\270’ in program
colloquy.cpp:1442: error: stray ‘\344’ in program
colloquy.cpp:1442: error: stray ‘\270’ in program
colloquy.cpp:1442: error: stray ‘\255’ in program
colloquy.cpp:1442: error: stray ‘\346’ in program
colloquy.cpp:1442: error: stray ‘\226’ in program
colloquy.cpp:1442: error: stray ‘\207’ in program
colloquy.cpp:1471:18: warning: character constant too long for its type
colloquy.cpp:1471:32: warning: character constant too long for its type
colloquy.cpp:1471:54: warning: character constant too long for its type
colloquy.cpp:7: error: expected unqualified-id before ‘<’ token
colloquy.cpp:23: error: ‘var’ does not name a type
colloquy.cpp:33: error: expected unqualified-id before ‘)’ token
colloquy.cpp:46: error: expected constructor, destructor, or type conversion before ‘.’ token
colloquy.cpp:47: error: expected unqualified-id before ‘<’ token
colloquy.cpp:52: error: expected constructor, destructor, or type conversion before ‘.’ token
colloquy.cpp:53: error: expected constructor, destructor, or type conversion before ‘.’ token
colloquy.cpp:54: error: expected ‘)’ before ‘{’ token
colloquy.cpp:59: error: expected unqualified-id before ‘)’ token
colloquy.cpp:60: error: expected unqualified-id before ‘<’ token
colloquy.cpp:72: error: ‘function’ does not name a type
colloquy.cpp:76: error: expected constructor, destructor, or type conversion before ‘(’ token
colloquy.cpp:76: error: expected constructor, destructor, or type conversion before ‘(’ token
colloquy.cpp:77: error: expected unqualified-id before ‘<’ token
colloquy.cpp:200: error: expected unqualified-id before ‘<’ token
colloquy.cpp:227: error: expected unqualified-id before ‘<’ token
colloquy.cpp:234: error: expected unqualified-id before ‘<’ token
colloquy.cpp:243: error: expected unqualified-id before ‘<’ token
colloquy.cpp:257: error: expected unqualified-id before ‘<’ token
colloquy.cpp:378: error: expected constructor, destructor, or type conversion before ‘;’ token
colloquy.cpp:378: error: expected unqualified-id before ‘<’ token
colloquy.cpp:379: error: expected constructor, destructor, or type conversion before ‘;’ token
colloquy.cpp:379: error: expected constructor, destructor, or type conversion before ‘;’ token
colloquy.cpp:379: error: expected constructor, destructor, or type conversion before ‘;’ token
colloquy.cpp:379: error: expected unqualified-id before ‘<’ token
colloquy.cpp:383: error: expected unqualified-id before ‘<’ token
colloquy.cpp:1268: error: expected constructor, destructor, or type conversion before ‘.’ token
colloquy.cpp:1268: error: expected unqualified-id before ‘<’ token
[ !! ] Error while building "colloquy.so"
I'm getting the following error with znc-0.092 running on Debian Lenny:
Connecting to [colloquy.mobi:7906] to send...
--------------------------------------------------------------------------
{"device-token":"xxx","message":"hello","sender":"jholster","badge":1, \
"connection":"RA82GLO5133","server":"ZNC","sound":"Stoof.aiff"}
--------------------------------------------------------------------------
(jholster) ZNC -> CLI [:[email protected] PRIVMSG jholster :x]
MOD::C::colloquy::jholster == SockError(Cannot assign requested address)
I can succesfully push a notification to my phone from the same server using this example script.
My c++ experience is extremely limited, but I would bet that something goes wrong with the SSL handshake. I just have no idea how to debug it further.
If you have more than one highlight word entered in the Mobile Colloquy settings, none of the highlight words appear to work.
Possibly this is because the Colloquy plugin appears to expect tab-delimited highlight words while the client is sending them space delimited.
Probably something I am doing wrong, or a dependency missing, but here's the raw output. I'm running znc 0.098-1.el5, from the RHEL yum repo.
<edit: I'm a newbie, apparently needed openssl-devel and c-ares-devel>
I've installed and enabled the module. What I'd like to do is connect to ZNC from my desktop all the time as well as from my phone when I'm away from my desk. When I do this, and someone mentions my nick, I do not get a push event on the phone.
Did I do something wrong, or am I misunderstanding the intent of this module?
Thanks!
free node has been spamming me with failed auths, from who knows trying to use my nick. This adds the service to the ignored list.
I'm using RHEL5.4 x86_64. I've installed all the required packages, and the module now builds without errors. When I try to load the module, however, I get this message:
Unable to find modinfo [colloquy] [Unable to open module [colloquy] [/home/brentley/.znc/modules/colloquy.so: wrong ELF class: ELFCLASS32]]
Is this module 64bit aware? Is there some argument I need to pass to znc-buildmod?
Thanks
Trying to compile colloquypush, fails with the following error(s);
jocke@omg:~/diverse/znc/znc-0.205-install/bin$ ./znc-buildmod colloquy.cpp
Building "colloquy.so" for ZNC 0.205... colloquy.cpp: In member function ‘virtual CModule::EModRet CColloquyMod::OnUserRaw(CString&)’:
colloquy.cpp:384: error: ‘class CUser’ has no member named ‘GetIRCServer’
colloquy.cpp:384: error: ‘class CUser’ has no member named ‘GetIRCNick’
colloquy.cpp: In member function ‘bool CColloquyMod::Push(const CString&, const CString&, const CString&, bool, int)’:
colloquy.cpp:716: error: ‘class CUser’ has no member named ‘IsIRCAway’
colloquy.cpp:763: error: ‘class CUser’ has no member named ‘GetClients’
colloquy.cpp:788: error: ‘class CUser’ has no member named ‘GetIRCNick’
[ !! ] Error while building "colloquy.so"
Any idea what's causing this?
I'm running znc 0.205 (compiled from source).
Can you include an option to not push messages from network services (e.g. nickserv and chanserv)? Occasionally there'll be a netsplit on one of the networks I use and, when the servers resynchronize, chanserv will send an onjoin message. If I've been idle for a while, it gets pushed to my phone.
Hopefully I am not missing something totally obvious, but I was wondering how to add or remove highlighted words that are pushed to the phone, and prevent PMs from certain user names from being pushed to the phone. Any suggestions?
I'm running the latest ZNC (v 1.6) and the version of the Colloquy module that compiles properly on it. I have push notifications enabled on my device for my ZNC connection. I also have port 7906 and the primary ZNC port open on my router - push notifications still will not go through. Messaging *colloquy works as expected and my device is listed with its options. Still, no notifications ever appear on my device. Let me know if you need further information.
It seems that even when I have users set to *ignore, and do not see them on my clients, I still get push notifications on pm/mention/hilight from those users. It would be great if *colloquy would read *ignore's .registry file and ignore pushes from those entries.
Hi. I'm using ubuntu 10.04.
there is znc apt package but znc-buildmod is not exists in it.
I can build znc via source tarball, but i think that's not cool way on ubuntu.
is there any way to compile colloquy.cpp without installing znc via source compile?
and another:
I'm often using znc on non-ascii-charset irc server like cp949, cp932...
colloquy module pushes notify well but breaks characters..
is there any way to convert server message to utf-8?
i'm happy to have some encoding options.
sorry for my poor english.
cheers.
I'm getting an error when attempting to compile
% znc-buildmod colloquy.cpp
Building colloquy.so... colloquy.cpp: In member function ‘bool CColloquyMod::Push(const CString&, const CString&, const CString&, bool, int)’:
colloquy.cpp:655: error: ‘class CUser’ has no member named ‘IsIRCAway’
[ !! ] Error while building colloquy.so
distribution: Ubuntu 10.04.1 LTS
uname -a: Linux 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux
I followed the instructions carefully, but when I do "/msg *colloquy list", it says:
*colloquy: You have no saved devices...
*colloquy: Connect to znc using your mobile colloquy client...
*colloquy: Make sure to enable push if it isn't already!
Push is enabled in Colloquy on my iPhone though, and the connection to ZNC works fine other than this problem.
I am running ZNC 0.093-2.svn2101.el5 on CentOS 5.4 if that matters.
Having trouble compiling.. I started out with the stock CentOS version which I believe errored because it was too old, however I updated to 0.074-2.el5 from epel and still get an error.
Attempting to compile the latest version of colloquypush on ZNC-1.0 results in a fatal error.
$ curl -LO http://github.com/wired/colloquypush/raw/master/znc/colloquy.cpp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 178 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 131 100 131 0 0 128 0 0:00:01 0:00:01 --:--:-- 909
100 26711 100 26711 0 0 13664 0 0:00:01 0:00:01 --:--:-- 207k
$ znc-buildmod colloquy.cpp
Building "colloquy.so" for ZNC 1.0... colloquy.cpp:9:17: fatal error: znc.h: No such file or directory
compilation terminated.
[ !! ] Error while building "colloquy.so"
Cannot compile the module, three errors are encountered:
colloquy.cpp: In member function 'CString CDevice::Serialize() const': colloquy.cpp:197: error: conversion from 'std::_associative_citer<CString, std::less<CString>, std::allocator<CString> >' to non-scalar type 'std::_associative_iter<CString, std::less<CString>, std::allocator<CString> >' requested colloquy.cpp: In member function 'virtual void CColloquyMod::OnModCommand(const CString&)': colloquy.cpp:575: error: conversion from 'std::_associative_citer<CString, std::less<CString>, std::allocator<CString> >' to non-scalar type 'std::_associative_iter<CString, std::less<CString>, std::allocator<CString> >' requested colloquy.cpp: In member function 'bool CColloquyMod::Push(const CString&, const CString&, const CString&, bool, int)': colloquy.cpp:795: error: conversion from 'std::_associative_citer<CString, std::less<CString>, std::allocator<CString> >' to non-scalar type 'std::_associative_iter<CString, std::less<CString>, std::allocator<CString> >' requested
Full build log: http://paste.ubuntu.com/997492/
Build script: http://paste.ubuntu.com/997461/
Building for mips32r2 using an SDK from OpenWrt's website, gcc-4.3.3, uClibc 0.9.30.1, Ubuntu 12.04
THe following is the debug output:
Building "colloquy.so" for ZNC 1.6.0... ./colloquy.cpp: In member function ‘bool CColloquyMod::Push(const CString&, const CString&, const CString&, bool, int)’:
./colloquy.cpp:778:58: error: invalid initialization of reference of type ‘std::vector<CClient*>&’ from expression of type ‘const std::vector<CClient*>’
[ !! ] Error while building "colloquy.so"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.