Update Akka-version: ClusterClient is not a member of package akka.contrib.pattern - scala

I used akka-2.3.9 and akka.contrib.pattern.ClusterClient.
Having updated the version akka-2.3.9 -> akka-2.4.9 I've got the following mistake:
ClusterClient is not a member of package akka.contrib.pattern
Should I use akka.cluster.client.ClusterClient instead of previous akka.contrib.pattern.ClusterClient ?

Yes. See 2.4.9 API vs 2.3.9 API.

Related

malformed record data: github.com/lib/pq#v1.1.0/go.mod

i'm trying to get the go package using command go get gorm.io/driver/postgres
but the result is always like this
go get: gorm.io/driver/postgres#none updating to
gorm.io/driver/postgres#v1.1.0 requires
github.com/jackc/pgx/v4#v4.11.0 requires
github.com/jackc/pgconn#v1.8.1 requires
github.com/jackc/pgmock#v0.0.0-20190831213851-13a1b77aafa2 requires
github.com/jackc/pgtype#v0.0.0-20190828014616-a8802b16cc59 requires
github.com/jackc/pgx/v4#v4.0.0-pre1.0.20190824185557-6972a5742186 requires
github.com/jackc/pgtype#v0.0.0-20190824184912-ab885b375b90 requires
github.com/lib/pq#v1.1.0: verifying go.mod: github.com/lib/pq#v1.1.0/go.mod: malformed record data
i have cleaned my cache and still getting the same error. what should i do? thanks
You have an indirect dependency to [https://github.com/lib/pq/tree/v1.0.0] which has a malformed go mod file. The go version is not mentioned in that. The latest release is v1.10.2. There is nothing to do in your code since its indirect, you can use a version of your direct dependecy gorm.io/driver/postgres which uses an updated version of this lib/pq/tree library or raise an issue in the git for lib/pq/tree.

Meteor - errors after adding autoform package

I am trying to add the autoform package to my meteor project. After running "meteor add aldeed:autoform" and adding the package - I am encountering the following errors:
Cannot find module 'mongo-object',
Cannot read property 'AutoForm' of undefined,
Uncaught ReferenceError: meteorInstall is not defined
I didn't even try to use the package. Just adding the package caused the errors. I am using Meteor 1.4.4.1
Any idea why this happens ? I followed the instruction in the autoform github repo.
The installation for autoform 6 says the following:
$ meteor add aldeed:autoform
$ npm i --save simpl-schema
Then you need (in v. >=6.0.0) to enable the use of autoform entries in SimpleSchema definitions. This is just required once, e.g. in your startup scripts:
import SimpleSchema from 'simpl-schema';
SimpleSchema.extendOptions(['autoform']);
What is not 100% clear to most people, switching to af6
you need to remove the old aldeed:simple-schema package from the meteor packages
you need to switch from the deprecated collection2 to collection2-core
you need to be aware of the change log, which indicates deprecated method and method name changes.
If you concern all of these changes it should run really fine again.
Update March 2018: collection2-core is now merged back to aldeed:collection2 so use the latest version of this package.

There's invalid syntax in pub.py

The followed method is defined in the pubsub.py which is a python file in the site-package pubsub. When I try to use this, the pycharm tells me this is invalid syntax with an arrow pointing to '->'. I don't why and I have installed the pypubsub.
def getDefaultPublisher() -> Publisher:
"""
Get the Publisher instance created by default when this module
is imported. See the module doc for details about this instance.
"""
return _publisher
You have a Python version mismatch. This version of PyPubSub needs Python3. Last version for Python2 is PyPubSub 3.3.0
pip install PyPubSub==3.3.0

Can't locate object method "ssl_opts" via package "LWP::UserAgent"

All related modules are installed and also checked dependencies ..already installed everything even though given below error :
Can't locate object method "ssl_opts" via package "LWP::UserAgent" on centos 6
Can anyone help me?
Looks like the ssl_opts method was added in libwww version 6.00. And the Centos 6 package is called perl-libwww-perl-5.833. So, the version of LWP::UserAgent that you have is too old to include that method.

Meteor package (yogiben:admin) refuses to install, seems to be picking up wrong version from github?

I'm using aldeed:autoform#5. I also want to use yogiben's autoform-file, but I had trouble getting that to work with autoform#5 so I've used a fork by abdj:autoform-file.
Now I want to use yogiben:admin. According to the discussion on github and the latest master (https://github.com/yogiben/meteor-admin/blob/master/package.js), yogiben:admin#1.1.0 uses aldeed:autoform#4.2.2 || 5.0.0.
So why do I get this error?
C:\Webdev\koolaid>meteor add yogiben:admin#1.1.0
=> Errors while adding packages:
While selecting package versions:
error: Conflict: Constraint aldeed:autoform#4.2.2 is not satisfied by aldeed:autoform 5.1.2.
Constraints on package "aldeed:autoform":
* aldeed:autoform#5.0.2 <- abdj:autoform-file 0.2.0
* aldeed:autoform#4.2.2 <- yogiben:admin 1.1.0
Looks to me like Meteor is somehow picking up the wrong version from github? BTW I'm using Meteor WindowsPREVIEW#0.3.0.
How do I get all these packages to play nice together?