Jump to content


Photo

email in OpenPli


  • Please log in to reply
6 replies to this topic

#1 crystal-13

  • Member
  • 9 posts

0
Neutral

Posted 17 August 2017 - 09:00

Is there in OpenPli any email client working to send massage with attachment like "mutt" or similar?

Re: email in OpenPli #2 WanWizard

  • PLi® Core member
  • 68,508 posts

+1,734
Excellent

Posted 17 August 2017 - 10:01

Not in our feeds.

 

You could make something in a few lines of Python? See https://docs.python....l-examples.html for a few pointers. The python-email package is in the feed.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: email in OpenPli #3 crystal-13

  • Member
  • 9 posts

0
Neutral

Posted 17 August 2017 - 12:10

 

Not in our feeds.
 
You could make something in a few lines of Python? See https://docs.python....l-examples.html for a few pointers. The python-email package is in the feed.

 

Tnank you.
I am try:

root@vusolo2:~# python
Python 2.7.3 (default, May 28 2017, 03:05:35)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import smtplib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/smtplib.py", line 46, in <module>
ImportError: No module named email.utils
>>>

Re: email in OpenPli #4 WanWizard

  • PLi® Core member
  • 68,508 posts

+1,734
Excellent

Posted 17 August 2017 - 12:38

You may have to install python-email first, it isn't installed by default.

opkg install python-email

If it is, you may have bumped into a python bug on OpenPLi 4.

 

Also, make sure you don't have a module called 'email' in the current search path, as Python may try to load that instead.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: email in OpenPli #5 crystal-13

  • Member
  • 9 posts

0
Neutral

Posted 17 August 2017 - 20:17

You may have to install python-email first, it isn't installed by default.

opkg install python-email
If it is, you may have bumped into a python bug on OpenPLi 4.
 
Also, make sure you don't have a module called 'email' in the current search path, as Python may try to load that instead.

 

openpli 4 vusolo2


vusolo2 login: root
root@vusolo2:~# opkg update && opkg upgrade
Package locale-base-nl-aw version 2.20-r0.0 has no valid architecture, ignoring.
Downloading http://downloads.pli-images.org/feeds/openpli-4/3rd-party/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-3rd-party.
Downloading http://downloads.pli-images.org/feeds/openpli-4/3rd-party-vusolo2/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-3rd-party-vusolo2.
Downloading http://downloads.pli-images.org/feeds/openpli-4/all/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-all.
Downloading http://downloads.pli-images.org/feeds/openpli-4/mips32el/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-mips32el.
Downloading http://downloads.pli-images.org/feeds/openpli-4/vusolo2/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-vusolo2.
Collected errors:
 * parse_from_stream_nomalloc: Missing new line character at end of file!
Package locale-base-nl-aw version 2.20-r0.0 has no valid architecture, ignoring.
Collected errors:
 * parse_from_stream_nomalloc: Missing new line character at end of file!
root@vusolo2:~# opkg install python-email
Package locale-base-nl-aw version 2.20-r0.0 has no valid architecture, ignoring.
Unknown package 'python-email'.
Collected errors:
 * parse_from_stream_nomalloc: Missing new line character at end of file!
 * opkg_install_cmd: Cannot install package python-email.
root@vusolo2:~#


Re: email in OpenPli #6 WanWizard

  • PLi® Core member
  • 68,508 posts

+1,734
Excellent

Posted 18 August 2017 - 12:25

Not sure what you are running on your box:

Connected to 172.16.1.42.
Escape character is '^]'.

openpli 4 osminiplus


osminiplus login: root
Password: 

root@osminiplus:~# opkg info python-email
Package: python-email
Version: 2.7.3-r5.4.0
Depends: python-image, python-mime, python-core, python-io, python-re, python-netclient, python-audio
Status: unknown ok not-installed
Section: devel/python
Architecture: mips32el
Maintainer: OE-Core Developers <openembedded-core@lists.openembedded.org>
MD5Sum: 64a4a4640978534dbd8a55fdf6e4d6e0
Size: 163856
Filename: python-email_2.7.3-r5.4.0_mips32el.ipk
Source: http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2 file://01-use-proper-tools-for-cross-build.patch file://03-fix-tkinter-detection.patch file://05-enable-ctypes-cross-build.patch file://06-ctypes-libffi-fix-configure.patch file://06-avoid_usr_lib_termcap_path_in_linking.patch file://sitecustomize.py file://multilib.patch file://cgi_py.patch file://remove_sqlite_rpath.patch file://setup_py_skip_cross_import_check.patch file://add-md5module-support.patch file://host_include_contamination.patch file://fix_for_using_different_libdir.patch file://setuptweaks.patch file://check-if-target-is-64b-not-host.patch file://search_db_h_in_inc_dirs_and_avoid_warning.patch file://avoid_warning_about_tkinter.patch file://avoid_warning_for_sunos_specific_module.patch file://python-2.7.3-berkeley-db-5.3.patch file://python-2.7.3-remove-bsdb-rpath.patch file://builddir.patch file://python-2.7.3-CVE-2012-2135.patch file://gcc-4.8-fix-configure-Wformat.patch file://fix-makefile-for-ptest.patch file://run-ptest file://CVE-2013-4073_py27.patch file://pypirc-secure.patch file://parallel-makeinst-create-bindir.patch file://python-2.7.3-CVE-2013-1752-smtplib-fix.patch file://python-fix-build-error-with-Readline-6.3.patch file://python-2.7.3-CVE-2014-1912.patch file://json-flaw-fix.patch file://posix_close.patch file://remove-BOM-insection-code.patch file://python-2.7.3-CVE-2014-7185.patch file://python2.7.3-nossl3.patch file://04-default-is-optimized.patch file://99-ignore-optimization-flag.patch file://some_configure_fixes.patch;striplevel=0 file://fix_pthread_site.patch;striplevel=0 file://no-ldconfig.patch file://ctypes-error-handling-fix.patch file://setuptweaks-2.patch file://pgettext.patch file://python-2.7.3-tlssni.patch
Description: Python email support  The Python Programming Language.

root@osminiplus:~# 

The error about locale-base-nl-aw is very weird too.

 

When was the last time this box was flashed?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: email in OpenPli #7 crystal-13

  • Member
  • 9 posts

0
Neutral

Posted 18 August 2017 - 17:26

---

The error about locale-base-nl-aw is very weird too.

 

When was the last time this box was flashed?

 

 

Today this error gone by magic way :)

After today update.... :rolleyes:

openpli 4 vusolo2


vusolo2 login: root
root@vusolo2:~# opkg update && opkg upgrade
Downloading http://downloads.pli-images.org/feeds/openpli-4/3rd-party/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-3rd-party.
Downloading http://downloads.pli-images.org/feeds/openpli-4/3rd-party-vusolo2/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-3rd-party-vusolo2.
Downloading http://downloads.pli-images.org/feeds/openpli-4/all/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-all.
Downloading http://downloads.pli-images.org/feeds/openpli-4/mips32el/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-mips32el.
Downloading http://downloads.pli-images.org/feeds/openpli-4/vusolo2/Packages.gz.
Updated list of available packages in /var/lib/opkg/openpli-vusolo2.
root@vusolo2:~# opkg install python-email
Installing python-email (2.7.3-r5.4.0) on root.
Downloading http://downloads.pli-images.org/feeds/openpli-4/mips32el/python-email_2.7.3-r5.4.0_mips32el.ipk.
Installing python-image (2.7.3-r5.4.0) on root.
Downloading http://downloads.pli-images.org/feeds/openpli-4/mips32el/python-image_2.7.3-r5.4.0_mips32el.ipk.
Installing python-audio (2.7.3-r5.4.0) on root.
Downloading http://downloads.pli-images.org/feeds/openpli-4/mips32el/python-audio_2.7.3-r5.4.0_mips32el.ipk.
Configuring python-image.
Configuring python-audio.
Configuring python-email.
root@vusolo2:~#



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users