Thanks to the introduction of GDPR in May 2018, users are now able to access all of their contents ever posted on social media websites. Yes, you can access and download all your photos, videos, comments, messages, and other activities that you ever posted on Facebook. This includes your status updates about how much you love cats. 

If you want to download your content to keep a copy or to transfer to another service, here are the steps to follow:

  • Log into your facebook account. 
  • Go to your settings

  • In the settings, click on ‘Your Facebook Information’  and click on Download your information.

  • On the download page, you have the option of selecting a date range, a format (HTML or json) and the quality of the media files. I suggest you leave these options to their defaults value unless you know exactly what you are doing.  Click on the Create File button to download.

  • Facebook will start preparing a copy of your content to be download. 

  • You will also receive any email information that the download is being created. Depending on how much content you have this may take some. Be patient. Facebook will inform you when it’s ready for download. 
  • Once the download is ready, you will receive a notification. Click on it.

  • On the download screen, click on the Download button.

  • Once the download is complete, you can unarchive the zip file and double-click on the index.html file to view your content in the browser.

  • Click on the links to see your posts, comments, photos, videos, likes, etc.

That’s it! You now have everything you ever posted on Facebook. 

Kawaji, Nassarawa, Nigeria

I got a brand new MacBook few weeks ago and I have been having an DNS_PROBE_FINISHED_NXDOMAIN  error while trying to access one of our web apps at work.

After some time researching the cause of the error, I found out that it was due the DNS settings on my MacBook for the Wifi network I was using. If you are having the same issue, here is how I solved it:

  • Open System Preferences… 
  • Click on Network

  • With WiFi selected in the service column, click on the Advanced… button.

  • In the Advanced… window, click on the DNS tab. It should look like below

  • Under the DNS Servers column, click on the + icon to add a new DNS server address. Add the 8.8.8.8
  • Add also the 8.8.4.4. address.
  • Reorder the addresses as by dragging and dropping them as below:

  • Click on the OK button
  • To finalise, click on the Apply button.

That’s it! Refresh the web page you are trying to access in your browser and it should not work.

 

 

Tudun Wada, Nassarawa, Nigeria

184 °F few clouds

Odoo version 11 comes with 31 apps that cover most use cases but they are situations when you will need a feature not offered by these default apps. That’s why you have the Odoo App Store, where you will find all kinds of apps or modules.  In this tutorial we will download and install the Database Cleanup module.

  • Go to the Odoo App Store.
  • Search for the App you want or go directly to Database Cleanup
  • Click on the Download the button.
  • Unzip the database_cleanup-11.0.1.0.0.zip file and copy the folder in the odoo/addons/ directory.
  • Stop ( Ctrl+c ) and restart the Odoo server ( ./odoo-bin )
  • Go to http://localhost:8069/
  • Activate Developer mode by going to Settings > Dashboard. Click on the Activate Developer mode link.

The left sidebar should be updated like this:

Click on “Update Apps List” to update the List.

The newly added module will not appear immediately in the Apps list.

To find it, search it in the search bar as below.

We are not able to find the module. The reason for this is because we are using the “Apps” filter in the search bar. Database Cleanup is a module, and not an app. Remove the filter and search again.

Now, you can click on the Install button to install the newly added module.

Happy Odoo’ing!

 

The error  AttributeError: 'NoneType' object has no attribute 'id' occurs when you uninstall one of the apps, most likely the Discuss app. After trying installing and uninstalling different apps (Projects, Inventory Management, Manufacturing, Employee Directory, etc.) I noticed that this error occurs only when you uninstall the Discuss app.

So far, the only solution I found was to drop the database.

Connect to the postgres database: psql postgres (Note: you cannot be connected to the database you want to drop)
Drop the database DROP DATABASE databasename;
Quit postgres \q

Restart the Odoo server with ./odoo-bin  and open localhost:8069 in your browser. Odoo will ask you to create a new database.

Now, this solution worked for me as I just installed Odoo and had only the sample data yet. But for anyone who has live data in the database, a better solution might be recommended.

Update:

A better solution is to make sure you have the Database Cleanup module installed be installing/uninstalling apps. You can see it with this tutorial here.

Assuming that you still have the error occurring, go to Settings > General Settings > Database cleanup > Purge obsolete tables

Click on the Select lines button.

Check the “mail_compose_message” line and click on Purge in the Action drop-down.

This should fix the issue. You should now be able to install new apps.

 

In this tutorial we will look into how to install Odoo on Mac OS using the package manager Homebrew.

Install Homebrew:

If you do not already have Homebrew set up on your system, you can install it by running the command below in the terminal:

To check that Homebrew is installed, run the command:

This should return something like:

Now that Homebrew is set up, let’s start installing the different packages we need to run Odoo.

Installing Python:

Odoo was written in Python so we need to install it. There is a version of Python that comes set up with every macOS installation but it is not supported by Odoo. So we need to install a new one. Run the command:

Installing Postgresql:

Odoo will need a database management system to store its data, we are going to use PostgreSQL.

Start the Postgres server:

This will start Postgres at port 5432. To make sure that it is running you can run the commands lsof -I:5432  or pg_ctl -D /usr/local/var/postgres status

Installing Less:

Less (which stands for Leaner Style Sheets) is a backwards-compatible language extension for CSS. We will be using npm (node package manager) to install it.

The node package manager is set up while installing node.js. We are going to use nvm (node version manager) to install node.js. So here are the steps:

  • Install nvm:  brew install nvm
  • Install node: nvm install node  (to install the latest stable version of node) or nvm install version_number  (to install a specific version of node)
  • Install less globally:  npm install -g less

Installing freetype:

Next, we need to install Freetype and other libraries

Installing the Xcode command line tools:

Installing Odoo:

Clone Odoo from the GitHub Repository.

Next, change directory into the odoo directory ( cd odoo ) and install the dependencies included in the requirements.txt file.

Tip: When working with Python dependencies, it is recommended to use virtualenv to avoid conflicts between different versions. 

Running the Odoo server:

After installing the dependencies, we can now run the Odoo server. Run the command below:

This will start Odoo at port 8069. Open the browser and go to localhost:8069.

You will be presented with this screen:

Setting up the database:

The final step is to create a database by filling out the form. If this is your first time installing Odoo, make sure you check the button “Load demonstration data” to get some sample data to work with.

If everything went right, you should have the screen below:

That’s it! You are all good to go. 

Troubleshooting:

Error 1: ValueError: unknown locale: UTF-8

You might get the error ValueError: unknown locale: UTF-8  when you run the command ./odoo-bin . To fix this issue, add the code below to your ~/.bash_profile

This will these environment variables LC_ALL and LANG.

Error 2: Internal Server Error

The Odoo server is running but when you open localhost:8069 in the browser you get an Internal Server Error. Chances that PostgreSQL is not running. Make sure it’s running with the command  lsof -I:5432  and if it is not you can start it with the command  pg_ctl -D /usr/local/var/postgres status

I hope you found this tutorial useful and please leave a comment below if you have any question.

To uninstall Git from Mac OS X, you need to find the uninstall.sh file that comes with Git and execute it.

  1. Open Terminal
  2. Run this command: cd /usr/local/git/ to see whether the uninstall.sh is there
  3. If yes, run the command: sh /usr/local/git/uninstall.sh
  4. The output of the command above will be: This will uninstall git by removing /usr/local/git/, and symlinks. Type 'yes' if you are sure you wish to continue:
  5. Type yes
  6. Enter your password

That’s it!

Step 1: Install More Local 2 on your phone:

  1. Open Google Play.
  2. Search “More Local 2”.
  3. When you “More Local 2” install it.
  4. After the installation is done, click on the button “Open”.
  5. In the list of languages, select the language you want.
  6. You will have a permission denied window with the choice to either use Superuser privilege or to show how to use “pm” command. Click on the second option for Show how to use ‘pm’ command

Step 2: Unlock Developer mode on your android phone:

  1. Go to Settings -> About phone.
  2. At the bottom of the screen, tap on “Build number” 7 times to unlock Developer mode.
  3. Go back to Settings, you will see {} Developer options added above About phone.

Step 3: Enable USB debugging.

  1. Tap on {} Developer options.
  2. In the Debugging section, check USB debugging.

Step 4: Connect your android phone to your computer through a USB cable.

Step 5: Install Android Adobe Debugging Bridge (ADB) (Note: we will install ADB on mac OS X using Homebrew)

  1. Install Homebrew (if it’s not already installed): ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”.
  2. Install adb: brew install android-platform-tools.
  3. Check to see if any device is connected: adb devices If a device is connected you will have an output like this:  If nothing shows up after “List of devices attached”, that means your phone is not connected to your computer.

Step 6: Grant permission to MoreLocale 2

  1. Start the ADB shell by entering this command in the command line: ADB shell.
  2. Grant the permission by entering this command: pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION

Step 7: Activate the new language. Back to your phone, click on the language you want to change the language.

Note: In my case not all the application languages changed.