# I wrecked something

**URL:** <https://discourse.beets.io/t/i-wrecked-something/1466>\
**Category:** Help\
**Created:** [August 15, 2020, 6:15am UTC](https://discourse.beets.io/t/i-wrecked-something/1466 "2020-08-15T06:15:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maldoror](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@maldoror](https://discourse.beets.io/u/maldoror)\
**Post date:** [August 15, 2020, 6:15am UTC](https://discourse.beets.io/t/i-wrecked-something/1466/1 "2020-08-15T06:15:33Z")

</div>

It was working fine after installing on a new machine. Then I realised copyartifacts was not working and in the process of finding the new version of copyartifacts and installing it I did something that stopped it working. Here is the error I hope it is something simple, I have spent too much time trying to figure it out:

beet import -t /mnt/cryptoaudio/Organising/XXbeet/

Traceback (most recent call last):  
File “/usr/local/bin/beet”, line 8, in   
sys.exit(main())  
File “/usr/local/lib/python3.8/dist-packages/beets/ui/ **init**.py”, line 1266, in main  
\_raw\_main(args)  
File “/usr/local/lib/python3.8/dist-packages/beets/ui/ **init**.py”, line 1249, in \_raw\_main  
subcommands, plugins, lib = \_setup(options, lib)  
File “/usr/local/lib/python3.8/dist-packages/beets/ui/ **init**.py”, line 1135, in \_setup  
plugins = \_load\_plugins(config)  
File “/usr/local/lib/python3.8/dist-packages/beets/ui/ **init**.py”, line 1114, in \_load\_plugins  
beetsplug. **path** = paths + beetsplug. **path**  
TypeError: can only concatenate list (not “\_NamespacePath”) to list

this is my config file:

# configs for Beets

directory: /mnt/cryptoaudio/BeetifiedMusic/NewBeeten

#library: /mnt/cryptoaudio/BeetsDB/NewBeeten.db

plugins: discogs embedart fetchart copyartifacts

musicbrainz:  
source\_weight: 1.0  
searchlimit: 1

discogs:  
source\_weight: 0.8  
searchlimit: 6

fetchart:  
minwidth: 400  
maxwidth: 1200  
enforce\_ratio: 10px  
sources: filesystem itunes amazon albumart coverart

embedart:  
auto: no

original\_date: yes

import:  
write: yes  
move: yes

copyartifacts:  
extensions: .txt .nfo .jpg .pdf .png

paths:  
default: %upper{%left{$albumartist,1}}/$albumartist/$year $album%aunique{}/$track $title  
default: $albumartist/$year $album%aunique{}/$track $title

```
singleton: Non-Album Tracks/$artist/$title

comp: Compilations/VA_$album%aunique{}/$track $title
```

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [August 15, 2020, 12:02pm UTC](https://discourse.beets.io/t/i-wrecked-something/1466/2 "2020-08-15T12:02:35Z")

</div>

Hmm, someone else recently ran into the same problem:

> <https://github.com/beetbox/beets/issues/3717>
>
> Problem
> Due to #3674, I've installed the latest source version with command pip install https://github.com/beetbox/beets/tarball/master under the FAQ guidance.
> but it seems that...

I never completely understood what was wrong, but maybe their resolution there will help? If not, please continue the thread there.

---

<div class="post-metadata">

**Author:** ![maldoror](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@maldoror](https://discourse.beets.io/u/maldoror)\
**Post date:** [August 15, 2020, 10:30pm UTC](https://discourse.beets.io/t/i-wrecked-something/1466/3 "2020-08-15T22:30:37Z")

</div>

> [TypeError raised when loading plugin paths · Issue #3717 · beetbox/beets · GitHub](https://github.com/beetbox/beets/issues/3717#issuecomment-668583996)

I found that second beetsplug folder and renamed it. I now get a different error about not being able to load copyartifacts3 but the program continues to run. In that second beetsplug folder were only copyartifacts3 and discogs client, but a different discogs is also in the original beetsplug directory and the discogs plugin is working.

> Error processing line 1 of /home/username/.local/lib/python3.8/site-packages/beets\_copyartifacts3-0.1.3-nspkg.pth:
> 
> Traceback (most recent call last):  
> File “/usr/lib/python3.8/site.py”, line 175, in addpackage  
> exec(line)  
> File “”, line 1, in   
> File “”, line 553, in module\_from\_spec  
> AttributeError: ‘NoneType’ object has no attribute ‘loader’
> 
> Remainder of file ignored  
> \*\* error loading plugin copyartifacts:  
> Traceback (most recent call last):  
> File “/usr/local/lib/python3.8/dist-packages/beets/plugins.py”, line 273, in load\_plugins  
> namespace = **import** (modname, None, None)  
> ModuleNotFoundError: No module named ‘beetsplug.copyartifacts’
