Liferay LAR import - liferay

My LAR import has been frozen for some time and I can't seem to get rid of it.
Any idea how to eliminate it?
-Liferay 6.2
-Weblogic 12c server

Related

How to remove the error message: 'unused import statement' in Android Studio?

I am working in Android Studio, and while importing these packages
import android.util.Log;
import com.mesibo.api.Mesibo;
the following error message occurs:
unused import statement
import android.util.Log;
import com.mesibo.api.Mesibo;
Any ideas on how to resolve this error message? Your help would be greatly appreciated!
This is a warning message not an error message.
This message indicates that a library you've imported is potentially not being used within your current file as indicated by the grey color associated with said import. With that being said, it isn't harmful for there to be an unused import statement. Although, if you truly aren't using the built-in Android logger or your custom API then feel free to delete the import statements.
This warning message likely occurred because of the Optimize imports on the fly option selected within your Android Studio IDE. For more information check out the JetBrains documentation for additional IDE settings.
Hopefully that helps!
What I did was that I imported the git repository file from the official mesibo page, with the git tool, opened the sample project and recompiled the project, add the json file from firebase and ready to compile the app without probes thanks for the answer and I share my experience about this error

Kentico import is not working after upgrade site into Kentico 11 from Kentico10

Our site has upgraded from Kentico 10 to K11 but due to some inconsistency upgrade was not proper finished. Site is running but I am getting error when I am Import object from another K11 instance. Error is
'dataType' argument cannot be null. Parameter name: dataType
screenshot:
If you're upgrade completed but had errors then the upgrade was not successful and it will haunt you until you go back find the issue, resolve it and do the upgrade properly until it succeeds. Trying to import an older version of a site into a new version of a site is also not a proper way to upgrade either. I know you stated your import was from another v11 instance but if you had another v11 instance why import it into a broken version 11 instance vs use the new one?
At any rate, the key is to get the "finished" messages in the event log and to ensure your upgrade is successful before continuing to import any other sites, modules, webparts, etc.
I suggest looking in the Kentico event log and see what the specifics are about the failure. Also you might be able to post the XML from the export file which will help us be able to troubleshoot a bit more.

In KOFAX KTA 7.4 how to use and import extrnal .fpr file?

I am new to KTA and currently using 7.4 version where i have a question, how we can use and import .fpr project file externally in Transformation Designer 7.4?
There is an option for Import File-Based Project in the Transformation Designer.
It looks like you answered your own question. "Import File-Based Project". That will import the FPR project into the database, which is where you will work with it until you use the "Export to File-Based Project", but typically, at that point, I just use a package. I'm not sure if there is significant benefit of using a file-based project over a package. For example, can you import a file based-project into earlier versions, while packages can't?

liferay 6.2 to liferay 7 Calendar API migrated to OSGi

i have liferay 6.2 GA4, and im trying to migrate to liferay 7
im using the code upgrade tool
the error im getting is Calendar's API migrated to OSGi
but i cant find how to do this, how do i change the portlet to OSGi? how do i import the calendar module to my portlet? the upgrade tool only says "#Legacy" in the documentation change, so i dont know what to do next... i have a lot of this "#Legacy" errors, how do i correct them?
this question is a duplicate from the liferay forums, but i havent got an answer yet
edit
i dont know the best way to migrate, but i do have a portlet (many portlets actually), i want to use it (them) in a liferay 7 instalation... the portlet im trying to migrate first (the simpler one) uses the calendar API of liferay 6.2 im guessing i just have to add the calendar module, so i can use its classes, i just dont know how... i use calendar API in both the controller and the jsps
the text in the migration tool only says "#Legacy"... that it! thats why im so confused... in eclipse the error says "Calendar API migrated to OSGi" and thats it too... thats why i imagine i just need to add the calendar module...
thank you!
What is the text from the error/change message?
Regarding "Calendar API", is it that you want to use the Calendar API from Liferay's Calendar app?
Note, you should first get your existing portlet running on 7.0 before modularizing it. The updated tutorial Planning Plugin Upgrades and Optimizations has a table of Upgrade Paths for each plugin type and feature.
Jim
found it! you just have to add the Calendar api to the gradle configurations
classpath group: "com.liferay", name: "com.liferay.calendar.api", version: "2.0.2"
classpath group: "com.liferay", name: "com.liferay.calendar.service", version: "2.1.9"
in the settings.gradle's dependencys section
and this:
compileOnly group: "com.liferay", name: "com.liferay.calendar.api", version: "2.0.2"
compileOnly group: "com.liferay", name: "com.liferay.calendar.service", version: "2.1.9"
in the build.gradle of your portlet!
and that works!
thank you

QWebSettings in PyQt5 (version 5.6.0)

I have PyQt5 (version 5.6.0) installed via Anaconda on my Mac (OS X 10.12.2). Now I would like to re-use an older script that used QtWebKitWidgetsand QtWebKit, however, these two packages seem to have been removed in PyQt5.6.0. I already know that QtWebKitWidgets was replaced by QtWebEngineWidgets (which all works fine for me), but in my old code, I was importing QWebSettings from QtWebKit, i.e.
from PyQt5.QtWebKit import QWebSettings
But not I get an ImportError here:
ImportError: cannot import name 'QtWebKit'
According to the PyQt documentation,
QtWebEngineWidgets contains classes for a Chromium based implementation
of a web browser. This supercedes the QtWebKit module and provides better and up-to-date support for HTML, CSS and JavaScript features. However it also consumes more resources and doesn’t give direct access to the network stack and the HTML document via Python APIs.
But where do I find QWebSettings? Can anyone please tell me where I can find QWebSettingsnow, or how I can add the package QtWebKit?
Any help would be very much appreciated.
The correct import statement is:
from PyQt5.QtWebEngineWidgets import QWebEngineSettings

Resources