Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

getting IOError: [Errno 36] File name too long on ubuntu #168

Open
anees042 opened this issue Dec 8, 2015 · 0 comments
Open

getting IOError: [Errno 36] File name too long on ubuntu #168

anees042 opened this issue Dec 8, 2015 · 0 comments

Comments

@anees042
Copy link

anees042 commented Dec 8, 2015

I am running pyleus build through shell script called by nodejs and getting the following error; if i run the script from terminal myself, it works fine. the max filename limit is 255 (getconf FILENAME_MAX) and the filename it's complaining about is still 217 characters. can anyone please help?

Thanks in advance.

Command failed: Traceback (most recent call last):\n File "/usr/local/bin/pyleus", line 6, in \n main()\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/cli.py", line 54, in main\n args.func(args)\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/commands/subcommand.py", line 105, in run_subcommand\n self.run(configs)\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/commands/build_subcommand.py", line 40, in run\n build_topology_jar(configs)\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/build.py", line 298, in build_topology_jar\n verbose=configs.verbose,\n File "/usr/local/lib/python2.7/dist-packages/pyleus/cli/build.py", line 205, in _create_pyleus_jar\n zip_file.extractall(tmp_dir)\n File "/usr/lib/python2.7/zipfile.py", line 1040, in extractall\n self.extract(zipinfo, path, pwd)\n File "/usr/lib/python2.7/zipfile.py", line 1028, in extract\n return self._extract_member(member, path, pwd)\n File "/usr/lib/python2.7/zipfile.py", line 1083, in _extract_member\n file(targetpath, "wb") as target:\nIOError: [Errno 36] File name too long: '/home/abcdefgh/afe/tmp2A4hV6/kafka/consumer/ZookeeperConsumerConnector$ZKRebalancerListener$$anonfun$kafka$consumer$ZookeeperConsumerConnector$ZKRebalancerListener$$rebalance$3$$anonfun$apply$10$$anonfun$apply$11.class'\n

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants