if sys.platform == 'win32':
    try:
        import colorama
    except ImportError:
        pass
    else:
        colorama.init()
Now what should I do Adrian?

Τη Σάββατο, 25 Μαρτίου 2017 - 7:07:32 π.μ. UTC+2, ο χρήστης Adrian Sampson 
έγραψε:
>
> That’s strange. Maybe it would be worth looking into whether the 
> `colorama` module, which is supposed to enable color on Windows, is 
> working? You can see where it’s loaded and initialized at the top of 
> `ui/__init__.py`.
>
> On Mar 24, 2017, at 6:47 AM, Spiros C <[email protected] <javascript:>> 
> wrote:
>
>
> <https://lh3.googleusercontent.com/-CUjzJCeHRjE/WNT4yg2EXtI/AAAAAAAAACo/pHmDi-L_2l0P2dPgbIj5j9N6ngWxdVjkgCLcB/s1600/%25CE%25A3%25CF%2584%25CE%25B9%25CE%25B3%25CE%25BC%25CE%25B9%25CF%258C%25CF%2584%25CF%2585%25CF%2580%25CE%25BF%2B%25CE%25BF%25CE%25B8%25CF%258C%25CE%25BD%25CE%25B7%25CF%2582%2B%2528134%2529.png>
> I added the following code in the commnad.py file, in _get_choices 
> method(line 809):
> import sys 
> print(sys.platform)
> As you can see in the printscreen It returns win32 before doing the normal 
> beets autotag, but the ansi coloring problem remains
>
> Τη Παρασκευή, 24 Μαρτίου 2017 - 12:21:23 μ.μ. UTC+2, ο χρήστης Spiros C 
> έγραψε:
>>
>> Adrian,
>> My partner in the course assignment has the exact same issue with tha 
>> ansi colouring in her machine
>>
>> Τη Παρασκευή, 24 Μαρτίου 2017 - 5:33:59 π.μ. UTC+2, ο χρήστης Adrian 
>> Sampson έγραψε:
>>>
>>> That’s odd. Unless something strange is going on—for example, two 
>>> simultaneous Python installations—both methods should run on the same 
>>> interpreter with the same environment. I don’t see any obvious reason why 
>>> one installation of beets would work and one wouldn’t…
>>>
>>> On Mar 23, 2017, at 5:11 PM, Spiros C <[email protected]> wrote:
>>>
>>> Adrian,
>>> In the python command prompt the sys.platform gives me back "win32", so 
>>> I think that if I run beets from there I might be okay..Is there any way to 
>>> do that?
>>> Thanks!!
>>> Τη Πέμπτη, 23 Μαρτίου 2017 - 11:03:10 μ.μ. UTC+2, ο χρήστης Spiros C 
>>> έγραψε:
>>>>
>>>> Fabrice what exactly do you mean?
>>>>
>>>> Τη Τετάρτη, 22 Μαρτίου 2017 - 3:54:13 μ.μ. UTC+2, ο χρήστης Fabrice 
>>>> Laporte έγραψε:
>>>>>
>>>>> So you have two copies of beets : one installed on your system, and 
>>>>> the one in the cloned repo.
>>>>> To test your edits you want to run beets from your repo, like ./beet (the 
>>>>> "./" is important here)
>>>>>
>>>>> Le mercredi 22 mars 2017 13:48:33 UTC+1, Spiros C a écrit :
>>>>>>
>>>>>> I have another question Adrian,
>>>>>> I installed beets with the pip install beets command and then i 
>>>>>> forked and cloned the repo in my copmuter..I noticed that changing the 
>>>>>> code 
>>>>>> in the cloned folder doesnt affect the program.. Where are the code 
>>>>>> files 
>>>>>> that I have to interfere with, in order to change beets (which is 
>>>>>> installed 
>>>>>> in my computer)??
>>>>>> Thanks,
>>>>>> Spiros
>>>>>>
>>>>>> Τη Τετάρτη, 22 Μαρτίου 2017 - 2:00:58 μ.μ. UTC+2, ο χρήστης Spiros C 
>>>>>> έγραψε:
>>>>>>>
>>>>>>> Thanks a lot Adrian!!
>>>>>>>
>>>>>>> Τη Τετάρτη, 22 Μαρτίου 2017 - 1:57:40 μ.μ. UTC+2, ο χρήστης Adrian 
>>>>>>> Sampson έγραψε:
>>>>>>>>
>>>>>>>> That part of the code just sets up the pipeline; it doesn't 
>>>>>>>> actually do any work. You may want to try modifying the code where the 
>>>>>>>> interactive prompts occur, in commands.py.
>>>>>>>>
>>>>>>>> Adrian
>>>>>>>>
>>>>>>>> On Mar 22, 2017, at 6:45 AM, Spiros C <[email protected]> wrote:
>>>>>>>>
>>>>>>>> Greetings,
>>>>>>>> I am trying to fix my first issue on beets.. I chose this one: 
>>>>>>>> https://github.com/beetbox/beets/issues/2366
>>>>>>>> I found out tha the bell sound can be generated by using this 
>>>>>>>> command: print('\a')
>>>>>>>> I added this command in importer.py in line 308 like this:
>>>>>>>>     if self.config['autotag']:
>>>>>>>>                 stages += [lookup_candidates(self), 
>>>>>>>> user_query(self)]
>>>>>>>>                 print('\a')
>>>>>>>>             else:
>>>>>>>>                 stages += [import_asis(self)]
>>>>>>>>                 print('\a')
>>>>>>>>
>>>>>>>> However when I use the autotagger and I am asked to interact I hear 
>>>>>>>> nothing. What have I done wrong??
>>>>>>>> Thanks a lot,
>>>>>>>> Spiros 
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "beets" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>> send an email to [email protected].
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "beets" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "beets" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to