Package Details: python2-gammu 2.12-3

Git Clone URL: https://aur.archlinux.org/python2-gammu.git (read-only, click to copy)
Package Base: python2-gammu
Description: Python2 bindings for Gammu library
Upstream URL: https://wammu.eu/python-gammu/
Licenses: GPL
Submitter: dreieck
Maintainer: dreieck
Last Packager: dreieck
Votes: 1
Popularity: 0.000000
First Submitted: 2021-01-23 17:03 (UTC)
Last Updated: 2024-05-27 22:59 (UTC)

Latest Comments

dreieck commented on 2022-05-03 13:47 (UTC) (edited on 2022-05-03 17:37 (UTC) by dreieck)

@Nexus1138: Thanks for reporting a problem with this package.
It looks like your problem occurs in check().

For my, the tests run fine and it builts fine. But I don't use a clean build environment, so maybe there is a dependency missing?

According to here those might also be a python-problem, but then it is interesting why you have the problem and I not.

If you find a way to solve it for you I am happy to incorporate it.


Btw., @Nexus1138: To make your message better readable you can format it with Markdown syntax: Enclose your code within two lines that contain triple backticks each for pretty-formatting of code, like that:

```
    ----error returned-----
test_sendsms (test.test_dummy.BasicDummyTest) ... ok
test_sendsms_long (test.test_dummy.BasicDummyTest) ... ok
test_sms (test.test_dummy.BasicDummyTest) ... ok
test_sms_folders (test.test_dummy.BasicDummyTest) ... ok
test_todo (test.test_dummy.BasicDummyTest) ... ok
test_ussd (test.test_dummy.BasicDummyTest) ... python-gammu: WARNING:
Adding USSD to queue, position 0
ok

======================================================================
ERROR: test_emoji_folder (test.test_dummy.BasicDummyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sab/.cache/yay/python2-gammu/src/python-
gammu-2.12/test/test_dummy.py", line 377, in test_emoji_folder
    os.path.exists(os.path.join(self.dummy_dir, 'fs', name))
  File "/usr/lib/python2.7/genericpath.py", line 26, in exists
    os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f618'
in position 35: ordinal not in range(128)

----------------------------------------------------------------------
Ran 50 tests in 32.029s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=50 errors=1
failures=0>  
error: Test failed: <unittest.runner.TextTestResult run=50 errors=1
failures=0>
==> ERROR: A failure occurred in check().  
    Aborting...
 -> error making: python2-gammu  
----error returned-----
```

Nexus1138 commented on 2022-04-22 08:12 (UTC)

Not able to finish build :

----error returned----- test_sendsms (test.test_dummy.BasicDummyTest) ... ok test_sendsms_long (test.test_dummy.BasicDummyTest) ... ok test_sms (test.test_dummy.BasicDummyTest) ... ok test_sms_folders (test.test_dummy.BasicDummyTest) ... ok test_todo (test.test_dummy.BasicDummyTest) ... ok test_ussd (test.test_dummy.BasicDummyTest) ... python-gammu: WARNING: Adding USSD to queue, position 0 ok

====================================================================== ERROR: test_emoji_folder (test.test_dummy.BasicDummyTest)


Traceback (most recent call last): File "/home/sab/.cache/yay/python2-gammu/src/python-gammu-2.12/test/test_dummy.py", line 377, in test_emoji_folder os.path.exists(os.path.join(self.dummy_dir, 'fs', name)) File "/usr/lib/python2.7/genericpath.py", line 26, in exists os.stat(path) UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f618' in position 35: ordinal not in range(128)


Ran 50 tests in 32.029s

FAILED (errors=1) Test failed: <unittest.runner.TextTestResult run=50 errors=1 failures=0> error: Test failed: <unittest.runner.TextTestResult run=50 errors=1 failures=0> ==> ERROR: A failure occurred in check(). Aborting... -> error making: python2-gammu ----error returned-----

Any idea?