ModuleNotFoundError: No module named 'tests.test_helpers' on running tests/run.py

Da Viper yerimyah1 at gmail.com
Wed Jul 14 14:13:14 BST 2021


Hello there module import problem has been fixed.

You could check it.

Regards.

On Wed, 14 Jul 2021, 13:31 Da Viper, <yerimyah1 at gmail.com> wrote:

> My bad I jest realized with was only running with preset environment
> variables
>
> Would fix it now
>
> On Wed, 14 Jul 2021, 12:16 Da Viper, <yerimyah1 at gmail.com> wrote:
>
>> Hello could you check if the repo is up to date from git ?
>>
>>   I ran it in cloned from gitlab it ran ok
>>
>> Thanks
>>
>> On Wed, 14 Jul 2021, 07:04 Ralf Habacker via Kde-finance-apps, <
>> kde-finance-apps at kde.org> wrote:
>>
>>> Hi Ebuka,
>>> I checkout latest code from you gdb_printer repo, did run and got an
>>> error as shown below:
>>>
>>> $:~/src/gdb_printers> tests/run.py
>>> [RUN][INFO]: Building CMakeLists file
>>> -- Configuring done
>>> -- Generating done
>>> -- Build files have been written to:
>>> /home/xxx/src/gdb_printers/tests/cpp_src_test/cmake_build
>>> [ 25%] Automatic MOC and UIC for target test_bin
>>> [ 25%] Built target test_bin_autogen
>>> [100%] Built target test_bin
>>> [RUN][INFO]: Adding Printers Directory to the PYTHONPATH environment
>>> variable
>>> [RUN][INFO]: Starting GDB ...
>>> Traceback (most recent call last):
>>>   File "/home/xxx/src/gdb_printers/tests/test_qtprinters.py", line 9, in
>>> <module>
>>>     from tests.test_helpers import start_at_function,
>>> stop_after_init_function, stop_after_end_function
>>> ModuleNotFoundError: No module named 'tests.test_helpers'
>>>
>>> Can you take a look and fix that issue ?
>>>
>>>
>>> > [RUN][INFO]: Starting GDB ...
>>>
>>> I suggest to add the output of the dbg_args variable to that line - it
>>> makes debugging easier.
>>>
>>> [RUN][INFO]: Starting GDB ... ['gdb', '--nx', '-q', '--batch', '-x',
>>> '/home/xxx/src/gdb_printers/tests/test_qtprinters.py',
>>> '/home/xxx/src/gdb_printers/tests/cpp_src_test/cmake_build/test_bin']
>>>
>>> Regards
>>> Ralf
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-finance-apps/attachments/20210714/ad2d47ce/attachment.htm>


More information about the Kde-finance-apps mailing list