How to solve EER Diagram Visual Error in Worbench and Ubuntu 20.04 - mysql-workbench

Hi friends, I am on Ubuntu 20.04 But my Worbench it is not working fine, the EER image is damaged and the objects do not open as seen in the attached image. It looks like a memory problem but my PC is 32GB

Using MySQL-Workbench v8.0.30 on Ubuntu 22.04, I experienced the same problem.
The Original Poster Eltom4 provided the solution in their comment.
I don't have enough reputation to comment above
and the question is without an accepted answer.
I wanted to confirm that the fix suggested by Eltom4 worked for me.
You must set 'scaling' to 100% on a 4k or HiDPI monitor.
After making this change, MySQL-Workbench looked and functioned correctly.

Related

How to recover loaded Kate Plugins

Dear stackoverflow users:
So far I was working well with kate when I installed it in ubuntu 16.04 as sudo apt-get install kate.
However, some days ago. I got the following error when launching kate:
org.kde.kwindowsystem: Could not find any platform plugin
I have tried removing, the app and reinstalling it, deleting the ./kde folder and the same remains.
Do you know how to fix it back to the original configuration?
Thank you
I suggest you update your 16.04 installation to a more recent one. Many things improved, and this issue will also be resolved. I don't think this is Kate's fault here.

Eclipse freezes when trying to install

so I have a problem. I accidentally deleted Eclipse folder and I wanted to install Eclipse again. But when I run installation it freezes the moment I run it, and I have to exit it...please help me
It would be informative to observe and mention any system error during installation attempt. By the way, I hope you are installing the right version for your operating system and more so, you have the recommended system requirement like RAM size, processor speed. I suggest:
Restart your system.
Use a system tool like Advanced System Care (free) and scan your system.
Well, I don't know what happened but I tried to install it 2 times, it freezed and didn't work. When I tried third time it worked. :D So yeah. Magic.
I had the same issue. Everytime I tried to install Eclipse, the installer froze at some point. Turned out it was a problem with the firewall. I tried the installation over a hotspot from my phone and it worked.
Might not be the problem for you, but I thought I leave this here, as I was trying for quite a while and almost gave up.

QGIS 2.18.9 for Windows will not load plugins and GRASS

Hi I've been using QGIS for the past 6 years and I have never had this issue. I re-installed QGIS 2.18.9 because my original first problem was none of my grass algorithms would work and I received the following error message:
"It seems that GRASS GIS 7 is not correctly installed and configured in your system. Please install it before running GRASS GIS 7 algorithms."
I tried this solution Here, but no luck.
My next issue is once I re-installed QGIS none of my plugins will load. Heres what the error message log shows:
I have gone into both of the QGIS plugins and Python site-packages and everything is there even though it states that it is not.
What could be my issue?
So doing a simple un-install then re-install of QGIS would not work, since for what ever reason why the msys file wasn't being installed where the processing options said it was.
The Trick was to:
delete qgis from the registry

Running Kafka-python causes whole computer to freeze (ESXi 6.5 VM Virtual Machine Freeze Kernel Panic)

I am running Python2.7 with Zookeeper and kafka (0.8.2.1).
I am using the latest Kafka-python client (pip install kafka).
The following is a minimally reproducible example:
from kafka import KafkaConsumer
BOOTSTRAP_SERVER = 'myserver.com:my_port'
consumer = KafkaConsumer('my-topic', bootstrap_servers=BOOTSTRAP_SERVER)
print 'about to print messages'
for msg in consumer:
print msg
This prints 'about to print messages', and then the whole VM (Ubuntu Xenial, 16.04 LTS) freezes. I can't even see the cursor inside the VM.
Funny thing is, I am running the exact same Ubuntu Image on one of my other computers (not a VM) and it works.
The VM is running on ESXi 6.5.
This answer PyCharm freezing whole computer on Ubuntu said it could be openjdk's fault (I don't use pycharm; I execute the code from the terminal), so I switched to Oraclejdk. Didn't solve the problem. I have tried literally everything I can think of and am at my wit's end (ubuntu trusty is downloading, and I am going to try running it on that image and see if that works on the VM).
Any pointers/help appreciated.
Thank you!
UPDATE: If you are getting this issue as well on Ubuntu Xenial (16.04) or newer, try a Trusty (14.04) image. SEEMS to have solved the problem for me, but probably too soon to tell.
UPDATE 2 I was wrong. Still doesn't work. Seems like a bug in the kernel.
This is a known ESX bug. Apparently the reason for this is some invalid op code in certain intel CPUs that gets triggered by the newer versions of Ubuntu (Xenial and above).
I solved it by using Ubuntu 14.04 (trusty) instead of 16.04. Hope this helps someone.
Other solutions that didn't work for me (as well as reference links) are below:
launchpad bug-report (edit vmx file a little, didn't work for me)
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1630774
vmware-recommended workaround (edit grub file a little didn't work for me)
https://communities.vmware.com/message/2626830#2626830

How to install Mongodb PHP extension in Ubuntu 16.04 LTS

I'm running Ubuntu 16.04 LTS and I want to use Mongodb with PHP. For this I thought that sudo apt-get install php5-mongo (which is enough for Ubuntu 14.04 LTS) would be enough but I was wrong. I'm getting error like this E: Unable to locate package php5-mongo.
I've just upgraded to Ubuntu 16.04 LTS and want to use mongodb with PHP. Running PHP version is PHP Version 7.0.4-7ubuntu2.
So what can I do to solve this?
I'm afraid you are a bit out of luck at the moment. The current situation is that there are two MongoDB extensions:
"php-mongo", which is the "old" one; This extension supports up to PHP 5.*, but not PHP7. Only bug fixes are planned for it;
"php-mongodb", which is the "new" one; This extension supports PHP5 as well as PHP7;
Now the problem is that the new one is not compatible with the old one, as their whole internals are completely different. Unfortunately there are very few places where examples using the new one's syntax is used, as absolute majority of Mongo-related code is written using the old extension.
As it stands at the moment, if you have moved on to PHP7 your only option is to use the "new" extension, which in turn means that your previous code will stop working.
I've seen couple attempts to create a polyfill for making the migration those two possible (example: https://github.com/alcaeus/mongo-php-adapter), however as I haven't tried it myself I can't tell how well it works.
It seems that this library http://mongodb.github.io/mongo-php-library/ is supposed to cover the gap - after giving it a shot I believe it should cover majority of the "old" functionality without updating code too much.
If some of you are still wondering to use a simple wrapper to the new library as said in this answer: https://stackoverflow.com/a/48086676/2569789
I'm maintaining one for this purpose and you can find it here: https://github.com/ThomasSquall/PHP7MongoDriver
It covers just a few methods at the today's date but I'm going to improve it constantly and I hope would like to contribute too :)