Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57283 - [python2-protobuf] Missing __init__.py

Attached to Project: Arch Linux
Opened by Dug (MayorBender) - Tuesday, 30 January 2018, 01:30 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 04 February 2018, 18:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The file list for python2-protobuf is missing file usr/lib/python2.7/site-packages/ __init__.py

I noticed that this file was missing when I launched gajim from the command line.
This error came up: "/usr/lib/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '/usr/lib/python2.7/site-packages/google': missing __init__.py
file, filename, etc = imp.find_module(subname, path)"

I was able to fix the issue by downloading the file manually and putting it at the path specified above.

This file can be found in the *official* github repo for python2-protobuf here: https://github.com/google/protobuf/tree/master/python/google

I have not noticed anything actually breaking because of this missing file but I thought I should report it anyways as it seems like an easy fix and might prevent more serious bugs for others in the future.

Additional info:
* Version 3.5.1.1-1

Steps to reproduce:
1. Run gajim from command prompt
2. Gajim should state that the file is missing as I stated above

It should be reproducible by other programs that use python2 and import this package.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 04 February 2018, 18:50 GMT
Reason for closing:  Not a bug

Loading...