aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/pathspec_magic_not_supported_by_this_command__58_____39__literal__39__.mdwn
blob: d0de521a0e33c0a658a86fd21d39bd475c4bec59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
### Please describe the problem.

I have some paths containing swedish characters (åäö ÅÄÖ).
Some paths also contains the character "@".
I use git annex assistant in autostart mode on my Documents folder.

I get the following errors in the log file:

[[!format sh """
fd:37: commitBuffer: invalid argument (invalid character)
fatal: Work/@Projects/archive/20140515_METOCC_Gr: pathspec magic not supported by this command: 'literal'
fatal: Work/@Projects/archive/20140515_METOCC_Gr������nsytem������te/MMD_Config/SITE/LegacyNT/mmd/config/Dataintag/Fil-intag/OLDIB/SurfaceWaterTemperature.ini: pathspec magic not supported by this command: 'literal'
fatal: Work/@Projects/archive/20140515_METOCC_Gr: pathspec magic not supported by this command: 'literal'
fatal: Work/@Projects/archive/20140515_METOCC_Gr: pathspec magic not supported by this command: 'literal'
fatal: Work/@Projects/archive/20140515_METOCC_Gr: pathspec magic not supported by this command: 'literal'
fatal: Work/@Projects/archive/20140515_METOCC_Gr: pathspec magic not supported by this command: 'literal'
fatal: Work/@Projects/archive/20140515_METOCC_Gr: pathspec magic not supported by this command: 'literal'
fatal: Work/@Projects/archive/20140515_METOCC_Gr: pathspec magic not supported by this command: 'literal'
fatal: Work/@Projects/archive/20140515_METOCC_Gr: pathspec magic not supported by this command: 'literal''
"""]]

I also notice a lot of zombie git processes in the ps list.

### What steps will reproduce the problem?

Upgrade to Version: 5.20150406-gb2814bc
Build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA 

Pre compiled tar.gz 

### What version of git-annex are you using? On what operating system?

Version: 5.20150406-gb2814bc

Arch linux

[daniel@wintermute Documents]$ uname -a
Linux wintermute 3.19.2-1-ARCH #1 SMP PREEMPT Wed Mar 18 16:21:02 CET 2015 x86_64 GNU/Linux


### Please provide any additional information below.

If I downgrade to a previous version ie. git-annex.linux.5.20150317 the described problem is gone.

I tried to remove the character "@" from my paths, but it didn't help.

Looking at the log file below, it doesn't seem to have anything to do with my swedish characters. 


[[!format sh """
[2015-04-07 22:24:14 CEST] main: starting assistant version 5.20150406-gb2814bc
[2015-04-07 22:24:14 CEST] TransferScanner: Syncing with xxxxxxx.xxxxxxx.xxx_wintermute_Documents 
p11-kit: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
(scanning...) [2015-04-07 22:24:15 CEST] Watcher: Performing startup scan
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/firewall-udp-1194-dasu-Viscosity.visc.zip: pathspec magic not supported by this command: 'literal'

git cat-file EOF: user error
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'
fatal: Work/archive/Tidrapportering/Tid.md: pathspec magic not supported by this command: 'literal'

"""]]

> I've fixed the pathspec magic problem. [[done]]
> 
> Seems like you could possibly have a separate problem WRT the "commitBuffer:
> invalid argument". When using the older version of git-annex, did you 
> get that in the log at all?
>
> OTOH, the
> "@Projects/archive/20140515_METOCC_Gr������nsytem������te" 
> weirdness in the log could be where the problem chars are coming from
> too, in which case it was somehow caused by the pathspec magic problem.
> 
> I was able to reproduce the pathspec magic problem, but not the encoding
> looking problem, even when using swedish chars in filenames.
> 
> --[[Joey]]

>> I tried an older version of git-annex on the same repository, and could not find any "commitBuffer:
>> invalid argument" in the log.
>>
>> I would like to take the chance to thank you for the incredible work you are doing with this software/tool! It's an amazing effort!
>>
>> -Daniel